• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ScriptMenu widget (fix for: script to edit personal scirptmenu scripts)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScriptMenu widget (fix for: script to edit personal scirptmenu scripts)


  • Subject: Re: ScriptMenu widget (fix for: script to edit personal scirptmenu scripts)
  • From: Dan Belfiori <email@hidden>
  • Date: Thu, 14 Feb 2002 08:24:10 -0800

on 2/14/02 7:30 AM, Dan Belfiori:

> 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.

sorry previous "Open" script was too personalized and other errors.

set dfold to path to desktop
tell application "Finder"
set pfold to folder of dfold
set sfold to (pfold as text) & "Library:Scripts"
set mlist to name of every file of folder sfold
end tell
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 sfold 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 ffile as alias
_______________________________________________
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.

  • Prev by Date: Re: monthNumber (was: Create a folder with today's date...)
  • Next by Date: [ANN] February BAUG meeting
  • Previous by thread: Re: Newbie Set eof to 0
  • Next by thread: [ANN] February BAUG meeting
  • Index(es):
    • Date
    • Thread