happycoder Posted January 9, 2012 Share Posted January 9, 2012 Hi guysNice to have found this cool forum and toy! After trying to start a script wich was created with Au3Record.exe (latest Version on Windows 7 x64 with SP1), i get everytime the error:AU3RecordSetup()^ ERRORError: Unknown function nameHmm, after asking google and this forum, i was not successfull to find any answers.Do you know where the problem could be?#region ---Au3Recorder generated code Start (v3.3.7.0) ---#region --- Internal functions Au3Recorder Start ---Func _AU3RecordSetup()Opt('WinWaitDelay',500)Opt('WinDetectHiddenText',1)Opt('MouseCoordMode',0)EndFuncFunc _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout)EndFuncAU3RecordSetup()#endregion --- Internal functions Au3Recorder End ---Run('\\server\PRG\Neat Image Pro 5.x\V5.9\NeatSetup.exe')_WinWaitActivate("Setup - Neat Image","")Opt('WinWaitDelay',2000)MouseClick("left",357,359,1)Send("{TAB}{TAB}{SHIFTDOWN}{TAB}{SHIFTUP}{UP}{TAB}{TAB}{ENTER}{ENTER}")_WinWaitActivate("Folder Exists","")Opt('WinWaitDelay',500)Send("{ENTER}")_WinWaitActivate("Setup - Neat Image","")Send("{TAB}{TAB}{TAB}{ENTER}{SPACE}{TAB}{SPACE}{TAB}{TAB}{TAB}{ENTER}{ENTER}{TAB}{ENTER}{TAB}{TAB}{ENTER}")Opt('WinWaitDelay',3000)_WinWaitActivate("Information","")Opt('WinWaitDelay',500)Send("{ENTER}{ENTER}")_WinWaitActivate("Neat Image Pro / Filtration Job Editor","")Send("{ALTDOWN}{ALTUP}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{LEFT}{ENTER}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{ENTER}{ALTDOWN}{ALTUP}d{ALTDOWN}d{ALTUP}{ALTDOWN}f{ALTUP}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{ENTER}")#endregion --- Au3Recorder generated code End ---This is the script..Any Ideas?GreeetingsHappyCoder Link to comment Share on other sites More sharing options...
LarsJ Posted January 9, 2012 Share Posted January 9, 2012 Because the function name in the function definition at the top of the script starts with an underscore. Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
AHRIMANSEFID Posted January 17, 2012 Share Posted January 17, 2012 Plz Add Example. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 17, 2012 Moderators Share Posted January 17, 2012 Hi, Ahrimansefid. Lars is trying to point out a typo in your provided script. At the top, you have the function declared as "Func _AU3RecordSetup()". However when you call the function, you don't have the "_", it is just AU3RecordSetup(). You need to adjust accordingly "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
AHRIMANSEFID Posted January 17, 2012 Share Posted January 17, 2012 See Link Fixed. Sorry And Thanks. http://www.autoitscript.com/forum/topic/136655-au3recorder-auto-install-crazytalk/ 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