No. I took a straw poll for whether double-clicking should be equivalent to the OK button or should give the cell clicked on focus (assuming it’s editable). The vote was strongly the latter, because the alternative is the Finder-like thing of select-pause-return for editing. I thought about a choice, but the problem then is that the user has no way of knowing what the rule is, and may accept a dialog they mean to edit.
Got it. If that’s revisited, then I’d suggest that when a cell is not editable a double click should be the same as clicking ok. Or there should be an option for that.
As far as letting the user know, that would be something for the prompt.
FYI, using a table as a floating palette works quite well and would work better if I could double-click!
I can make a movie to show you why it would be cool. Just finished a script using it that will save me and my co-workers about half-an hour of tedious error prone work, even without the double-click to accept.
I am using it as a script palette, in a sense. The user’s choice simply calls a handler, it doesn’t launch a new script.
OK, Here’s a link to a movie that illustrates the issue. Basically I want to be able to double-click on an item to select and the item and hit the default button. I would also like some way to control where a myriad table window appears. (I wonder if those links below are working)
I’ll look at adding the option in the next rev. But you can do it now. You need to add a use framework "Foundation" statement to your script, and before you display table, insert this line, where myTable is whatever variable you are using for the result of make new table...:
It’s basically doing what would be done if the facility were built-in – it’s just changing the method to be called when the table is double-clicked to the same one called by the OK button.
What’s the word on using and editing Myriad Tables in Yosemite?
I’m asking because I have a very simple table script that seems to cause SE to go into this unstable state where I can’t edit or save. (But I can still run the script).
How about SD? Will that cause any issues beyond crashing?
Using should be fine, but I haven’t tested it there. The same goes for editing, with the proviso that if the script also uses ASObjC, there are the usual caveats.
Your problem might be an issue of saving pointers. Try moving all actual use of it out of the run handler.
I’ve noticed that if a combo-box is in the first spot (row 1; column 1) of a table, you have to hit the tab two or three times to enter text.
Also, I like the way you can just start typing in a combo-box and if there’s a matching selection in the combo-box menu, it fills that in. But, is there anyway to make that case insensitive?