Re: Setting Script Editor Application
Re: Setting Script Editor Application
- Subject: Re: Setting Script Editor Application
- From: Jon Pugh <email@hidden>
- Date: Tue, 19 Feb 2002 23:51:08 -0800
At 7:24 PM -0700 2/19/02, Gnarlodious wrote:
>
I am using Script Debugger. Is there any way to get into Applescript
>
Guidebook from SD or must I switch to Finder?
Extension Script!
tell application "Help Viewer"
handle url ":AppleScript GuideBook:bkfr.htm"
activate
end tell
I found this by looking at the "current file" property in the Help Viewer dictionary.
>
When in the Guidebook clicking on the icon for the Script Editor gets me the
>
error " Can't find Script Application". How do I tell 9.2 to open SD as
>
default editor? I tried looking in the File Exchange CP without success, and
>
Copy&Paste of scripts is impossible in Guidebook
There is no "Script Editor" setting, so there are a number of holes you have to work with if you want to use a different script editor. The worst is the applet error dialog which offers to let you edit the app. It has the ToyS creator hard coded into it. There have been several hacks to modify this to the editor of your choice, but since it involves modifying the AppleScript extension, it sucks.
In theory, there are scripts you could modify in the Help folder that do the copy and pasting, but it's just not worth it. The simplest thing is to just keep a copy of Script Editor around for it to launch (if it can't launch it, then you probably need to rebuild your desktop) and after it has copied the script to the clipboard, switch to Script Debugger and paste there.
Jon
PS
I think it would be nice if AppleScript supported a "script editor" setting.
_______________________________________________
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.