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
12346»

Comments

  • GeeBee38 wrote: »
    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?

    Thanks

    Whoops! I forgot that Alt + clicking a link in Chrome will try to save the link! The macro activates when Alt + C is pressed and since the macro sends a "mouse click" command almost immediately after the keypress, the "click" will be combined with the Alt key.

    You can add a delay before the loop begins so you have time to release the Alt key.

    !c:: ; Alt + C activates the macro
    sleep 1000 ; Waits 1 second (to help avoid Alt-clicking)
    loop, 50 ; Loop begins

    Or you can assign a different shortcut to the macro (one that doesn't use the Alt key).
  • GeeBee38
    GeeBee38 Posts: 3,230 Forumite
    Part of the Furniture 1,000 Posts Photogenic
    edited 9 February 2016 at 11:36AM
    Whoops! I forgot that Alt + clicking a link in Chrome will try to save the link! The macro activates when Alt + C is pressed and since the macro sends a "mouse click" command almost immediately after the keypress, the "click" will be combined with the Alt key.

    You can add a delay before the loop begins so you have time to release the Alt key.

    !c:: ; Alt + C activates the macro
    sleep 1000 ; Waits 1 second (to help avoid Alt-clicking)
    loop, 50 ; Loop begins

    Or you can assign a different shortcut to the macro (one that doesn't use the Alt key).

    Ah, i understand, thanks, could i use Ctrl + C?

    Would that work?

    I have tried that, still doing the download thing

    Is this correct please?


    ; ; ; ; ;
    ^!r::Reload ; Reloads the Autohotkey script

    !c:: ; Alt + C activates the macro
    sleep 1000 ; Waits 1 second
    loop, 50 ; Loop begins
    {
    click ; Sends a mouse click
    send ^{tab} ; Moves onto the next tab
    sleep 1500 ; Waits 1.0 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
    ; ; ; ; ;
  • GeeBee38 wrote: »
    Ah, i understand, thanks, could i use Ctrl + C?

    Would that work?

    I have tried that, still doing the download thing

    Is this correct please?


    ; ; ; ; ;
    ^!r::Reload ; Reloads the Autohotkey script

    !c:: ; Alt + C activates the macro
    sleep 1000 ; Waits 1 second
    loop, 50 ; Loop begins
    {
    click ; Sends a mouse click
    send ^{tab} ; Moves onto the next tab
    sleep 1500 ; Waits 1.0 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 !c:: part of the script defines the key combination that activates the macro. In terms of Autohotkey, the ! symbol represents the Alt key, and C represents...C. If you want to use Ctrl + C instead, replace !c with ^c (^ represents Ctrl). However, Ctrl + C is already widely used by many operating systems as the "Copy" shortcut so I'd use a different combination instead to avoid conflicts. Something like Ctrl + J ( ^j ) would be better since that key combination is rarely used.
  • GeeBee38
    GeeBee38 Posts: 3,230 Forumite
    Part of the Furniture 1,000 Posts Photogenic
    Thank you very much SpaceyKevin :)
  • andrew71
    andrew71 Posts: 1,229 Forumite
    Part of the Furniture 500 Posts Photogenic Name Dropper
    I Mostly use a tablet (Android) to enter competitions via Firefox and/or Chrome (sometimes the Dolphin Browser) do the apps mentioned work via Android browser?
  • andrew71 wrote: »
    I Mostly use a tablet (Android) to enter competitions via Firefox and/or Chrome (sometimes the Dolphin Browser) do the apps mentioned work via Android browser?

    AutoHotKey only works on Windows machines as far as I'm aware.
  • Can I ask where do you put your email on the script? TIA
  • Can I ask where do you put your email on the script? TIA

    The email box above the entry button should already be filled in if you've previously entered a C2W competition from the same site.
  • Thank you I understand now lol it clicks the button and moves on - I can be a bit dim sometimes! Thanks x
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.