Sign in to follow this  
Followers 0
edena

Can Autoit's AU3 Recorder and SciTE do this?

7 posts in this topic

#1 ·  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:

#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:

Run("notepad.exe")

WinClose("Untitled - Notepad")

Thank You

Edited by edena

Share this post


Link to post
Share on other sites



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?


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Jos,

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


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites

You can drag your AU3 File into the notepad if you want :S

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

To give you a short answer: NO

The long answer is: it might be possible but I really doubt anyone will attempt it. Why? Way too much work for a very limited purpose.

1 person likes this

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0