CompileAndExecute
CompileAndExecute
- Subject: CompileAndExecute
- From: Paul Skinner <email@hidden>
- Date: Tue, 21 May 2002 11:57:09 -0400
Ed Lai has an interesting service in his iTools homepage.
http://homepage.mac.com/lai/FileSharing.html
It's called CompileAndExecute.
From the read me:
When running KinderShell, using Script Editor is not always very
suitable. Often you want to run it like a terminal, when past result
are kept in the document. Smile would then be a better choice. However
the last time I checked, Smile 1.8 still run in classic and not on X.
So until Smile runs on X, we need a temporary solution.
CompileAndExecuteScript is a Service that is modified from the sample
service program in the developer tools. It let you run your text
selection as AppleScript. In other words, you sort of turn any Cocoa
based text editor, such as Project builder, TextEdit, mail into a bare
bone script editor.
I'll test it here in mail.app! Selecting the following line and choosing
'services, do script, applescript' puts the result on the next line.
pi/3
1.047197551196598
cool!
One more test...
pi/0 ^
***** Scripting Eror *****
Can't divide 3.14159265359 by zero.
COOL!
have to try the 'services, do script, shell script'...
ls
AppleShare PDS
Applications
Cleanup At Startup
Desktop
Desktop DB
Desktop DF
Desktop Folder
Developer
Library
Network
System
System Folder
Temporary Items
TheVolumeSettingsFolder
Trash
Users
Volumes
automount
bin
cores
dev
etc
mach
mach.sym
mach_kernel
private
sbin
tmp
usr
var
Ed Lai rocks! Ok, so he isn't really the rocking type, but he is cool.
--
Paul Skinner
_______________________________________________
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.