• 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: Open files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open files


  • Subject: Re: Open files
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 19 Mar 2002 08:41:54 +1100

On 19/3/02 1:32 AM +1000, Nigel Garvey, email@hidden,
wrote:

> On the other hand, for a one-off read, it might not be worth using 'open
> for access' at all. Simply using the 'read' command with the file path
> will open the file, perform the read as specified, and close the file
> again afterwards - unless, of course, the file's already open, in which
> case the read will hijack the existing reference, with all that that
> implies for your script and whatever opened the file.

Or, with some versions of AS at least, if the file has been opened (and
closed) by the same script earlier on. Using open for access is safer, IMO.

--
Shane Stanley, email@hidden
_______________________________________________
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.

References: 
 >Re: Open files (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Basic Finder operations (was Re: Beginners question)
  • Next by Date: Re: Acrobat 5 EPS Conversion options
  • Previous by thread: Re: Open files
  • Next by thread: Re: Open files
  • Index(es):
    • Date
    • Thread