Works in 9.2.2 and client10.2.2 but not server 10.2.3
Works in 9.2.2 and client10.2.2 but not server 10.2.3
- Subject: Works in 9.2.2 and client10.2.2 but not server 10.2.3
- From: "Tim Kendall" <email@hidden>
- Date: Mon, 30 Dec 2002 15:26:57 -0600
I have a script that works great in on my TiBook (9.2.2) and my Quicksilver
(10.2.x) at home. But it breaks completely on our OS10.2.3 server.
Any suggestions ?
--
Tim Kendall
Mac Help Desk at Spiegel
630-769-2649
email@hidden
-- These are the disk and folder properties
property localDrive : "FLUFFY2"
property fileTransFldr : "File_Transfers_Local"
property watchedFldr : "2_To_RRD_to_stuff"
-- These properties are for error capture
property itemName : ""
property newfiles : ""
property next_item : ""
on idle
tell application "Finder"
set aFolderToWatch to folder watchedFldr of folder fileTransFldr of
disk localDrive
set newfiles to {}
repeat with x in (get every item of aFolderToWatch) as list
set newfiles to newfiles & {x as alias} as list
end repeat
--get newfiles
end tell
tell me to filterImages(newfiles)
return 30 --idleInterval -- in seconds
end idle
This is the Log:
tell application "Finder"
get folder "2_To_RRD_to_stuff" of folder "File_Transfers_Local" of disk
"FLUFFY2"
--> folder "2_To_RRD_to_stuff" of folder "File_Transfers_Local" of
startup disk
get every item of folder "2_To_RRD_to_stuff" of folder
"File_Transfers_Local" of startup disk
--> {}
end tell
I should get a result like
--> {
file "Stuff_and_Move_to_FTP_folder" of folder
"2_To_RRD_to_stuff" of folder "File_Transfers_Local" of startup disk
}
When I change this line
set aFolderToWatch to folder watchedFldr of folder fileTransFldr of folder
localDrive
I get this result:
tell application "Finder"
get folder "2_To_RRD_to_stuff" of folder "File_Transfers_Local" of
folder "FLUFFY2"
--> folder "2_To_RRD_to_stuff" of folder "File_Transfers_Local" of
disk "FLUFFY2"
get every item of folder "2_To_RRD_to_stuff" of folder
"File_Transfers_Local" of disk "FLUFFY2"
--> {}
end tell
The disk "FLUFFY2" is actually a partition on the startup disk.
_______________________________________________
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.