Re: More problems with Script Menu
Re: More problems with Script Menu
- Subject: Re: More problems with Script Menu
- From: John Delacour <email@hidden>
- Date: Sun, 8 Sep 2002 10:16:14 +0100
Any ideas why this script should run perfectly from SE or from Script
Runner or from a Eudora button and fail in Script Menu?
tell app "Finder" to close (windows whose id is not (get id of window 1))
I really think I might as well give up using Script Menu till Apple
comes up with something serious with at least the features of certain
application Script Menus that have been arount for years -- and
that's without talking about Frontier.
Script Runner is handier and more reliable, but for it to need to
quit before updating the menu and even mods to existing scripts is
crazy.
Incidentally this script _will_ work from the menu:
#!/bin/sh
osascript -e '
tell app "Finder"
close (windows whose id is not (get id of its window 1))
end tell'
and so will this
#!/usr/bin/perl
`osascript -e '
tell app "Finder"
close (windows whose id is not (get id of its window 1))
end tell'`
JD
_______________________________________________
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.