• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder's information window in OS X Applescript: nothing works
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Finder's information window in OS X Applescript: nothing works (From: Reinforced Darkness <email@hidden>)

  • Prev by Date: Re: Smile bugs
  • Next by Date: Re: Mail question, another way
  • Previous by thread: Finder's information window in OS X Applescript: nothing works
  • Next by thread: Re: Finder's information window in OS X Applescript: nothing works
  • Index(es):
    • Date
    • Thread