Dear members of the Consortium,
Here I am presenting an idea and a very limited application to help the ones with a Mac out there.
Applications like AHK / CKS don't really work, and Applescript has no way of looking at mouse locations.
The most annoying problem was: Applescript / Automator have NO way to send a keystroke to an application when it is not in the foreground.
So, I hacked up some method and implemented it in a small application.
It is very limited, with 0 configuration possibilities, but it just shows the possibility (I mimiced some UI of CKS, functionality of it is not implemented yet).Feel free to test it out.
This is mostly for disenchanting / prospecting, with a hardcoded timer of 5 seconds. (However, your mouse movements / key presses make it a random action).
This is a one-to-one action, just like with CKS. And presses the button '4' every 5 seconds whenever you pressed a key / moved your mouse.
Attached is the app. I will most definitely continue developing this. I had lots of fun hacking my way around Apple limits.Also, make sure you haven't edited your Info.plist for World of Warcraft (why would you do that?).
Greetings,
Matsy
P.S. Technical explanation for the tech-savvy among us.This requires a combination of Cocoa / Carbon, unfortunately. For this, I am using quite some Carbon API's that just do not exist on Cocoa (with this I mean AXUIElements to post the key, and EventHandlers to listen for them. So, combining those, and using FSC APIs to get the process IDs (I didn't expect this to be such a PITA) allowed me to develop this.
Updates, now with source:
Feel free to update the latest version at: https://github.com/Matsy/CKS-Mac/downloads
Feel free to fork, modify and pull request at: https://github.com/Matsy/CKS-Mac
Latest update: You can properly modify the key to press (need to work on error handling there, keep it simple guys one letter & one number) and you can switch between key/mouse or both!


