How to Control LiveCode 5.5.5 IDE

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
LC4iOS
Posts: 88
Joined: Tue Dec 03, 2013 8:15 pm

How to Control LiveCode 5.5.5 IDE

Post by LC4iOS » Mon Jan 06, 2014 12:14 am

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?
Thanks to RunRev.
Thanks to LiveCode forum members.

LiveCode v5.5.5 - iOS Android Mac Windows - 6.5 Community
27" 2012 iMac i5, MacBook Pro, MacBook Air, iPhone 5, iPhone 4
xCode 5.0.2 - iOS7 - OS X Mavericks
Paid Apple iOS Developer Program Member

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10332
Joined: Wed May 06, 2009 2:28 pm

Re: How to Control LiveCode 5.5.5 IDE

Post by dunbarx » Mon Jan 06, 2014 12:44 am

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How to Control LiveCode 5.5.5 IDE

Post by Klaus » Mon Jan 06, 2014 1:26 am

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

LC4iOS
Posts: 88
Joined: Tue Dec 03, 2013 8:15 pm

Re: How to Control LiveCode 5.5.5 IDE

Post by LC4iOS » Mon Jan 06, 2014 6:47 am

OK thanks for the help.

I'm over it now.

Would have been nice.
Thanks to RunRev.
Thanks to LiveCode forum members.

LiveCode v5.5.5 - iOS Android Mac Windows - 6.5 Community
27" 2012 iMac i5, MacBook Pro, MacBook Air, iPhone 5, iPhone 4
xCode 5.0.2 - iOS7 - OS X Mavericks
Paid Apple iOS Developer Program Member

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: How to Control LiveCode 5.5.5 IDE

Post by jacque » Mon Jan 06, 2014 5:34 pm

If you hold down the option and command keys when you click the button, its script will open. Use control - alt on Windows.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How to Control LiveCode 5.5.5 IDE

Post by Klaus » Mon Jan 06, 2014 6:28 pm

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)

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: How to Control LiveCode 5.5.5 IDE

Post by jacque » Mon Jan 06, 2014 8:55 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply