AHRIMANSEFID Posted January 17, 2012 Share Posted January 17, 2012 (edited) Hi All. Plz Help For Fixed & Import Reg Or SN. Thanks A Lot. expandcollapse popup#region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- Func _Au3RecordSetup() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- Run('Setup.exe') _WinWaitActivate("CrazyTalk Animator PRO Setup","The InstallShield Wi") MouseClick("left",376,364,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Please read the foll") MouseClick("left",218,280,1) MouseClick("left",380,352,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Please enter your na") MouseClick("left",114,379,1) Send("{CTRLDOWN}v{CTRLUP}") MouseClick("left",363,442,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Setup will install C") MouseClick("left",365,357,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Please select the fo") MouseClick("left",365,357,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Setup will add progr") MouseClick("left",365,357,1) _WinWaitActivate("CrazyTalk Animator PRO","To run CrazyTalk Ani") MouseClick("left",226,101,1) _WinWaitActivate("Installing Microsoft(R) DirectX(R)","Installing Microsoft") MouseClick("left",246,295,1) MouseClick("left",367,369,1) MouseClick("left",367,369,1) MouseClick("left",367,369,1) _WinWaitActivate("CrazyTalk Animator PRO Setup","Open the Readme file") MouseClick("left",216,194,1) MouseMove(181,159) MouseDown("left") MouseMove(181,158) MouseUp("left") MouseClick("left",374,354,1) #endregion --- Au3Recorder generated code End --- C:Documents and SettingsAdministratorDesktopCrazyTalk Animator Pro 1.11.1614.1001.au3(19,16) : ERROR: AU3RecordSetup(): undefined function. AU3RecordSetup() ~~~~~~~~~~~~~~~^ C:Documents and SettingsAdministratorDesktopCrazyTalk Animator Pro 1.11.1614.1001.au3 - 1 error(s), 0 warning(s) Edited January 17, 2012 by AHRIMANSEFID Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 17, 2012 Moderators Share Posted January 17, 2012 AHRIMANSEFID,Help For FixedWhat is wrong with the script at the moment? It is difficult to debug something when you do not know what is going wrong. Import Reg Or SNAre you asking someone to provide you with a valid registration or serial number? 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...
sleepydvdr Posted January 17, 2012 Share Posted January 17, 2012 What you are looking for is a function called RegWrite. The easiest way to figure out RegWrite entries is this thread: On the script in the first post, you will need to comment out lines 234 and 270 (put a semicolon at the beginning of those lines). As for the registry entry, you will have to locate the serial number on your system using regedit. Export the key as a Win9x/NT 4 Registration Files type. If you export it any other way, it won't work with the reg2au3 script. Finally, run the reg2au3 script and point to the registry entry that you exported. #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
BrewManNH Posted January 17, 2012 Share Posted January 17, 2012 @AHRIMANSEFID Your error message is telling you that AU3RecordSetup isn't found, that's because your function name starts with an underscore (_AU3RecordSetup) you need to fix that line in the script to point to the correct function name. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
AHRIMANSEFID Posted January 17, 2012 Author Share Posted January 17, 2012 @AHRIMANSEFIDYour error message is telling you that AU3RecordSetup isn't found, that's because your function name starts with an underscore (_AU3RecordSetup) you need to fix that line in the script to point to the correct function name.Ok Plz Help me For Fixed Link to comment Share on other sites More sharing options...
Developers Jos Posted January 17, 2012 Developers Share Posted January 17, 2012 Ok Plz Help me For FixedHe did already tell you what is wrong. 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. Link to comment Share on other sites More sharing options...
PPCC Posted January 26, 2012 Share Posted January 26, 2012 Actually I've just had the same problem. As JLogan3o13 said here:http://www.autoitscript.com/forum/topic/136383-au3recordexe-error-unknown-function-name/page__view__findpost__p__955094 The code:...AU3RecordSetup()#endregion --- Internal functions Au3Recorder End ---...should be correct as:..._AU3RecordSetup()#endregion --- Internal functions Au3Recorder End ---...The problem's solved.However, you should change some code in your script without MouseClick... to easy control. See my example:#region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- Func _Au3RecordSetup() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc _AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- Run('D:SetupOffice ToolsTeXLyXInstaller.exe') _WinWaitActivate("LyX 2.0.2-1 Setup","") Send("{ALTDOWN}n{ALTUP}") _WinWaitActivate("LyX 2.0.2-1 Setup ","") Send("{ALTDOWN}a{ALTUP}{ALTDOWN}n{ALTUP}") _WinWaitActivate("LyX 2.0.2-1 Setup","") Send("{TAB}{TAB}{TAB}{TAB}D:PortableMiKTeXmiktexbin{ALTDOWN}n{ALTUP}{ENTER}") _WinWaitActivate("Program Manager","") _WinWaitActivate("LyX 2.0.2-1 Setup","") _WinWaitActivate("LyX 2.0.2-1 Setup ","") Send("D:PortableLyX{ALTDOWN}i{ALTUP}") _WinWaitActivate("LyX 2.0.2-1 Setup ","Completing the LyX 2") Send("{ALTDOWN}f{ALTUP}") #endregion --- Au3Recorder generated code End --- 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