On 3/14/2015 12:54 PM, Dr. Hawkins wrote:
when my stack loads, the mainstack detects the development environment, and
uses a "send openMcp2 to me in 0" to cause the script editor to open a
couple of main scripts and position that window
I've tried putting "open stack mcp" and send "open stack mcp" to me in
0 at the end of that script, but that just doesn't happen
Is there a way to do this?
I usually create a separate handler to do the task (which it sounds like
you've done) and call that at the end of a preOpenCard or openCard
handler. But you have to give the IDE enough time to finish loading and
setting up everyhing, so instead of sending in 0, try sending in 2 or
more ticks.
--
Jacqueline Landman Gay | [email protected]
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode