View Single Post
  #340  
Old 11-29-2007, 11:25 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: PokerPad - AHK hotkey script

[ QUOTE ]

It works for me, but I don't have (nor can I set) , as the decimal separator.


[/ QUOTE ]

Oh you can [img]/images/graemlins/smile.gif[/img] Just go in Control Panel -> Regional Settings, and tell Windows you are Swedish or similar [img]/images/graemlins/smile.gif[/img] Nightmare, but it works...

[ QUOTE ]

(Why there is a space between $ and 3 is beyond me, fortunately it doesn't matter as AHK will interpret " 3.80" just the same as "3.80".. I checked)


[/ QUOTE ]

Be careful.. it won't if it is $3. 80 for example [img]/images/graemlins/frown.gif[/img]

I generally run StringReplace, a_space etc. etc. on most numbers "just in case".

BTW, please ignore my ranting above... I was mighty annoyed after having to scrap a decent script project due to the inefficiency of PrintWindow [img]/images/graemlins/frown.gif[/img]

I may have found a (probably unimportant) mistake in your use of ReleseDC... it wants an ID also: (ReleaseDC, UInt, id, Uint, context)" is I think correct. Probably a non issue with hotkey functions, but I was running it 10x/second, I would exhaust GDI resources after a while [img]/images/graemlins/frown.gif[/img]
Reply With Quote