Re: Kindershell
Re: Kindershell
- Subject: Re: Kindershell
- From: John Delacour <email@hidden>
- Date: Tue, 26 Nov 2002 23:31:39 +0000
- Mac-eudora-version: 5.3a9
At 2:27 pm -0500 26/11/02, Paul Skinner wrote:
At 9:40 pm -0500 25/11/02, Paul Skinner wrote:
Has anyone else lost the ability to run a text selection as script
using CompileAndExecute service since they upgraded to Jaguar?
Can you give an example to show what you mean?
Sure. Ed Lai released a package called Kindershell. It was
basically 'do shell script' before 'do shell script' was available.
With it he released a piece of code called CompileAndExecute.
Ahh. Before my time! I've just installed it in Jaguar and the
answer is yes and no.
If I use a cocoa editor I can run a selection from the Do Script
service, but the whole of my Services menu is missing if I use any
other app.
It looks to me as though a simple 'run script [selection/clipboard]'
would have the advantage over C&E.
As a simple example, if I assign a keystroke in Key Xing or a
button/Function key in Eudora to the script
tell application "Eudora"
JJJJJJ get selected text
JJJJJJ run script result
end tell
and then select the line below and type the keystroke
display dialog "Hello"
I get two things that CompileAndExecute doesn't supply -- user
interaction and ease of execution.
JD
_______________________________________________
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.