Re: A known feature of script menu?
Re: A known feature of script menu?
- Subject: Re: A known feature of script menu?
- From: Jon Pugh <email@hidden>
- Date: Sun, 6 Apr 2003 21:40:13 -0700
At 2:25 PM -0600 4/6/03, Doug McNutt wrote:
>
Does the script observe the #! line in an executable? What if the source is compiled C? Is the current selection passed as an argument?
Yes. Doesn't work. No.
>
Does it use an intermediate shell? If so which one? The default for the login user?
I don't believe so.
>
Does the file you add have to have its executable bit set?
Yes.
>
Can you put an alias to a script in the script menu folder? How about a UNIX link?
No. Probably.
>
When BBEdit is running I have a menu that looks strangely like the icon for Script Menu except that it's not black-filled. What is the difference?
Implemented by BBEdit, not by a menu add-in. As such it can run AppleScripts in BBEdit faster than the script menu. Unix scripts probably run comparably.
>
Should AppleScripts destined for the scripts menu be saved as compiled scripts or as applications?
Compiled scripts.
>
When I open the scripts folder I see only some AIM things and the folder actions I put there. How do I get rid of all the other things above that just get in my way? Is there another folder somewhere that is system-wide?
Presumably you mean the BBEdit Scripts folder. You can move scripts out of here to remove them from the BBEdit Script menu and palette. BBEdit does not provide a system wide script menu.
The script menu addition implements a system wide script menu. It displays all scripts from /Library/Scripts/ combined with ~/Library/Scripts/ in the script menu on the right side of the menu bar. If you organize it as ~/Library/Scripts/Applications/ and then the name of the app, it will be similar to the old OSA menu presentation (i.e. the front app will have its scripts listed). It still won't run them in that app, but perhaps some day.
>
Does someone have a URL for serious documentation?
Nope. I've gleaned most of this from people's experimentations here, including Mr. Delacour's travails.
Jon
_______________________________________________
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.