temporary items folder
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/