F3 command

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
patricknielsen21
Posts: 2
Joined: 08 Jun 2017, 09:03

F3 command

08 Jun 2017, 09:09

Hi,

I'm quite new at this and is just getting started.
The reason I started using hotkeys is because a lot of my work is repetitions, so I'd like to know what to write in order to use the F3 command.
So when I activate the hotkey the F3 on my keyboard will trigger

I've tried:
Send {F3}
Which do not work.

Hope it's understandable.

Thanks
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: F3 command

08 Jun 2017, 09:54

Hello! Welcome to the Forums! What is the hotkey you are using to trigger F3? Can you post all of your code? Don't forget to use "[ code ][ /code ]" tags! ;)
patricknielsen21
Posts: 2
Joined: 08 Jun 2017, 09:03

Re: F3 command

09 Jun 2017, 01:29

Thank you :)

My code is a following, and I'm using x to trigger

Code: Select all

x::
Send {Ctrl Down}c{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send {Ctrl Down}a{Ctrl Up}
Sleep 100

Send {Ctrl Down}v{Ctrl Up}
Sleep 100

Send {Enter}
Sleep 1000

Send, {Tab}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Tab}
Sleep 100

Send 1
Sleep 100

Send {Ctrl Down}s{Ctrl Up}
Sleep 1000

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Left}
Sleep 100
Send, {Left}
Sleep 100

Send {Ctrl Down}c{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send {Ctrl Down}a{Ctrl Up}
Sleep 100

Send {Ctrl Down}v{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Right}
Sleep 100
Send, {Right}
Sleep 100
Send, {Right}
Sleep 100

Send {Ctrl Down}c{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Tab}
Sleep 100

Send {Ctrl Down}a{Ctrl Up}
Sleep 100

Send {Ctrl Down}v{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Right}
Sleep 100
Send, {Right}
Sleep 100
Send, {Right}
Sleep 100
Send, {Right}
Sleep 100

Send {Ctrl Down}c{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Tab}
Sleep 100

Send {Ctrl Down}v{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Left}
Sleep 100
Send, {Left}
Sleep 100
Send, {Left}
Sleep 100

Send {Ctrl Down}c{Ctrl Up}
Sleep 100

Send, {Alt Down}
Sleep 100
Send, {Tab}
Sleep 100
Send, {Alt Up}
Sleep 100

Send, {Tab}
Sleep 100

Send {Ctrl Down}v{Ctrl Up}
Sleep 100

Send {Enter}
Sleep 1500

Send {Shift Down}
Sleep 100
Send {Tab}
Sleep 100
Send {Shift Up}
Sleep 100

Send, {Right}
Sleep 100
Send, {Right}
Sleep 100

Send {Enter}
Sleep 1000

Send {F3}
Sleep 100
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: F3 command

09 Jun 2017, 14:39

Just before your "x" command put in a call to F3 and see if your script triggers it. Most likely it's executing the F3, but just not in the way you are expecting. Maybe your focus isn't on the correct window?

Code: Select all

F3::Msgbox
x::
... ; your existing code
Also, do the modifier keys not work for you? i.e. Send, ^c is equal to (if not better than) Send, {Ctrl Down}c{Ctrl Up}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 246 guests