6.5.2 Doesn't Remember Script Editor Location
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Jan 31 17:24:41 EST 2014
Hi Ray,
Hence the "send ... to me in 0 milliseconds"
Btw I'm still testing, because it doesn't seem to work sometimes.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 1/31/2014 23:17, Ray wrote:
> Mark,
>
> That's a very interesting message you're working with here; the
> 'editScript' message. I wasn't aware of that one.
>
> It seems like that would be the logical place to trap for something like
> this but in a simple script such as this one inserted into the front...
>
> on editScript
> put the openStacks
> pass editScript
> end editScript
>
> I'm only getting the following stacks listed in the message box:
>
> revTools
> Test
> revMenubar
>
> Notice the absence of the "revNewScriptEditor 1" stack. This means,
> while trapping for the editScript message seems like it might work, it
> unfortunately doesn't work (at least I can't get to work) since the
> script editor window is, at the point editScript is trapped, not yet in
> existence.
>
> I've also tried your handlers, below, and not had any better luck with
> them, I believe for the same reason that the script editor window isn't
> yet open when the editScript message is trapped.
>
> Thanks anyway, though. If you have any other suggestions I'd love to
> try them.
>
> Ray
>
More information about the use-livecode
mailing list