We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Click to win - a quicker way
Options
Comments
-
SpaceyKevin wrote: »The vital parts of the script are enclosed between the two ; ; ; ; ; and should be copied into the ahk text file. You can add your own macros to the same script without any interference (unless you try to assign the same keyboard shortcuts for two different macros). I have hundreds of macros in my ahk text file :money:!
You don't need to close any tabs before running the macro. Just open up a new browser window and open up the C2W pages as described in my previous post.
This macro isn't sophisticated enough to close the pages once it's submitted the entries. I had to write two separate macros just to close the tabs; the C2W sites behave in one of two ways when you click the "Enter..." button, hence, the two tab-closing macros.
Thanks for clarifying :T:T I have much to learn!
So, once it's run through all the tabs I presume it comes to a stop and then I simply close down the browser window?
I'll have to 'read up' on macro-writing then :rotfl:
Cheers for the help, SpaceyKevin :money:=^._.^= You will always be lucky if you know how to make friends with strange cats =^._.^=0 -
I had to limit the loop to 50 as it wouldn't stop and my laptop went a bit bonkers. It is very handy for the bigger publications but I am sticking to the old fashioned way for the smaller ones. Still greatly apprecaited though
SpaceyKevin How do i limit the loop please, i would like it to about 50 too?
Thank you0 -
tranmereforever wrote: »Not sure what I am doing wrong but it goes from tab to tab but does not seem to enter any
Will have to have another go tomorrow
I've given it a go - but unfortunately it doesn't enter most of them because as it goes from tab to tab the 'entry' box moves up and down the page rather than being in one spot. I can see it working better with the radio station ones though, as their entry boxes always seem to be in exactly the same place from one site to the next :cool:=^._.^= You will always be lucky if you know how to make friends with strange cats =^._.^=0 -
I added this to mine so i can stop it quickly
Escape::
ExitApp
Return0 -
SpaceyKevin How do i limit the loop please, i would like it to about 50 too?
Thank you
; ; ; ; ;
^!r::Reload ; Reloads the Autohotkey script
!c:: ; Alt + C activates the macro
loop, 50 ; Loop begins
{
click ; Sends a mouse click
send ^{tab} ; Moves onto the next tab
sleep 1500 ; Waits 1.5 seconds
ifwinactive, New Tab ; Checks if the "New Tab" tab is currently active
break ; Stops the loop if the "New Tab" tab is active
}
return
; ; ; ; ;
The loop should now only run 50 times at most.0 -
I had to limit the loop to 50 as it wouldn't stop and my laptop went a bit bonkers. It is very handy for the bigger publications but I am sticking to the old fashioned way for the smaller ones. Still greatly apprecaited thoughSpaceyKevin wrote: »; ; ; ; ;
^!r::Reload ; Reloads the Autohotkey script
!c:: ; Alt + C activates the macro
loop, 50 ; Loop begins
{
click ; Sends a mouse click
send ^{tab} ; Moves onto the next tab
sleep 1500 ; Waits 1.5 seconds
ifwinactive, New Tab ; Checks if the "New Tab" tab is currently active
break ; Stops the loop if the "New Tab" tab is active
}
return
; ; ; ; ;
The loop should now only run 50 times at most.
Thank you very much0 -
Just one more question please, sorry to be a pain
Can i add to the script to enter my email address, for when i clean my cookies etc, cccleaner?
Thank you0 -
Just one more question please, sorry to be a pain
Can i add to the script to enter my email address, for when i clean my cookies etc, cccleaner?
Thank you
I don't think that would be necessary. You can enter one of the C2W comps manually and the email address box should be filled when you open a new competition page (of the same site).0 -
Ok, Thank you SpaceyKevin0
-
Just one more question please SpaceyKevin
Everything working great, while the programme is running, i have noticed my browser tries to download files, can i stop this happening please?
Thanks0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.6K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards