Page 1 of 1
Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 1:09 pm
by pink
Not sure if anyone can help me with this, I wanted to add keyboard shortcuts to edit card script and stack script.
Using the MacOS Keyboard/Shortcuts preferences, I added shortcuts for those two menu items.
Switching back to Livecode, the keyboard shortcuts now show up when I pull down the Object menu.
When I press the keyboard shortcut, the Object menu briefly hilites like menu items should when an item within is chosen, but the script editor does not launch.
Anybody have any suggestions?
Re: Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 1:53 pm
by dunbarx
Hi.
Why not just:
Code: Select all
on commandKeyDown tkey
if tKey = "S" then edit the script of this stack
end commandKeyDown
Or whatever. This can implemented as a plug-in or a stack in use.
Others may know if the OS retains control of these sorts of things, and LC can't invoke them.
Craig Newman
Re: Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 3:47 pm
by jacque
Cmd-shift-S and Cmd-shift-C are built in.
There's a full list of supported shortcuts here:
http://livecode.byu.edu/helps/shortcuts.php
Re: Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 4:13 pm
by pink
That is a great list of shortcuts, thanks!
Re: Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 5:19 pm
by dunbarx
@Jacque.
You know, it never occurred to me that the OP did not know the old built-in shortcuts. I thought custom ones were what was wanted.
@Pink.
Is it so? These have been around for 30 years. Hard to live without them.
Craig
Re: Creating shortcuts for IDE not working on Mac
Posted: Mon Apr 25, 2016 6:48 pm
by atout66
@Jacque
I've been wondering so many times why the Ctrl+G in the script editor didn't work to <go to line number> (like in some other editors), and now I see it's Ctrl+L
Many thanks for this usefull list
