• 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: Spotlight comments-- odd behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight comments-- odd behavior


  • Subject: Re: Spotlight comments-- odd behavior
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 31 Jul 2011 07:24:23 +1000
  • Thread-topic: Spotlight comments-- odd behavior

On 31/7/11 2:42 AM, "Evan Schoffstall" <email@hidden> wrote:

>  This is some odd applescriptObjC behavior.
>
>  Say I have the following code
>
> set myFilePath to "Macintosh HD:Users:mySelf:Desktop:file.txt" as text
>
> tell application "Finder" to set comment of myFilePath to "testing"

That's normal AppleScript behavior -- the Finder doesn't act no strings.
Try:

tell application "Finder" to set comment of file myFilePath to "testing"

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Spotlight comments-- odd behavior (From: Evan Schoffstall <email@hidden>)

  • Prev by Date: Spotlight comments-- odd behavior
  • Previous by thread: Spotlight comments-- odd behavior
  • Index(es):
    • Date
    • Thread