Cheating Network
 
 

Go Back   Cheating Network > Programming > General
Reload this Page AHK Questions Here



General

This is a discussion about AHK Questions Here within the General section, where you will General Talk of Programming



Reply
 
LinkBack Thread Tools Display Modes
Old 11-19-2008, 08:58 PM   #1 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Posts: 898
Reputation: 159
hobdiddy has a spectacular aura abouthobdiddy has a spectacular aura about

cBay Rating:
Send a message via AIM to hobdiddy
Default AHK Questions Here

kinda bored so please ask away. if i don't know the answer i will gladly try to find a post or resource to help you.

i'll be back in a couple of hours to answer any questions
__________________
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11-19-2008, 09:01 PM   #2 (permalink)
Moderator
 
dragonz2444's Avatar
 
Join Date: Aug 2008
Posts: 1,752
Reputation: 151
dragonz2444 has a spectacular aura aboutdragonz2444 has a spectacular aura about

cBay Rating:

S7 Scribe 

Send a message via AIM to dragonz2444
Default

fix it

IniWrite, lol, file.ini, Section1, keylol
IniRead, currentvalue, file.ini, Section1, keycurrent, 0
IniRead, firstname, file.ini, Section1, keyfirstname, lasdfasdf
IniRead, lastname, file.ini, Section1, keylastname, asdfasdf
Return

Numpad6::
MsgBox move your mouse over the ente your promo code box then hit enter.
Mousegetpos, enter1x, enter1y
MsgBox move your mouse over the terms of condition check off box then hit enter.
Mousegetpos, terms1x, terms1y
MsgBox move your mouse over the submit button then hit enter.
Mousegetpos, submit1x, submit1y
Sleep 3000
Sendinput {f5}
loop
{
Sleep 3000
Click %enter1x%, %enter1y%
sleep 8000
Sendinput {tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab} {tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab} {tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}
sleep 400
currentvalue ++
FileReadLine, currentemail, emaillist.txt, %currentvalue%
SendInput %currentemail%
IniWrite, %currentvalue%, file.ini, Section1, keycurrent
sleep 1000
Sendinput {tab}
sleep 1000
Sendinput password{tab}
Sleep 1000
Sendinput password
Sleep 1000
Click %terms1x%, %terms1y%
sleep 100
Click %submit1x%, %submit1y%
}
dragonz2444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2008, 09:05 PM   #3 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Posts: 898
Reputation: 159
hobdiddy has a spectacular aura abouthobdiddy has a spectacular aura about

cBay Rating:
Send a message via AIM to hobdiddy
Default

can u pm me/post the site?
__________________
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2008, 09:10 PM   #4 (permalink)
Member
 
Join Date: Dec 2007
Posts: 3,692
Reputation: 279
sc4fpse is a jewel in the roughsc4fpse is a jewel in the roughsc4fpse is a jewel in the rough

cBay Rating:

S7 Scrivener AP English 

Send a message via AIM to sc4fpse
Default

I'm 99.99% positive it's a technical limitation within AHK, buuut....

Any way to have an AHK script simulate a mouse click within a window on, say, a flash file, without the window becoming active?


Like I said, all that I've seen suggests it's absolutely impossible with AHK...


edit: Also, I've noticed that when using just the plain old Send command and sending multiple {tab} keystrokes, if you send multiple tabs, many of them are not ever sent. Any idea why, or, better yet, any idea on how to ensure that the correct number of tabs are sent?
__________________
"Seriously, is 1994 the year of the idiot or something?"
sc4fpse is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-20-2008, 05:05 PM   #5 (permalink)
Moderator
 
dragonz2444's Avatar
 
Join Date: Aug 2008
Posts: 1,752
Reputation: 151
dragonz2444 has a spectacular aura aboutdragonz2444 has a spectacular aura about

cBay Rating:

S7 Scribe 

Send a message via AIM to dragonz2444
Default

The tabs worked fine for me its the wtf it doesnt click where i want it to on my screen because i opened the window in which it needs to click.
dragonz2444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-21-2008, 07:30 PM   #6 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Posts: 898
Reputation: 159
hobdiddy has a spectacular aura abouthobdiddy has a spectacular aura about

cBay Rating:
Send a message via AIM to hobdiddy
Default

Quote:
Originally Posted by sc4fpse View Post
I'm 99.99% positive it's a technical limitation within AHK, buuut....

Any way to have an AHK script simulate a mouse click within a window on, say, a flash file, without the window becoming active?
that is usually a limitation, if you wish to call it, of the browser. it's been a while since i used control click but it seems some browsers want the flash on the page to become active first. so it requires an extra click. control focus can help. i'll try some things out and get back with you on this one.

Quote:
Originally Posted by sc4fpse View Post
Like I said, all that I've seen suggests it's absolutely impossible with AHK...

edit: Also, I've noticed that when using just the plain old Send command and sending multiple {tab} keystrokes, if you send multiple tabs, many of them are not ever sent. Any idea why, or, better yet, any idea on how to ensure that the correct number of tabs are sent?
have you checked your key delay? sometimes if it's not set properly it will have a problem getting all the tabs. i have spent a lot of time trying to get it to work properly before with chicktionary and had low success.

ahk might be the problem but have you tried sendmessage? that seems to be a little stronger.

Quote:
Originally Posted by dragonz2444 View Post
The tabs worked fine for me its the wtf it doesnt click where i want it to on my screen because i opened the window in which it needs to click.
im sorry i don't understant the last part.

i suggest checking out httpquery if you want to make a solid bot. it's a lot faster and also silent.

Edit: btw... {Tab}{Tab} and {Tab 2} are the same
__________________
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-21-2008, 07:53 PM   #7 (permalink)
THE MOD
 
itami's Avatar
 
Join Date: Dec 2007
Posts: 3,748
Reputation: 217
itami has a spectacular aura aboutitami has a spectacular aura aboutitami has a spectacular aura about

cBay Rating:

Scrivener 

Default

Thanks for the {Tab 2} tip. Did not know that.
__________________
itami is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-21-2008, 08:07 PM   #8 (permalink)
Member
 
Join Date: Dec 2007
Posts: 3,692
Reputation: 279
sc4fpse is a jewel in the roughsc4fpse is a jewel in the roughsc4fpse is a jewel in the rough

cBay Rating:

S7 Scrivener AP English 

Send a message via AIM to sc4fpse
Default

Quote:
Originally Posted by hobdiddy View Post
that is usually a limitation, if you wish to call it, of the browser. it's been a while since i used control click but it seems some browsers want the flash on the page to become active first. so it requires an extra click. control focus can help. i'll try some things out and get back with you on this one.
Problem is that with all the browsers I've tried (FF, IE, and Chrome), the main display of the browser is just one control. Hell, Firefox is so messed up control-wise, you can't even use controlsend to send anything to the URL bar. And don't even try to return the status bar text, as that's not uniform either. But, anyways, yeah, the main display is a control, but nothing inside of it is a control, which always lead to more problems for me.

Speaking of which, one more question... lbbrowse3 -- when creating a browser in an AHK GUI, is there a way to allow tab commands to go from one input box to another on an actual website in the AHK GUI? As it is for me now, if I select anything, type something, then hit tab, the whole browser display is deselected. Kinda makes filling in forms a pain in the ass in an AHK Browser.
__________________
"Seriously, is 1994 the year of the idiot or something?"
sc4fpse is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
ahk, questions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions Jason Chit Chat 50 10-04-2008 01:42 AM
Questions about New bot.... bertster Club Bing! 15 06-26-2008 04:16 PM
New guy questions xOAT Club Bing! 10 05-13-2008 09:16 PM
New bot? and questions cheatingbomb_123 Club Bing! 7 04-11-2008 07:22 PM
Few questions User Name Club Bing! 2 12-14-2007 12:02 AM




Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.