shadow3352 Posted December 11, 2010 Share Posted December 11, 2010 Hey everyone, I'm new to this whole scripting thing. I was just wondering if it's possible to run a script working on a Firefox in the background. I want to make a script that adds a "0" to the url of a webpage hit enter, wait 30 seconds add another 0, hit enter, and repeat. Thanks! Link to comment Share on other sites More sharing options...
maestro Posted December 11, 2010 Share Posted December 11, 2010 there is always a way, however whats is the purpose, because there may be a better way to do what ever your trying to accomplish. Thanks, Ilmaestro. Hello, World!... LAME lol Link to comment Share on other sites More sharing options...
shadow3352 Posted December 11, 2010 Author Share Posted December 11, 2010 I just need to visit a webpage over and over again with an extra 0 added into the url. Link to comment Share on other sites More sharing options...
maestro Posted December 11, 2010 Share Posted December 11, 2010 (edited) OK so there are a couple ways you could do it, first off you could do a really basic one that just manually clicks the url, then enters the 0 then sends the enter key stroke. Another more discrete way would be to inject it directly into the url using a memory injection (would be probably hardest way). look up _IE in the help file, you can also make it do some cool stuff using the: #include <IE.au3> Thanks, Ilmaestro. Edited December 11, 2010 by maestro Hello, World!... LAME lol Link to comment Share on other sites More sharing options...
shadow3352 Posted December 11, 2010 Author Share Posted December 11, 2010 Great! Thanks for the help. I'll try making the script now. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 11, 2010 Share Posted December 11, 2010 He did say Firefox. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
shadow3352 Posted December 11, 2010 Author Share Posted December 11, 2010 _WinWaitActivate("LeeMails.com - Mozilla Firefox","") MouseClick("left",718,72,1) sleep (1000) MouseClick("left",718,72,1) Send("0{ENTER}") sleep (31000) MouseClick("left",718,72,1) sleep (1000) MouseClick("left",718,72,1) Send("0{ENTER}") Okay so this is what I've got for my script. I can't figure out how to make it run in the background though. I tried the control send, but I kept getting errors. Link to comment Share on other sites More sharing options...
Bowmore Posted December 11, 2010 Share Posted December 11, 2010 I don't think we should be encouraging the use of AutoIt for this sort of thing, defrauding advertisers by collecting cash for bogus click-throughs. "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now