Jump to content

Au3Record 3.3 and some problems


mike2003
 Share

Recommended Posts

i have fresh installation of autoit3 and SciTE4AutoIt3

windows 7-64 Ultimate

start SciTE and Au3Record from Tools menu

#region --- Au3Recorder generated code Start ---
_WinWaitActivate("E:\test.au3 * SciTE","Source")
MouseClick("left",262,275,1)
MouseClick("left",272,358,1)
")

#region --- Internal functions Au3Recorder Start ---
Func _WinWaitActivate($title,$text,$timeout=0)
    WinWait($title,$text,$timeout)
    If Not WinActive($title,$text) Then WinActivate($title,$text)
    WinWaitActive($title,$text,$timeout)
EndFunc
#endregion --- Internal functions Au3Recorder End ---

#endregion --- Au3Recorder generated code End ---
#endregion --- Au3Recorder generated code End ---

where "Opt("MouseCoordMode", ***)"? (http://www.autoitscript.com/autoit3/scite/docs/AU3record.htm)

without that all mouse coords are wrong

Why i have double comments in the end? and ") in 5 line?

something wrong with my install???

PS and i have "DLL load failed" in Au3Record_x64.exe and use Au3Record.exe

Link to comment
Share on other sites

PS and i have "DLL load failed" in Au3Record_x64.exe and use Au3Record.exe

i use procmon.exe on Au3Record_x64.exe

it try to find ASWhook_x64.dll

but no such files in installation!!!

after use of standalone Au3Record.exe i have

#region ---Au3Recorder generated code Start ---
Opt("WinWaitDelay",100)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)

_WinWaitActivate("AkelPad","")
MouseClick("left",165,190,1)
MouseClick("left",52,84,1)

#region --- Internal functions Au3Recorder Start ---
Func _WinWaitActivate($title,$text,$timeout=0)
    WinWait($title,$text,$timeout)
    If Not WinActive($title,$text) Then WinActivate($title,$text)
    WinWaitActive($title,$text,$timeout)
EndFunc
#endregion --- Internal functions Au3Recorder End ---

#endregion --- Au3Recorder generated code End ---

why so differents codes from tools menu and standalone?

look like from tools bugged version

Edited by mike2003
Link to comment
Share on other sites

I dont think many do.

I once tried it when I first found autoit3 but it was just to see what it did, its not like its reliable for use in a script proper, but rather some demo code generator for simple operations that you have to clean up and then run.

All I can say, is dont use it, write the code yourself.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

nobody uses Au3Record?

Probably nobody :-)

It's only for people who can't write even simple scripts.

It's very limited and produces only very simple scripts.

So it's always better to write such simple scripts by hand with help of Au3Info tool.

In case of problems you can get help in the helpfile or here at forum ...

Edited by Zedna
Link to comment
Share on other sites

I have used it (for small things), though I have mostly used it to demonstrate the shortcomings of capture/replay techniques to ppl.

Maintenance is the issue with such scripts the Recorder produces also it does not capture 'everything' correctly so usually have to tweak the script after the fact.

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Link to comment
Share on other sites

  • 1 month later...

Probably nobody :-)

It's only for people who can't write even simple scripts.

It's very limited and produces only very simple scripts.

So it's always better to write such simple scripts by hand with help of Au3Info tool.

In case of problems you can get help in the helpfile or here at forum ...

I agree with the above but it's very useful when you want to record, quickly and accurately, lots of consecutive mouse clicks. I prefer to send a string of keystrokes when automating the navigation of a web page, but some browsers don't play ball (such as Opera) so mouse clicks it is.

Tip: Run Au3Record.exe not Au3Record_x64.exe if you want to use it on Windows 7. The link from the menu within SciTE will always point to the 64-bit version so don't use this but run the 32-bit version manually instead (path is "C:\Program Files (x86)\AutoIt3\Extras\Au3Record\").

Edited by PaulBerry
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...