Re: Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-31 Thread Ken Ray
On 8/31/06 5:39 AM, "Ben Rubinstein" <[EMAIL PROTECTED]> wrote: > Ken Ray <[EMAIL PROTECTED]> writes: >> But keep in mind that you cannot do this with Revolution 2.7.3 because of a >> bug that scrambles the apple events. If you use Revolution 2.7.2, you can >> use apple events, but they come in ba

Re: Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-31 Thread Ben Rubinstein
Ken Ray <[EMAIL PROTECTED]> writes: > But keep in mind that you cannot do this with Revolution 2.7.3 because of a > bug that scrambles the apple events. If you use Revolution 2.7.2, you can > use apple events, but they come in backwards on Universal Binary builds > (i.e. The class is "csim" and the

Re: Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-31 Thread Ben Rubinstein
Jim Ault <[EMAIL PROTECTED]> writes: > > I think you need to think 'misc' 'dosc' with your own data structure and > content. > > Google the following "dosc misc revolution" and look at a couple of the > archive posts on our list. > > on appleEvent theClass,theID >if theClass is "misc" and

Re: Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-30 Thread Ken Ray
On 8/30/06 12:38 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote: > On 8/30/06 2:11 AM, "Ben Rubinstein" <[EMAIL PROTECTED]> wrote: >> but I can't figure out a syntax to let me add the optional parameter without >> using the dictionary, ie something like this should be the equivalent to the >> last two a

Re: Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-30 Thread Jim Ault
On 8/30/06 2:11 AM, "Ben Rubinstein" <[EMAIL PROTECTED]> wrote: > but I can't figure out a syntax to let me add the optional parameter without > using the dictionary, ie something like this should be the equivalent to the > last two above: > ><> "/test.txt" <> new_window > > All the variation

Sending an apple event with custom parameters (BBEdit roundtrip)

2006-08-30 Thread Ben Rubinstein
I want to send an AppleEvent with custom parameters, not covered in the application's dictionary. Specifically, I want to implement BBEdit round-trip editing - which perhaps others have already done? Essentially the missing piece in this is that when you invite BBEdit to open a document, you