Re: Spotlight comments-- odd behavior
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