Re: Finder's information window in OS X Applescript: nothing works
Re: Finder's information window in OS X Applescript: nothing works
- Subject: Re: Finder's information window in OS X Applescript: nothing works
- From: Andrew Oliver <email@hidden>
- Date: Fri, 01 Aug 2003 11:13:40 -0700
Are you complaining about the fact that the info window opens when you run
your script?
If so, you do not need to reference 'information window' at all.
Comments are associated with files. The information window is just the
Finder's graphical interface for showing you what the comment is.
Instead, try just get/setting the comment directly:
tell application "Finder"
set fichier to file "Macintosh HD:myfile"
set commentaire to comment of fichier
end tell
--> "blah blah blah"
If you want to set the comment to some value:
tell application "Finder"
set fichier to file "Macintosh HD:myfile"
set comment of fichier to "doobie doobie doo"
end tell
Andrew
:)
On 8/1/03 10:33 AM, "Reinforced Darkness" <email@hidden> wrote:
>
Hi,
>
want to store some data in the comment field of the information window
>
and retrieve it by a script
>
try this
>
//
>
tell application "Finder"
>
set fichier to file "Macintosh HD:myfile"
>
set commentaire to (Comments panel) of information window of fichier
>
>
end tell
>
//
>
---> information window of ....
>
>
stupid scriptable Finder in OS X (If we can call it "scriptable")!
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.