![]() Posting functioning code in case it helps anyone else: I didn’t find an answer, but found a work around. ![]() I’d also be fine with the script running on a down keystroke, they keep holding the key down until they click to sample, then release the key and it takes them out of the dialog, if that’s possible. To close the window, and I can use the color returned. ![]() So I just want to idle the script until they click, then on click, I’ll do the following: As it works now, for some reason even a keystroke on or won’t even get them out of the color picker, so they have to actually target the “OK” button with the mouse, which wastes half their time. The moment they click to sample, I want to take them back out of the color picker box. The user may take any amount of time to sample the exact color they want, so I can’t close the dialog on a delay. All that first part inside the “ignoring” is just to auto-click the “eyedropper” button after the color picker dialog comes up. This brings up the color picker and puts it into eyedropper mode. Set frontApp to the name of the current application The script will be run from a key command. I want them to use the Apple Color Picker’s eyedropper to get the colors, but I’m trying to avoid all the usual clicking involved. I have a situation where I need users to be able to pick colors from around their screen quickly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |