Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Can an Applescript change the primary monitor option within the Wacom Driver, and do it near instantly?

share|improve this question
    
If it can be done via a shell script, yes, otherwise probably, depends... Can you supply the way this driver option is done normally? –  jackJoe May 20 '11 at 22:38
    
I still don't understand what a shell-script is exactly. But it's my own fault, I can't sit thru tutorials so suffer thru learing via trial and error after error. –  dom May 21 '11 at 12:30
    
The driver option is the monitor calibration setting, controling which display the tablet is mapped to. In this case it's a cintiq, so it is naturally the primary display. But when it is switched to the other display, the cursor jumps to that that display,an action that is almost identical to the Display Toggle function. Which is what I've been trying to replicate as a keyboard shortcut since getting my cintiq. It's become an obsession. –  dom May 21 '11 at 12:42
    
a shell script is a way to encapsulate one or several lines of commands (probably not the best definition, but summing up, it is a way to send simple (and complex) commands to your system). Your request may be simpler to accomplish with some app. that allows you to add shortcuts to common actions. You could try Buttler, (manytricks.com/butler version 4.1.6 is free), or even at the system prefs you have a way to add shortcuts, at the keyboard & mouse prefs. –  jackJoe May 21 '11 at 14:54
    
Btw, if you're wondering: I want to do this so that when painting in Photoshop my pen buttons can be used for brush sizing. Display Toggle works fine as one of these buttons everywhere else, but when I paint I tend to hit this button accidentally, usually in mid stroke, causing much swearing and pen-throwing. Stupid I know...But there are a few others that feel my pain, and no one has an answer. –  dom May 22 '11 at 11:43
add comment

1 Answer

Thanks for the suggestions Joe. Tried Butler among others, and it seems to come down to needing a script, and the only type of script (or workflow, action etc) is one that will just mimic the actions of opening the pane, the driver within, and then the pulldown change. All too glitchy and long for the immediacy I require. If it's not as fast the Display Toggle action then it's no use. Maybe a shellscript can do these as a system event directly?

I started this quest first by trying to hack/remap/script the Display Toggle feature as a keyboard shortcut, but after trying every 3rd party app or hack there is, I just don't think it can be done. I can't even capture the button action because of the HID nature of the device.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.