Dragonz Posted April 15, 2011 Share Posted April 15, 2011 hello and iam again looking for help , sorry for it iam looked in auto it help but i still dont know good i need to make GUI "Brows" to select the path i want to do in the script it will be awsome if you guys let to me Script Exmpel thanks any way Link to comment Share on other sites More sharing options...
katoNkatoNK Posted April 15, 2011 Share Posted April 15, 2011 (edited) Edit. Edited April 27, 2023 by katoNkatoNK Link to comment Share on other sites More sharing options...
Dragonz Posted April 15, 2011 Author Share Posted April 15, 2011 ok sorry for it but iam too noob i have this script to make my auto restat but iam still dont know about looping, but this not the problem now i cant even start , i must put my script in my program that need to restart path here is my script WinClose("LoginServer") Sleep(3000) Run("LoginServer.exe") WinWaitActive("LoginServer") Sleep(4*600000) and WinClose("Gameserver") Sleep(3000) Run("gameserver.exe") WinWaitActive("Gameserver") Sleep(4*600000 and this now that script that i got help on it expandcollapse popup#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.6.1 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Box = GUICreate("Servers Paths", 300, 150, 500, 177) $Input1 = GUICtrlCreateInput("Login Server Path", 8, 8, 193, 21) $Input2 = GUICtrlCreateInput("Game Server Path", 8, 70, 193, 21) $Button1 = GUICtrlCreateButton("Browse", 8, 32, 75, 25) $Button2 = GUICtrlCreateButton("Browse", 8, 95, 75, 25) GUISetState(@SW_SHOW) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $path=FileOpenDialog("Select File",@ScriptDir,"LoginServer(LoginServer.exe)") GUICtrlSetData($Input1,$path) Case $Button2 $path=FileOpenDialog("Select File",@ScriptDir,"GameServer(GameServer.exe)") GUICtrlSetData($Input2,$path) EndSwitch WEnd how can i make the Gui when i get the path it Start The Auto Restart as well without i must put the script in program path i will be so thank you if i got help with Script Exmpel Thank you. Link to comment Share on other sites More sharing options...
Dragonz Posted April 15, 2011 Author Share Posted April 15, 2011 no one can help me ? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 15, 2011 Moderators Share Posted April 15, 2011 Dragonz, Please do not bump your posts within 24 hours. Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online. Be patient and someone will answer eventually. M23  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: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area  Link to comment Share on other sites More sharing options...
Dragonz Posted April 15, 2011 Author Share Posted April 15, 2011 Dragonz,Please do not bump your posts within 24 hours. Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online. Be patient and someone will answer eventually. M23ohh iam really sorry for annoying ok then i will wait. thanks alot Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 15, 2011 Moderators Share Posted April 15, 2011 Dragonz,ok then i will waitM23  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: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area  Link to comment Share on other sites More sharing options...
Ahmed97 Posted April 15, 2011 Share Posted April 15, 2011 (edited) hello and iam again looking for help , sorry for it iam looked in auto it help but i still dont know good i need to make GUI "Brows" to select the path i want to do in the script it will be awsome if you guys let to me Script Exmpel thanks any way Try this Little code ^^ #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $blabla = GUICreate("Test Program", 293, 73) $input = GUICtrlCreateInput("", 80, 8, 121, 21) $Browse = GUICtrlCreateButton("Browse", 208, 8, 75, 25, $WS_GROUP) $Exit = GUICtrlCreateButton("Exit", 208, 40, 75, 25, $WS_GROUP) $txt = GUICtrlCreateLabel("Select Folder", 8, 10, 66, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE Or $nMsg = $Exit Exit Case $nMsg = $Browse $Select = FileSelectFolder("Choose Folder","") GUICtrlSetData($input, $Select) EndSelect WEnd hope this help you GL Edited April 15, 2011 by TheMaster Link to comment Share on other sites More sharing options...
Dragonz Posted April 16, 2011 Author Share Posted April 16, 2011 Try this Little code ^^ #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $blabla = GUICreate("Test Program", 293, 73) $input = GUICtrlCreateInput("", 80, 8, 121, 21) $Browse = GUICtrlCreateButton("Browse", 208, 8, 75, 25, $WS_GROUP) $Exit = GUICtrlCreateButton("Exit", 208, 40, 75, 25, $WS_GROUP) $txt = GUICtrlCreateLabel("Select Folder", 8, 10, 66, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE Or $nMsg = $Exit Exit Case $nMsg = $Browse $Select = FileSelectFolder("Choose Folder","") GUICtrlSetData($input, $Select) EndSelect WEnd hope this help you GL thank you for help but i think i got help befor about this once but iam still looking for another script that in my scond replay Link to comment Share on other sites More sharing options...
Dragonz Posted April 18, 2011 Author Share Posted April 18, 2011 So guys can u give me any Expmel to Merge the bothe Scripts to be can Start with Gui the one i have made ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now