Open Side Menu Go to the Top
Register
Calling all Mac users (aka The AHK Problem) Calling all Mac users (aka The AHK Problem)

10-27-2008 , 12:58 AM
ok, seriously, what is up with this no AHK equivalent for Mac ka-ka?! I know there have been threads in the past, but most go 'Hai any AHK 4 Mac?!' 'No.'

So, if ANYONE has found ANYTHING that can possibly do for Macs what AHK does for windows, Please post it here.

I've posted on a mac forum, and they dont really get the whole AHK-for-poker-thang, but I've been told that Automator (the Mac utility) might be a solution, and I'll look into it tomorrow when I can see straight. If that doesn't work - well, I'm reluctant to learn how to use Applescript, but I'll give it a go.

In anycase, lets start figuring something out.


(TR on Automator/Applescript to follow)
Calling all Mac users (aka The AHK Problem) Quote
10-27-2008 , 11:30 AM
Try QuicKeys...

http://www.cesoft.com/products/quickeys.html

I've posted about this before but haven't had the time to play with it or the need for any scripts.

Let me know if you come up with anything.
Calling all Mac users (aka The AHK Problem) Quote
10-27-2008 , 08:43 PM
I like the Mac OS but I don't understand why people don't just boot into Windows to play poker. Seems way easier than trying to write scripts when there are already so many amazing scripts out for Windows. New Windows scripts coming out all the time, and old scripts are being constantly updated. Software too. What programs are you running on your Mac that you really want to have open while playing poker?

Seems ridiculous to try to write scripts and keep them up to date just so you can play within the Mac OS.
Calling all Mac users (aka The AHK Problem) Quote
10-28-2008 , 10:44 AM
Quote:
Originally Posted by a nonymous
I like the Mac OS but I don't understand why people don't just boot into Windows to play poker. Seems way easier than trying to write scripts when there are already so many amazing scripts out for Windows. New Windows scripts coming out all the time, and old scripts are being constantly updated. Software too. What programs are you running on your Mac that you really want to have open while playing poker?

Seems ridiculous to try to write scripts and keep them up to date just so you can play within the Mac OS.
For people who don't have a copy of windows to boot. Or have a Mac that have PPC chips which don't let you boot in windows (Macs do last for YEARS and run like brand new so PPC chips from 2004 will probably still be in use in 2010+). Or just have all of their apps/music/vids in MAC and would like to be able to play poker on the same OS that they have all of their other belongings.

I really wish HEM, FTS (and just plain autohotkeys in general), SnGWiz, and TM would work in Mac OS X. The only reason I have a PC is to play poker and that's gay.
Calling all Mac users (aka The AHK Problem) Quote
10-29-2008 , 02:36 PM
Quote:
Originally Posted by SiQ
For people who don't have a copy of windows to boot. Or have a Mac that have PPC chips which don't let you boot in windows (Macs do last for YEARS and run like brand new so PPC chips from 2004 will probably still be in use in 2010+). Or just have all of their apps/music/vids in MAC and would like to be able to play poker on the same OS that they have all of their other belongings.

I really wish HEM, FTS (and just plain autohotkeys in general), SnGWiz, and TM would work in Mac OS X. The only reason I have a PC is to play poker and that's gay.
This.

I've been messing around with Automator for a while, and thats a dead end, I'm pretty sure. I'm working on Applescript now, so if anyone knows anything about it...
Calling all Mac users (aka The AHK Problem) Quote
10-29-2008 , 09:51 PM
If someone wanted they could of course port AHK to mac. Of course most of it would have to be rewritten from scratch, but the basic scripting language could stay the same. That would actually be really nice. Since it is open source all the code is there for the taking, just needs some programmers with the motivation.

~Jess
Calling all Mac users (aka The AHK Problem) Quote
10-29-2008 , 11:08 PM
If Dave or someone with Dave's blessing ported Bet Pot I would be in heaven.
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 02:38 AM
Quote:
Originally Posted by 2tonbobby
If Dave or someone with Dave's blessing ported Bet Pot I would be in heaven.
Tell me about it. I know nothing about scripting (literally), but if someone can point me in the right direction, I would give it a shot (with Dave's blessing). I've got alot of free time on my hands.
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 06:54 PM
Here are a couple of interesting developments.

In this thread, one poster says

Quote:
AppleScript...
Well, AFAIK, it is more like VBA (Visual Basic for Applications), ie. something able to script applications that accepts that.
"Porting" AHK to OSX is nearly impossible: AutoHotkey heavily depends on the WinAPI to do its tricks, it has been carefully tweaked to work as well as possible in a maximum of Windows applications. Writing it needed a quite thoroughful knowledge of the WinAPI, gained over years of practice.
So to do something like that would suppose:
1) That OSX offers equivalent functions, hooks, API; not obvious;
2) That somebody has such intimate knowledge of the Mac API, which cannot be gained over some weeks.
So thats a big 'Booo'. However, later in the same thread, this site is linked and this

Quote:
That's a recent addition (Mac OS X v10.3), and they confirm that some applications don't accept to be scripted by regular AppleScript.
Indeed, AS is starting to look like AHK...
I won't be able to look into it tonight, but will do tomorrow.

Edit: did a quick search and found this,

Quote:
It also allows AppleScript to control GUI applications directly through UI Scripting
This development has interesting implications!

Last edited by IlPug; 10-30-2008 at 07:01 PM.
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 08:05 PM
OK, so curiosity got the better of me.

I read through this article and downloaded XCode 3.1.1 from apple. The Accessibility Inspector definitely looks like it can do what we need.

I realllly can't do anymore tonight, but I'm pretty stoked. It'll take a good amount of effort to get everything working though.
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 08:31 PM
Graphic User Interface (GUI) Scripting or Apple Script looks promising.

Along with Dave's Bet Pot, there is a AHK script by Wickss called Stars Hot Keys, that I think is great. If either were available in a native Apple application I would throw my PC away and never look back. I'm going to ask Wickss in his thread if he knows anything about Apple scripting and if he would be interested in giving it a go.
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 09:19 PM
From a quick look at the linked site, the AppleScript "accessibility" option would seem to be ideal:
Quote:
By addressing the System Events application, AppleScript scripts can select menu items, push buttons, enter text into text fields, and generally control the interfaces of many applications.
Good luck
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 10:23 PM
OT but arrrrrgggg PT3 for mac noooowwwwww
Calling all Mac users (aka The AHK Problem) Quote
10-30-2008 , 11:17 PM
Quote:
Originally Posted by _dave_
From a quick look at the linked site, the AppleScript "accessibility" option would seem to be ideal:

Good luck
Thanks Dave, this should be an interesting few days, ha.


Quote:
OT but arrrrrgggg PT3 for mac noooowwwwww
I know, right? The developers are really dropping the ball here (though I guess I can understand why), but its to the point where I dont care who comes out with a mac client first, I'm buying that one.
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 12:47 AM
*** PT3 try flop zoom or poker co pilot actually Steve Mc Cleod (programm writer for co pilot ) might be able to help you but IDK .
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 01:30 AM
Quote:
Originally Posted by Got Nutz?
*** PT3 try flop zoom or poker co pilot actually Steve Mc Cleod (programm writer for co pilot ) might be able to help you but IDK .
Thanks, I'll look into it.
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 10:07 AM
Does it have HUD!?!?!?
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 01:07 PM
Quote:
Originally Posted by ImprovinNewbie
Does it have HUD!?!?!?
Looks like it does, yes. Google for the site.

He can't really help with this, but seems like a good guy.
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 05:22 PM
For starters, I would be happy if someone could make a simple proof of concept script/macro. For example, I press a specific key on my keyboard and the script/macro puts 9999 in the bet box (an all-in bet) and presses enter.
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 05:53 PM
i just bout co pilot and like it. does anyone know where to get a key for the hud stats?
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 09:40 PM
Quote:
Originally Posted by 2tonbobby
For starters, I would be happy if someone could make a simple proof of concept script/macro. For example, I press a specific key on my keyboard and the script/macro puts 9999 in the bet box (an all-in bet) and presses enter.
wat.

Quote:
i just bout co pilot and like it. does anyone know where to get a key for the hud stats?
they had a free trial period. I recommend getting in-touch with the developer, he responded very quickly to my email.
Calling all Mac users (aka The AHK Problem) Quote
10-31-2008 , 10:14 PM
Quote:
Originally Posted by 2tonbobby
For starters, I would be happy if someone could make a simple proof of concept script/macro. For example, I press a specific key on my keyboard and the script/macro puts 9999 in the bet box (an all-in bet) and presses enter.
ok, I think I know what you're saying - thats pretty much what I'm working on. I'll post when I get something to work.
Calling all Mac users (aka The AHK Problem) Quote
11-01-2008 , 02:24 AM
yes it has a HUD and the "key " is at the bottom or check out his blog and/or the questions site . Then if you have to E-mail the guy he will answer
Calling all Mac users (aka The AHK Problem) Quote
11-12-2008 , 08:59 PM
IlPug,

Any luck getting a native Apple script to work for poker?
Calling all Mac users (aka The AHK Problem) Quote
11-13-2008 , 05:29 AM
Quote:
For people who don't have a copy of windows to boot. Or have a Mac that have PPC chips which don't let you boot in windows (Macs do last for YEARS and run like brand new so PPC chips from 2004 will probably still be in use in 2010+). Or just have all of their apps/music/vids in MAC and would like to be able to play poker on the same OS that they have all of their other belongings.
I run Windows XP within a virtual machine on Linux and have problems at all, i don't have to exit and reboot into windows to play, i just fire up windows in the virtual machine, make it full screen and there is no difference at all. Wasting time with apple scripts seems pointless when in less than an hour you can have a virtual machine up and running within your favourite OS and access to all the premade scripts for windows.

If you don't have a copy of windows well, there is always a way
Calling all Mac users (aka The AHK Problem) Quote

      
m