I'm puttering around with a RealBasic project and have a particular need -- I need for it to be able to tell BBEdit to open a text file and jump to a particular line in the file. I've taken a quick look at the BBEdit Applescript directory and nothing obvious jumps out and hits me in the face, nor does Google bring much joy.

The most general form of the problem needs to do this:

Open BBEdit if it isn't already open

Open a particular document if it isn't already open (this I have no problems with...)

Bring it to the front.

Jump to line N in the file.

Anyone got something that will do this, helpful pointers, etc?

RealBasic is nice in that I can import an applescript and use it as a function (and send appleevents if need be), so that part of the problem is solved; it's just a matter of the scripting.

My standard bribe (your choice of any DVD from the AnimEigo catalog) to the first person who can help me out with this; possible bonus bribes for particularly helpful replies. Bribe null and void if the reply includes the phrase "It's simple..."

Best
R


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to