Re: ScriptMenu widget (removing defualt folders & a script to edit personal scirptmenu scripts)
Re: ScriptMenu widget (removing defualt folders & a script to edit personal scirptmenu scripts)
- Subject: Re: ScriptMenu widget (removing defualt folders & a script to edit personal scirptmenu scripts)
- From: Dan Belfiori <email@hidden>
- Date: Thu, 14 Feb 2002 07:30:44 -0800
on 2/14/02 6:39 AM, Fraser:
>
Has anybody else noticed that the ScriptMenu widget in Mac OS X 10.1.2 looks
>
monochrome until it's selected? Is this a glitch on my system, or is it
>
supposed to look like that?
>
>
Functionally, it has room for improvements, too. I don't like the extra 10
>
folders of scripts that I can't remove or edit. Am I the only one who
>
prefers Leonard's OSA menu?
>
>
Fraser
I've removed the orginal folders from script menu. They were located in
(OSX startup disk)/Library/Scripts.
I've added the following script to my "~/Library/Scripts/" folder so that I
can quickly edit the scriptmenu scripts. The script below will allow you to
choose a script from scriptmenu scripts and it will open in Script Editor.
tell application "Finder" to ,
set mlist to name of every file ,
of folder "MacOSX:Users:dbelf:Library:Scripts:"
tell current application ,
to set Flist to choose from list mlist ,
with prompt "Open item in Script Editor"
tell application "Finder"
try
set fname to item 1 of Flist
set Flist to every file ,
of folder "~/Library/Scripts/" whose name is fname
set ffile to item 1 of Flist
on error
set ffile to ""
end try
end tell
if ffile is not "" then tell application "Finder" to open file ffile
_______________________________________________
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.