Re: URL Access Scripting?
Re: URL Access Scripting?
- Subject: Re: URL Access Scripting?
- From: has <email@hidden>
- Date: Fri, 1 Mar 2002 17:24:36 +0000
Doug McNutt wrote:
>
I find that one often has to emphasize the fact that this_file is in fact
>
the name of a file. I have no idea why.
The reason is that:
"Macintosh HD:folderOne:folderTwo:someFile"
is a string, whereas:
file "Macintosh HD:folderOne:folderTwo:someFile"
is a file specification. That leading keyword makes all the difference. The
URL Access Scripting dictionary indicates the latter is required.
Some 3rd-party osaxen (Akua?) may install a
string-to-file/folder-specification coercion, which take care of things if
you supply a string instead. Though it's probably better practice to use
the 'file'/'folder' keyword than to depend on the 3rd-party coercion (they
aren't referred to as "silent but deadly" for nothing y'know...;).
HTH
has
_______________________________________________
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.