Register
Welcome to the Stormspire.net WoW Gold Forums!

Greetings, guest! Welcome to Stormspire.net, your #1 resource for WoW and Diablo 3 Gold, Professions, and everything in between!


If this is your first visit, make sure to check out the Stormspire.net Survival Guide for a quick site orientation. You may also register to unlock all standard forum features, and to get rid of these lovely ads!


Consider Premium Membership if you wish to get the most out of the site.


We proudly host the Official forums for both TradeSkillMaster and The Undermine Journal.

Page 1 of 2 12 Last
Results 1 to 10 of 20
  1. #1
    Entrepreneur
    Nemona's Avatar
    Posts
    12
    Reputation
    24
    Tagged in
    5 Posts
    Add to this user's reputation

    CKS Alternative for Mac

    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!


    Attached Files Attached Files
    Last edited by Nemona; January 6th, 2012 at 12:49 PM.

  2. #2
    EU-Silvermoon(A)
    Moderator
    Sinshroud's Avatar
    Posts
    1,768
    Reputation
    166
    Tagged in
    522 Posts
    Add to this user's reputation
    Looking good man good job. I'm sure many mac users on this forum will be highly pleased.
    If you are new to gold making, or have a lot of questions and want some dedicated help and support, consider our Premium Membership.
    If someone makes a helpful post or a useful thread, be sure to thank them and give +reputation.


    >> How to Monitor Your Competition's Cross Faction Trading (And Stop Them) - Also known as AH Sniping <<

    Geek Gone Strong | My Fitness and Health Blog


  3. #3

  4. #4
    US-Saurfang (A)
    Entrepreneur
    Khelynna's Avatar
    Posts
    56
    Reputation
    0
    Tagged in
    16 Posts
    Add to this user's reputation
    +rep from on Mac person to another!

  5. #5
    EU-Defias Brotherhood(A)
    Wind Trader
    Pliaksi's Avatar
    Posts
    156
    Reputation
    56
    Tagged in
    71 Posts
    Add to this user's reputation
    Nice one. +rep and added link to this thread in the CKS one.
    It's not a bug, it's a feature !

  6. #6
    EU-Alonsus(A)
    Entrepreneur
    kapowaz's Avatar
    Posts
    9
    Reputation
    3
    Tagged in
    3 Posts
    Add to this user's reputation
    Thanks for doing this, Nemona! Just a slight issue:

    You have Mac*OS*X 10.6.8. The application requires Mac*OS*X 10.7 or later.
    I'm still running 10.6 on my Mac Pro (my main WoW machine) — still not able to upgrade on this machine for various reasons. I'm guessing you just compiled to target 10.7, so do you think you could compile a version for 10.6? Also, how would you feel about sharing the code? I don't know what the general policy is on here for sharing code of contributed apps, but I think it'd be a good idea to give people confidence in the security of such an app to have 100% transparency and to be able to say for sure that it's not got any kind of malware. Hell, I'd be interested in playing around with it myself too, if there are any interface enhancements I might be able to contribute.

  7. #7
    Entrepreneur
    Nemona's Avatar
    Posts
    12
    Reputation
    24
    Tagged in
    5 Posts
    Add to this user's reputation
    Compiling one with 10.6 support now. (It's gonna need at least 10.6, because of the APIs I am using). And yeah, when the code is a bit more structured (I would really advice against using it currently as well, since it's not really that functional) I will most definitely release the code. Time to get working on another update!

  8. #8
    Entrepreneur
    Nemona's Avatar
    Posts
    12
    Reputation
    24
    Tagged in
    5 Posts
    Add to this user's reputation
    Okay. Code is online for everyone to see (or fork). The code there is far more structured and all the UI elements work now (Listen to Keyboard, Mouse, Keys to press and the such.

    You can always get the latest build at https://github.com/Matsy/CKS-Mac/downloads (which is also the repository URL if you want to see the source).

  9. #9
    EU-Alonsus(A)
    Entrepreneur
    kapowaz's Avatar
    Posts
    9
    Reputation
    3
    Tagged in
    3 Posts
    Add to this user's reputation
    Just tried this out on my MacBook Air which runs Lion, and it makes WoW crash near enough immediately

  10. #10
    Entrepreneur
    Nemona's Avatar
    Posts
    12
    Reputation
    24
    Tagged in
    5 Posts
    Add to this user's reputation
    Okay. I think I know what that issue is. Do you have the WoW crashlog / trace? With that, I can probably tackle this easily.

 

 
Page 1 of 2 12 Last

Similar Threads

  1. [Inscription] Alternative Guide to Making Gold with Darkmoon Cards
    By Kathroman in forum General Discussion
    Replies: 6
    Last Post: September 29th, 2011, 11:55 AM
  2. [General] Alternative to TSM_Mailing?
    By smrdlja in forum Addons & UI Customization
    Replies: 9
    Last Post: September 2nd, 2011, 04:21 PM
  3. [Alchemy] An alternative to Truegold/Living Elements transmute
    By algieba in forum Professions
    Replies: 7
    Last Post: June 4th, 2011, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •