• 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
temporary items folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

temporary items folder


  • Subject: temporary items folder
  • From: Giuliano Gavazzi <email@hidden>
  • Date: Tue, 4 Dec 2001 13:25:44 +0000

I cannot access files files in the temporary items folder. Is this a bug in AppleScript, a feature, or a problem with my code?

set theList to get entire contents of folder "foodir" of temporary items folder

this will work and return the list of files in the folder foodir inside the temporary items folder.
But as soon as I try to open one of the files in the list, as in

open item 1 of theList

or select a file from the list given its id, it fails with:

Finder got an error: Can't get item 1 of {....

Any ideas?

(background, this script is read by a C++ application from a text file, the file ID calculated at runtime and merged in the script, and then compiled and executed from within the application. But these errors are reported in Script Editor too)

Thanks

Giuliano
--
H U M P H
|| |||
software

Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/


References: 
 >Re: Check images in QX (From: Shane Stanley <email@hidden>)
 >Re: Check images in QX (From: Alberto Salvagnini <email@hidden>)

  • Prev by Date: Re: Tell default browser to open a URL
  • Next by Date: FW: Finding PhotoShop RGB files?
  • Previous by thread: Re: Check images in QX
  • Next by thread: Temporary items folder in OS 9.1
  • Index(es):
    • Date
    • Thread