Re: New to AppleScript,please help.
Re: New to AppleScript,please help.
- Subject: Re: New to AppleScript,please help.
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 07 Jan 2011 21:27:13 -0500
On Jan 7, 2011, at 21:07 , Shane Stanley wrote:
> On 6/1/11 12:47 PM, "André Renault" <email@hidden> wrote:
>
>>> open for access requires an HFS path or file/alias, not a POSIX path.
>>
>> But it worked. I tested it and it worked. What else can I say…
>
> Indeed it does. I'm sure it never used to -- the AS team used to be
> sticklers for the mantra that strings are not files. I wonder when it
> changed.
>
> Anyone still running 10.5 care to try?
>
> read "/Path/To/Text/File.txt" -- POSIX path
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
It does not work in 10.5!
But do you want to scratch your head ?
Try this and check events in 10.6.6
set l to "/Users/deivy/Desktop/teaching.rtf"
log class of l
read l
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden