Is there any way so we can assign multiple functionalities to the same bindkey
For eg :
on selecting metal 1 & pressing( ctrl + 1 ) it is converted to metal2 .if (ctrl+1) is pressed i.e; twice again it should change to metal3 & so on...
Note : I am not doing the above one . I am doing something similar. Please let me know how to approach this
Isn't that just a matter of having your function look at the layer of the shape that is selected, and if it's on metal1 move to metal2, if on metal2 move to metal3 and so on? It sounds like a single function to me that just needs to look at the data.
Otherwise how is it going to know what the current "state" of the data is?
Sorry Andrew . I couldn't explain my question exactly. I am not doing the metal layer change as said above.
Normally If i press one bindkey it runs procedure and executes the skill . Now I want to stay inside procedure till i press ESC key (eg ; leHiRepeatCopy()) till the time inside procedure I should run different functionalities using same or different bindkeys .Is this possible ? Hope I conveyed it now a bit better. Please let me know
For repeated commands like this you'd probably need to use an enterFunction of some sort to prompt you do to something. It's not really very clear what you're trying to do.
Hi Andrew ,
I need an example how to use enterFunction .
I am writing a procedure, which I will call using a bindkey. I want to stay inside the procedure and waiting for other key presses, based on which, it will execute sub functions upon if condition inside the same procedure. There will be one key for eg, "ESC" which should get come out of everything. Basically i want to know how to stay inside a procedure waiting for my next keypress.