Jump to content

Au3Recorder auto install CrazyTalk


Recommended Posts

Hi All.

Plz Help For Fixed & Import Reg Or SN.

Thanks A Lot.

#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 by AHRIMANSEFID
Link to comment
Share on other sites

  • Moderators

AHRIMANSEFID,

Help For Fixed

What 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 SN

Are you asking someone to provide you with a valid registration or serial number? :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

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

@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 Gude
How 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

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...