• 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: URL Access Scripting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Hiding OE's window
  • Next by Date: Re: How to get the title as text of a html file
  • Previous by thread: Re: applescript and spam with outlook express
  • Next by thread: General Suggestion..
  • Index(es):
    • Date
    • Thread