Subject: | |
From: | |
Reply To: | |
Date: | Fri, 27 Nov 2009 17:45:26 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 10:33 -0500 27/11/09, 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
Without you give us valid script it's impossible to say. This, and
similar things, work fine in 10.4.11 :
tell application "System Events"
set _f to alias "Mac Mini:Applications:TextEdit.app:"
set _properties to _f's properties
{package folder, visible, busy status, stationery} Â
of _properties
--=> {true, true, false, false}
end tell
JD
|
|
|