Re: BBEdit Language module?
Re: BBEdit Language module?
- Subject: Re: BBEdit Language module?
- From: Christopher Stone <email@hidden>
- Date: Mon, 8 Dec 2003 23:01:56 -0600
At 20:36 -0500 12/08/2003, Gary Lists wrought:
So...if I ever find an AS language module I'll tell you...if you'll tell if
you can find a copy of the 'Scrippy' plug-in [1] that will work with BB6.
______________________________________________________________________
Hey Gary,
Why not use AppleScript to emulate that behavior? This code works with
BBEdit 7. Bind a similar script to a keystroke in the script menu, and
you're in business.
try
tell application "BBEdit"
if exists of text window 1 then
set s to selection as text
end if
end tell
if s "" then
run script s
end if
on error errMsg number errNum
set msg to errMsg & return & return & "Number: " & errNum
beep
display dialog msg giving up after 30 with icon 0
end try
Chris
_______________________________________________
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.