ScriptMenu oddity
ScriptMenu oddity
- Subject: ScriptMenu oddity
- From: alain content <email@hidden>
- Date: Mon, 02 Sep 2002 23:03:46 +0200
Hi,
I have this simple script that opens a folder on a removable disk (LaCie
Pocket Drive):
<<
if (list disks) does not contain "ac" then
tell me to display dialog "Volume \"ac\" is not mounted, man!"
else
set thePath to alias "ac:ut:"
tell application "Finder" to open thePath
end if
>
>
Now, under certain (as yet unidentified) conditions, when run from the
script menu, I get the "not mounted" message, despite the facts that
- the disk is mounted,
- can be seen on the desktop
- has a window open and front
- list disk reports {"U", "ac"} when run from smile worksheet
- the script does run perfectiy fine when run from Smile or Script Editor
What am I doing wrong? Help, please I thought I was *beginning* to grasp
Applescript...
Alain
_______________________________________________
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.