So here's what I'm trying:
Make a stack called "Test Front Script" with the following script in
its one and only card:
on revEditScript
answer the openStacks
end revEditScript
Put the "Test Front Script" stack in the Plugins folder
Launch LC and make a New Mainstack
Choose Development/Plugins/Plugin Settings
Choose the Test Front Script, select RevEditScript in the list and
close Plugin Settings
Click on Development again, drag to Plugins and choose Test Front
Script which opens it
The revEditScript message is now trapped when I open the stack script,
but just as before, the only stacks listed as the openStacks are:
Test
revTools
Untitled 1
revMenuBar
Evidently the "revNewScriptEditor 1" is still not yet in existence and
thus can not be located anywhere. That is, if I leave the script editor
window open and open another script I get "revNewScriptEditor 1" listed
in the openStacks, but by now it's too late. The window already opened
partially off the screen.
Am I doing this right?
Thanks,
Ray
On 1/31/2014 5:35 PM, Mark Schonewille wrote:
Hi,
The editScript message is sometimes triggered and sometimes not.
Replace editScript with revEditScript and select revEditScript as (one
of) the message(s) that is sent to your plug-in. This should work.
Note that revEditScript only works if your front script is part of a
plug-in.
--
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:24, Mark Schonewille wrote:
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/
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode