Re: Scripting the Script editor
Re: Scripting the Script editor
- Subject: Re: Scripting the Script editor
- From: "Dr. Max Bonilla" <email@hidden>
- Date: Wed, 16 Apr 2003 21:00:53 -0500
Thank you for the tip and the script, Emmanuel.
Max
At 3:10 PM -0500 16/04/03, Dr. Max Bonilla wrote:
The script editor (OS X, v. 2.0) is scriptable, yet any way I try
to open a new document and insert a script text, I get an error.
The dictionary is not helping me. I'm trying to run the scrip from
Script Debugger, calling Script editor and having it make a new
document and insert a given text. It's fairly simple. I don't dare
move to the next step, to have it compiled and saved in a
particular folder.
Can anyone help me get at least to the first part (make new
document, insert text)? Thanks a lot.
You could use Smile (a freeware), users say it's better than SE2,
and it was more extensively tested.
In Smile, you would write:
-------------------------------
set myWindow to make new script window
set text (or "after text" or "before text" or "selection" etc.) of
myWindow to [some text]
check syntax myWindow
save myWindow in [some path]
-------------------------------
URL: <http://www.satimage-software.com/en/softx.html#smile>
Emmanuel
<netiquette> from Satimage, the authors of Smile </netiquette>
_______________________________________________
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.