• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BBEdit Language module?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: BBEdit Language module?
      • From: Gary Lists <email@hidden>
References: 
 >Re: BBedit Language module? (From: Gary Lists <email@hidden>)

  • Prev by Date: Re: [OFF] Panther Question
  • Next by Date: Re: [OFF] Panther Question
  • Previous by thread: Re: BBedit Language module?
  • Next by thread: Re: BBEdit Language module?
  • Index(es):
    • Date
    • Thread