Jump to content

Recommended Posts

Posted (edited)

I am writing to the Autoit team and the rest of the Autoit members if they can create or help on this.

Can anyone or the Autoit team create a software that can Convert AU3 Recorder script to UDF's and Functions, script that we see in the Autoit Help File?

Like you have a GUI which has two (2) edit box and a button, the first Edit box is used to put your AU3 Recorder script and when you click the button it shows the UDF or Function script in the second Edit box.

Below is a step in doing this,

1. Put or Copy and Paste this script you got from AU3 Recorder into first Edit box:

  Quote

#region --- Au3Recorder generated code Start ---

_WinWaitActivate("classname=Shell_TrayWnd","")

MouseClick("left",19,16,1)

MouseClick("left",47,-62,1)

_WinWaitActivate("Run","")

MouseClick("left",168,160,1)

_WinWaitActivate("Untitled - Notepad","")

MouseClick("left",966,6,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 ---

2. Click the Convert button

3. Code showing the Function in the second Edit box:

  Quote

Run("notepad.exe")

WinClose("Untitled - Notepad")

Thank You

Edited by edena
  • Developers
Posted

  On 8/22/2011 at 11:34 PM, 'edena said:

I am writing to the Autoit team and the rest of the Autoit members if they can create or help on this.

Can anyone or the Autoit team create a software that can Convert AU3 Recorder script to UDF's and Functions, script that we see in the Autoit Help File?

Anything else with that? :mellow:

Seriously, do you have any idea what you are asking here?

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

  • Moderators
Posted

Jos,

  Quote

Seriously, do you have any idea what you are asking here?

I think the rest of us do - which is why there are no replies! :mellow:

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:

  Reveal hidden contents

 

Posted

Hi Jos,

It's just a ask. All I'm saying is, Is it possible?, "yes" or "no".

Hi Melba23,

Okay you're the smart ones but I just need a simple "yes" or "no" answer. Bro really really I'm bad in programming but I'm kinda getting somewhere. hope.

Hi monoscout999,

Thanks for the answer option but I kind of don't really understand it. Can you give me more hint (not a script) just explaining it clear.

thanks all for the replies.

Posted

Sorry i didn`t undertand your question before... i think that is something complicated to do... you need to know the possition of every control in existing windows to do the translation of the mouseclicks.

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
  • Recently Browsing   0 members

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