tele 0 Posted October 19, 2007 Dear All, I am trying to use the _MouseTrap() function in Misc.au3. I have included Misc.au3 in my script. However, I got the following error when I run the script: _MousrTrap() ^ERROR Error: Unknown function name. Can someone please help? Thanks! Regards, Terry Share this post Link to post Share on other sites
Jos 2,275 Posted October 19, 2007 _MousrTrap()^ERRORError: Unknown function name.Can someone please help? Thanks!Regards,TerryDid you make a typo ? MouseTrap() should work and is in the standard installer .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
tele 0 Posted October 19, 2007 (edited) Did you make a typo ? MouseTrap() should work and is in the standard installer .. Dear Jos,Sorry! It was a typo in my post. It should be _MouseTrap(). Thanks!I've checked the Misc.au3 file in the Include directory. It only consists of the _Iif() function. My AutoIt installation was done with the autoit-v3-setup.exe that was downloaded from the AutoIt official website. I should have the latest version. I wonder if I need to update the Misc.au3 file separately. If yes, where can I download it please?Terry Edited October 19, 2007 by tele Share this post Link to post Share on other sites
Thatsgreat2345 0 Posted October 19, 2007 download beta and see if it is updated there. Share this post Link to post Share on other sites
Jos 2,275 Posted October 19, 2007 (edited) Dear Jos,Sorry! It was a typo in my post. It should be _MouseTrap(). Thanks!I've checked the Misc.au3 file in the Include directory. It only consists of the _Iif() function. My AutoIt installation was done with the autoit-v3-setup.exe that was downloaded from the AutoIt official website. I should have the latest version. I wonder if I need to update the Misc.au3 file separately. If yes, where can I download it please?Terrymake sure you use the latest AutoIt3 version to also get the updated UDFs Edited October 19, 2007 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
tele 0 Posted October 19, 2007 make sure you use the latest AutoIt3 version to also get the updated UDFs Thanks Mates! I found the "full" Misc.au3 in the zip file (autoit-v3.zip) version of the installation. I over written the C:\Program Files\AutoIt3 directory with those in the zip file. It it working now!Gee! A lot of the include files are out-of-dated in the autoit-v3-setup.exe . I am not sure if there is the way it should be.Thank you very so much! Terry Share this post Link to post Share on other sites