Sign in to follow this  
Followers 0
Xtian

Macro Maker

5 posts in this topic

Hi and Good day to all! :blink:

I decided to create my own macro maker using AutoIT.

This should be simple but I don't know the right code to make it run :P

kindly check my code below and help me if you know what to do.

what i need is to run the code displayed on the screen window.

Here's my code: (Help) :

#include <GuiConstantsEx.au3>

GUICreate("Macro Editor",200,200)

$winName = GUICtrlCreateInput("Untitled - Notepad",10,10,180)

$screen = GUICtrlCreateEdit("",10,40,180,100)

$start = GUICtrlCreateButton("Start",10,150,100,20)

GUISetState()

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_Event_Close()

Exit

Case $msg = $start

$readWinName = GUICtrlRead($winName)

GUICtrlSetData($screen,"WinActivate(" & chr(34) & $readWinName & chr(34) & ")"); i want to run this code... r_r

EndSelect

WEnd

...........

Thanks in advance.. ;)


Sorry for being noob but... thanks to you im learned something new.

Share this post


Link to post
Share on other sites



*Bump

I already found the code..

all I need is the "execute function" :blink:

you can ignore this now ;)

sorry for the trouble.

Thanks.

Kampai!! :P


Sorry for being noob but... thanks to you im learned something new.

Share this post


Link to post
Share on other sites

*Bump

I already found the code..

all I need is the "execute function" ;)

you can ignore this now :P

sorry for the trouble.

Thanks.

Kampai!! :

If you use Execute you can only run 1 autoit line. Right? :blink:

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

If you use Execute you can only run 1 autoit line. Right? :blink:

Yah r_r and so again im looking for a way to make it run..

i can only execute 1 line. sob Y_Y


Sorry for being noob but... thanks to you im learned something new.

Share this post


Link to post
Share on other sites

Yah r_r and so again im looking for a way to make it run..

i can only execute 1 line. sob Y_Y

You could run multiple lines with AutoIt3.exe, (C:\Program Files (x86)\AutoIt3\AutoIt3.exe) using some parameters.

Search around the forum, there are plenty of topics about it.


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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