EpicKnarvik97 Posted August 1, 2013 Posted August 1, 2013 I have made a function to start some jar files: Run("java " & $chosen & ' -jar "BungeeCord.jar"', 'E:\Spill\Alle spill\Minecraft\bungee', $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Bungee") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Hub", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Hub") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Survival", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Survival") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\KnarWorld", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "KnarWorld") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Plotworld", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Plotworld") Sleep(1000) Then I made an easy function to stop it: ControlSend("Bungee", "", "", "end {ENTER}") ControlSend("Hub", "", "", "stop {ENTER}") ControlSend("Survival", "", "", "stop {ENTER}") ControlSend("KnarWorld", "", "", "stop {ENTER}") ControlSend("Plotworld", "", "", "stop {ENTER}") When I am running it normal, it isn't any problems. The problem is when I am using @SW_HIDE to hide the console. Then the first and last item doesn't stop. I don't know why or how to get it to work.
jaberwacky Posted August 1, 2013 Posted August 1, 2013 I have made a function to start some jar files: Run("java " & $chosen & ' -jar "BungeeCord.jar"', 'E:\Spill\Alle spill\Minecraft\bungee', $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Bungee") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Hub", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Hub") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Survival", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Survival") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\KnarWorld", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "KnarWorld") Sleep(1000) Run("java " & $chosen & ' -jar "spigot-1.6.2-R0.1.jar"', "E:\Spill\Alle spill\Minecraft\Bungee Servers\Plotworld", $Hide) WinSetTitle("C:\Windows\system32\java.exe", "", "Plotworld") Sleep(1000) Then I made an easy function to stop it: ControlSend("Bungee", "", "", "end {ENTER}") ControlSend("Hub", "", "", "stop {ENTER}") ControlSend("Survival", "", "", "stop {ENTER}") ControlSend("KnarWorld", "", "", "stop {ENTER}") ControlSend("Plotworld", "", "", "stop {ENTER}") When I am running it normal, it isn't any problems. The problem is when I am using @SW_HIDE to hide the console. Then the first and last item doesn't stop. I don't know why or how to get it to work. Anything related to game automation is expressly forbidden. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
Moderators Melba23 Posted August 1, 2013 Moderators Posted August 1, 2013 EpicKnarvik97,jaberwocky6669 is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. Thread locked. But welcome to the AutoIt forum - and see you soon with a legitimate question I hope. 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
Recommended Posts