Page 1 of 1

How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 12:14 am
by LC4iOS
Hi all,
Happy New Year.

After a long holiday I'm back and want to control the IDE a bit.

When I am editing the script in a button,
I want to click on another button and have the script editor automatically change to the script for the button I just clicked.

Is there a way to do this?

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 12:44 am
by dunbarx
Hi,

Not sure how you will integrate this into your scripts, but would placing this into each button script do?

Code: Select all

on mouseUp
   edit the script of me
end mouseUp

or

on mouseUp
   edit the script of me
   breakpoint
   beep 3 -- or your other stuff
end mouseUp
Craig Newman

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 1:26 am
by Klaus
Hi LC4iOS,
LC4iOS wrote:Is there a way to do this?
not without some ugly hacks deep in the Rev IDE scripts
and that is asking for trouble 8)


Best

Klaus

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 6:47 am
by LC4iOS
OK thanks for the help.

I'm over it now.

Would have been nice.

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 5:34 pm
by jacque
If you hold down the option and command keys when you click the button, its script will open. Use control - alt on Windows.

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 6:28 pm
by Klaus
He actually wants a behavior like the (unlocked) property palette for the script editor:
Click another object and the currently open script window changes dynamcially
to display the script of the newly selected object.

At least that is how I understood the initial posting 8)

Re: How to Control LiveCode 5.5.5 IDE

Posted: Mon Jan 06, 2014 8:55 pm
by jacque
Ah. Okay. Well you're right Klaus, that would be a big job. I've always been happy with just getting a new tabbed script, so I guess we adjust.