Sign in to follow this  
Followers 0
13lack13lade

send f14

7 posts in this topic

#1 ·  Posted (edited)

Hi All,

Just trying to automate a program at work and im trying to get autoit to send the F14 key however send("{F14}") doesn't work, the {F14} doesn't even come up grey like the other function keys do in the script. Also since there is no f14 key the program i am using uses NUMPAD * as the f14 key however not sure how come i cant send {F14} or {NUMPAD *}... surely just missing something, any idea's?

I've found some posts on the forum from 2009 that state autoit doesnt accommodate as f14 is not part of the standard keyboard, so is there a way to make it press the numpad * button else how do i work around it?

 

Thanks guys!!!

Edited by 13lack13lade

Share this post


Link to post
Share on other sites



Did you try sending a normal " * " ?

Share this post


Link to post
Share on other sites

* Doesnt count as a Numpad * thus doesnt count as F14 :(

Share this post


Link to post
Share on other sites

13lack13lade,

Try using {NUMPADMULT} - that is the key you press manually. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

use below but then with the right value for VK_F14 value

 

To send the ASCII value A (same as pressing ALT+065 on the numeric keypad)

    Send("{ASC 065}")

(When using 2 digit ASCII codes you must use a leading 0, otherwise an obsolete 437 code page is used).

To send UNICODE characters enter the character code (decimal or hex), for example this sends a Chinese character

    Send("{ASC 2709}") or Send("{ASC 0xA95}")

VK_F14 0x7D F14 key

VK_F15 0x7E F15 key

VK_F16 0x7F F16 key

VK_F17 0x80 F17 key

VK_F18 0x81 F18 key

VK_F19 0x82 F19 key

VK_F20 0x83 F20 key

VK_F21 0x84 F21 key

VK_F22 0x85 F22 key

VK_F23 0x86 F23 key

VK_F24 0x87 F24 key

Edited by junkew

Share this post


Link to post
Share on other sites

HotKeySet("{ESC}", "_ESC")
HotKeySet("{F2}", "_F2")
HotKeySet("+{F2}", "_F14") ; shift F2
Func _F2()
    MsgBox(262144, Default, "F2", 0)
EndFunc   ;==>_F2
Func _F14()
    MsgBox(262144, Default, "F14", 0)
EndFunc   ;==>_F14
Func _ESC()
    Exit
EndFunc   ;==>_ESC
While 1
    Sleep(100)
WEnd


My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
Share on other sites

awesome!

Thank you guys!! 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0