I’m not sure if this is a Mac thing or an SD thing, but, I noticed that sometimes if I want to get a continuation character in SD by hitting option-return, I have to hit the option-key on the right-side of the keyboard. The option-return with the option-key on the left side just generates a standard return character.
What’s odd is SD seems to get into this mode where only the right-side option-key works.
But, when I wanted to see if it worked in Script Editor, the first time I tried it there was about a two-second pause, then it worked. Went back to SD and right-side option-key worked there, too.
It happens fairly regularly, but it’s only yesterday on my Yosemite setup at work that I noticed that the right-side option-key worked (I almost always use the one on the left). On my home system (El Capitan) it was behaving exactly the same as at work, left-side option-key no effect; right-side option-key worked, until I tested it in SE. And then both worked.
So my question for other testers are:
Have you ever noticed that? If not, do you use option-return much? Does it work now?
If you have noticed that option-return doesn’t work, do you get the same result with either option-key?
If it’s in the mode where it’s not working, does trying it in SE work?
I also just noticed that if you try to compile after the drag and drop thing, and there is a compile error, that doesn’t fix the issue, and compiling after fixing the error doesn’t fix the issue. But if you switch to a different SD window, do an option-return there, that fixes it.
Let’s step back. When you hit the return key, SD asks if the option key was also down at the same time. It asks for the modifier keys flag for the keyboard event, and tests for the option key. So if you’re seeing different behavior between left and right option keys, then it’s something happening before any of it gets to SD – it’s in the OS, or via some utility.
Exactly. If this is happening, its because of something is happening behind Script Debugger’s back. Script Debugger does not distinguish between option keys and does not have any logic that counts their use or disables them after particular operations.
This issue keeps coming up and it’s pretty frustrating. Basically after I’ve done a drag and drop, and have been working in SD for a while I can’t generate a continuation character by holding option and hitting return. (I also tried with space, control and shift). Sometimes it comes back after relaunching, or just going out of SD and back into it, sometimes it doesn’t.
This last part suggests to me that something external to Script Debugger is interfering. Script Debugger just asks if “the” option key is down. The API I’m using does not distinguish between left and right.
So the continuation character is not working at the moment.
I’ve looked through every accessibility pane, and all the keyboard settings and shortcuts and can’t find anything using the option key at all, so nothing using option-return either. Plenty of command; control; shift keys and combinations of those.
My mac has a very limited number of third party utilities installed and as far as I can tell none intercept the option key.
I’m going to try to switch the SD shortcut to Command-return rather than option return.