Jump to content

Coding editor (client or somethink like that ) ?


lifesux
 Share

Recommended Posts

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

Link to comment
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.

Link to comment
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.

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
Link to comment
Share on other sites

  • Developers

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

You're kidding...right?

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

Link to comment
Share on other sites

  • Developers

Give it a try and come back when you have something to show for and have a issue with what you are working on.

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

Link to comment
Share on other sites

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