Re: Works in 9.2.2 and client10.2.2 but not server 10.2.3
Re: Works in 9.2.2 and client10.2.2 but not server 10.2.3
- Subject: Re: Works in 9.2.2 and client10.2.2 but not server 10.2.3
- From: "Tim Kendall" <email@hidden>
- Date: Fri, 03 Jan 2003 13:41:49 -0600
I got the script to work when I use the startup disk(the 1st partition of
the internal drive) or another separate disk like an external Firewire
drive. The internal 80 gig drive has three partition on it, and the script
would fail when ever I would try to reference the second and third
partitions using the disk command like this:
property localDrive : "FLUFFY2"--> This being the name of the third
Partition
set aFolderToWatch to folder FTP_Up_Folder of folder fileTransFldr of disk
localDrive
This would return this;
get disk "FLUFFY2"
--> startup disk
--- This works
property localDrive : "FLUFFY=" --> This being the name of the startup
Partition
set aFolderToWatch to folder FTP_Up_Folder of folder fileTransFldr of disk
localDrive
If I set it to this;
set aFolderToWatch to folder FTP_Up_Folder of folder fileTransFldr of folder
localDrive
I would get the correct disk but the rest of my script would start breaking.
So as long as I do not try to reference a partition as a disk I will be OK.
Thanks
Tim
On 1/3/03 10:27 AM, "Axel Luttgens" <email@hidden> wrote:
>
Tim Kendall wrote:
>
>
> 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 ?
>
>
>
> [snip: script + log]
>
>
>
>
>
>
>
I am not sure to have fully understood your question.
>
So, before going further, do you mean that if you run something like
>
this on your server:
>
>
property localDrive : "FLUFFY2"
>
tell application "Finder"
>
disk localDrive
>
folder localDrive
>
end tell
>
>
your log looks like:
>
>
tell application "Finder"
>
get disk "FLUFFY2"
>
--> startup disk
>
get folder "FLUFFY2"
>
--> disk "FLUFFY2"
>
end tell
>
>
?
>
>
And, in the meantime, coud you run a script in the line of:
>
>
tell application "Finder" to
>
get every folder whose name is "FLUFFY2"
>
>
?
>
>
Axel
>
_______________________________________________
>
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.
-- Tim --
_______________________________________________
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.