settler Posted September 28, 2021 Posted September 28, 2021 Hello all, firstly, a big Thank-You to all developers & admins for creating an awesome free macro language & editor and support forum! I've found a strange bug and have already searched for solutions, but i can't find the correct #include file which is needed here 😕 Is there something i missed? #include <AutoItConstants.au3> #include <Constants.au3> #include <Misc.au3> #include <MsgBoxConstants.au3> #include <GUIConstantsEx.au3> AutoItSetOption(SendKeyDelay,80) AutoItSetOption(SendKeyDownDelay,20) ; Opt(SendKeyDelay,80) ; Opt(SendKeyDownDelay,20) This gave this result: >Running AU3Check (3.3.14.5) from:E:\Apps\AutoIt3 input:E:\Apps\AutoIt3_my_scripts\test.au3 "E:\Apps\AutoIt3_my_scripts\test.au3"(7,29) : error: SendKeyDelay(): undefined function. AutoItSetOption(SendKeyDelay, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "E:\Apps\AutoIt3_my_scripts\test.au3"(8,33) : error: SendKeyDownDelay(): undefined function. AutoItSetOption(SendKeyDownDelay, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ E:\Apps\AutoIt3_my_scripts\test.au3 - 2 error(s), 0 warning(s) !>08:25:22 AU3Check ended. Press F4 to jump to next error.rc:2 +>08:25:22 AutoIt3Wrapper Finished. >Exit code: 0 Time: 0.7933 PS: i tested with both variants, to no avail (this is just my tiny test-prog to solve this issue for my main project) Before i used that Keyboard-option, my >700 line program (including lots of comments) compiled and ran perfectly without any issues.  Thanks for your time, settler
Solution Danyfirex Posted September 28, 2021 Solution Posted September 28, 2021 Hello. It needs a string as option parameter. Opt('SendKeyDelay',80) Opt('SendKeyDownDelay',20)  Saludos Leendert-Jan and settler 2  Danysys.com     AutoIt...  UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection  PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut  Â
settler Posted September 28, 2021 Author Posted September 28, 2021 *massive facepalm* Thank you soo much, dear Sir/Madam! Â Leendert-Jan 1
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