E
Edward Dodge
Guest
I'm trying to set up a bindkey to toggle a design read-only if it's in
edit-mode. I want to use this same key to toggle the design to edit-mode if
it's already set to read-only. Here's what I have so far:
bk("Layout" "Ctrl<Key>m" "if(<test for edit-mode> then
(geChangeEditMode(\"r\"))
else
(geChangeEditMode(\"a\")))")
What's missing is the function that returns "t" if the Edit-Mode is "a" and
"nil" for an Edit-Mode "r." Any ideas?
--
Edward Dodge
__o
_`\(,_
(_)/ (_) --- ---
edit-mode. I want to use this same key to toggle the design to edit-mode if
it's already set to read-only. Here's what I have so far:
bk("Layout" "Ctrl<Key>m" "if(<test for edit-mode> then
(geChangeEditMode(\"r\"))
else
(geChangeEditMode(\"a\")))")
What's missing is the function that returns "t" if the Edit-Mode is "a" and
"nil" for an Edit-Mode "r." Any ideas?
--
Edward Dodge
__o
_`\(,_
(_)/ (_) --- ---