Demonfaze Posted March 26, 2009 Share Posted March 26, 2009 In one of the example scripts, the "!" string is used to signify the 'alt' key. Is there a list/dictionary that I can reference for other similar keys, such as ctrl, fn, or tab? I searched the help file as well as the forums, but I have not been able to find what I am looking for. Thanks. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 26, 2009 Share Posted March 26, 2009 First of all, Hi And Welcome to the forum! You can find a list of those keys in the helpfile under AutoIt/Function Reference/Keyboard Control/Send .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...
Mat Posted March 26, 2009 Share Posted March 26, 2009 (edited) I searched the help file as well as the forums, but I have not been able to find what I am looking for.func ref \ keyboard control \ sendscroll down and its got the listSend Command (if zero flag) Resulting Keypress {APPSKEY} Windows App key {LALT} Left ALT key {RALT} Right ALT key {LCTRL} Left CTRL key {RCTRL} Right CTRL key {LSHIFT} Left Shift key {RSHIFT} Right Shift key etc.Thats probably what your looking for. Edited March 26, 2009 by mdiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 26, 2009 Share Posted March 26, 2009 I have to say, when I was first learning, figuring out the send commands was annoying. The !,+,^,and # aren't on the tables for quick easy reference. But they are explained in the Remarks section. I think he was looking for what is on that page but in a quick reference format. Giggity Link to comment Share on other sites More sharing options...
Demonfaze Posted March 26, 2009 Author Share Posted March 26, 2009 Thanks for the help, mdiesel and youknowhwho4eva. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 26, 2009 Moderators Share Posted March 26, 2009 Demonfaze,keys, such as ctrl, fn, or tabDo not waste any of your time looking for a character which Sends a laptop fn key - the key is hardware based and cannot be utilised in AutoIt.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SpookMeister Posted March 26, 2009 Share Posted March 26, 2009 Demonfaze, Do not waste any of your time looking for a character which Sends a laptop fn key - the key is hardware based and cannot be utilised in AutoIt. M23Unless you are referring to F6 F7 etc in which case you just use Send("{F8}") [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 26, 2009 Share Posted March 26, 2009 Well those would be f Keys, the keys Melba is referring to are keyboard function keys. Which could only be simulated by creating a function in your script to mimic what function that key is referring to or somehow accessing the keyboard software and sending that command from there. Giggity Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 26, 2009 Moderators Share Posted March 26, 2009 Hi,Just to be absolutely clear, I was referrring to the key found on laptops marked Fn or fn (and often coloured in blue) which, when used in combination with another key, lets the user do such things as get a numerical keypad on the normal keyboard, change screen brightness, etc. Many have asked if it is possible to use this key in Autoit and the answer has always been a very firm "No" as it is hardware based.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 26, 2009 Share Posted March 26, 2009 Impossible to stimulate key press using standard AutoIt Functions? yes Impossible to simulate the function of the key press? no you couldn't Send({FN} + "7") but you could possibly simulate what that key press does Giggity 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