Sign in to follow this  
Followers 0
lifesux

Coding editor (client or somethink like that ) ?

9 posts in this topic

Hi guys.

first i want to say sorry for my bad english please try to understand what i want to do...

i want to do a script which i can set the other scripts(exe) settings.

like that,

first user will download my exe its a gui like that :

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 200, 118, 263, 231)
$Input1 = GUICtrlCreateInput("Name", 16, 8, 161, 24)
$Button1 = GUICtrlCreateButton("Save", 64, 72, 75, 25, $WS_GROUP)
$Input2 = GUICtrlCreateInput("Age", 16, 40, 161, 24)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###[/b]
[b]While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit[/b]
[b]EndSwitch
WEnd

user will write name and age then click save button. save button must create a new exe like that function :

Send("usersname")
Send("usersage")

how can i do it ?

Please help me.

Thanks

Share this post


Link to post
Share on other sites



I'm not 100% certain what you are asking, or if my answer is accurate.

I think Autoit needs to be installed for a script to be compiled on a machine.

And perhaps you are looking for $CmdLine[] array which any compiles autoit script can take

arguments/parameters from.

Search 'commandline' in help file for more details.


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

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I'm not 100% certain what you are asking, or if my answer is accurate.

I think Autoit needs to be installed for a script to be compiled on a machine.

And perhaps you are looking for $CmdLine[] array which any compiles autoit script can take

arguments/parameters from.

Search 'commandline' in help file for more details.

I am noob at autoit. can you try then write to code here please ?

or if we cant do what i want can we do that? :

we have one exe and one .au3 file. can we change the .au3 code with exe ?

like that we have a exe :

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 200, 118, 263, 231)
$Input1 = GUICtrlCreateInput("Name", 16, 8, 161, 24)
$Button1 = GUICtrlCreateButton("Save", 64, 72, 75, 25, $WS_GROUP)
$Input2 = GUICtrlCreateInput("Age", 16, 40, 161, 24)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###[/b]
[b]While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit[/b]
[b]EndSwitch
WEnd

user will write name age and then press save button. the second file .au3 file ( not exe ) must change like that :

Send("usersname")
Send("usersage")
its .au3 not exe like first .
Edited by lifesux

Share this post


Link to post
Share on other sites

You're kidding...right?

Sorry . I dont know its a hard code.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

I am trying FileWrite but filewrite command writes random. i want to write "here" ( example )

xxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx here xxxxxxxxxxxxxxxxxxxxxxxxxx

how can i do that ?

Edited by lifesux

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