Jump to content

AutoIt Macro Generator not work why?


Recommended Posts

Hi.

Me Need Help For Fix Code in login page.

Site Lange Persian(Farsi)

yon.ir/aQGQ
;--- AutoIt Macro Generator V 0.21 beta ---
Opt("WinTitleMatchMode", 4)
WinWait("???? - HRC - Mozilla Firefox","")
ControlClick("???? - HRC - Mozilla Firefox","","MozillaWindowClass0")
WinWait("classname=MozillaWindowClass","")
ControlClick("classname=MozillaWindowClass","","MozillaWindowClass0")
WinWait("???? - HRC - Mozilla Firefox","")
ControlClick("???? - HRC - Mozilla Firefox","","MozillaWindowClass0")
ControlClick("???? - HRC - Mozilla Firefox","","MozillaWindowClass0")
WinWait("???? ????? - ???? - HRC - Mozilla Firefox","")
ControlClick("???? ????? - ???? - HRC - Mozilla Firefox","","MozillaWindowClass0")
WinWait("classname=MozillaWindowClass","")
ControlClick("classname=MozillaWindowClass","","MozillaWindowClass0")
WinWait("???? ????? - ???? - HRC - Mozilla Firefox","")
ControlClick("???? ????? - ???? - HRC - Mozilla Firefox","","MozillaWindowClass0")

Au3Recorder Test But Not Work.

Send("㈀㌀㤀㌀")

#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

#endregion --- Internal functions Au3Recorder End ---

_WinWaitActivate("سپهر - HRC - Mozilla Firefox","")
MouseClick("left",601,273,1)
MouseClick("left",633,311,1)
MouseClick("left",627,359,1)
Send("㈀㌀㤀㌀")
MouseClick("left",672,395,1)
_WinWaitActivate("رزرو پرواز - سپهر - HRC - Mozilla Firefox","")
MouseClick("left",937,294,1)
MouseClick("left",941,594,1)
MouseClick("left",496,281,1)
#endregion --- Au3Recorder generated code End ---

 

Edited by AHRIMANSEFID
Link to comment
Share on other sites

You need to save the file in UTF8 with BOM encoding in menu File > Encoding. Do that once then add something to the source and save it.

Your Farsi text should then work fine.

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

  • Moderators

AHRIMANSEFID, you have already had a post locked for trying to bypass a CAPTCHA, here

Care to explain how this is any different?

"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

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...