Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 08-25-2006, 06:18 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: DeMonster (New AHK Script)

I just took a look at the AR code to see what I was using instead of WinClose and/or SendInput and have translated the calls into AHK code:

; Press ESC.
PostMessage, 0x0100, 0x1b ; 0x0100=WM_KEYDOWN, 0x1b=VK_ESC
PostMessage, 0x0101, 0x1b ; 0x0101=WM_KEYUP, 0x1b=VK_ESC

; Press ENTER.
PostMessage, 0x0100, 0x0d ; 0x0100=WM_KEYDOWN, 0x1b=VK_RETURN
PostMessage, 0x0101, 0x0d ; 0x0100=WM_KEYUP, 0x1b=VK_RETURN


Using these I've never yet seen it not close/auto-confirm a window, but using WinClose it seems to regularly mess up for me and failed to close the windows.

These calls should also work to help SafeMine and my Pacific anti-spam scripts too.

If you need to send any other keys via post message, then this page should be helpful.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.