Subject: | |
From: | |
Reply To: | |
Date: | Fri, 27 Nov 2009 10:07:20 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
You need to put those commands inside the tell block.
package folder is from the System Events dictionary and as a two-word record label and it will only work within the application tell
HTH,
ES
tell application "System Events"
set myProps to properties of foo
visible of myProps
package folder of myProps
end tell
On Nov 27, 2009, at 7:33am, Emmett Gray wrote:
> Is this a bug? Trying this in 10.6.2
>
> tell application System Events to set myProps to properties of alias foo
> visible of myProps > true/false
> package folder of myProps > "Can't get" error
> Other properties seem randomly accessible or not: busy status, stationery don't work either; all text properties seem OK.
>
> However:
> tell application System Events to set isPkg to package folder of alias foo
> isPkg > true/false
> and so too for busy status, stationery, etc. when retrieved one-at-a-time
>
> TIA
|
|
|