
Student_coder
Active Members-
Posts
25 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by Student_coder
-
Am stuck in between this script. Please let me know if there is any way to it.
-
I have 3 tabs in a GUI. I tried to embed command prompt in one of the tabs but I was not able to do it. Can anyone suggest me a good option??
-
No one is there.
-
I am planning to embed cmd to my GUI. This is the function am using. Func _getDOSOutput($command) Local $text = '', $Pid = Run(@ComSpec & ' /c ' & $command, '', @SW_HIDE, 2 + 4) While 1 $text &= StdoutRead($Pid) If @error Then ExitLoop WEnd GUICtrlSetData($Output,$text) EndFunc;==>_getDOSOutput To the variable "$command" am passing the commands. The problem is that if we ping to a particular ip address it's not pinging. But if we just type ping it's replying. Can anyone points me in the right direction ??
-
Include CMD in the UI
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@Jules - Hi , But if we use Run command it will run in another window na. I want it in same UI. Thanks -
Hi everyone, Am having 3 forms - 1 main_form, a_form and b_form. All of them have close button. In the main_form there is two button besides close button - butn1 and butn2. If we select butn1 a_form will come else if butn2 b_form will come. When I close the main _frame everything will close which is fine. If we click on close button in a_form and b_form then it will close the script which is not fine. If we close a_form or b_form, a_form or b_form should close and main_form should come but it's not happening. I have tried using while loop and switch which effects the whole code. Is there any other way to do this??
-
Delete lines from text file by string match
Student_coder replied to SmartiePants's topic in AutoIt Example Scripts
-
Import .au3 File into another .au3 File
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@AutoBert Ok -
Appending CMD to the GUI
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
ok thanks ... I got it -
Appending CMD to the GUI
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@pranaynanda - Sorry to disturb you again Pranay. In the code you have given me will display the output in a msgbox na....... I want the output too in the same GUI...... That's what am asking....... Can you help me with this ?? -
Appending CMD to the GUI
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@pranaynanda ok Pranay. I will try as you said. Thanks. -
Appending CMD to the GUI
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@pranaynanda If we do in that way then CMD will run in separate window na?? For example if we press one button then cmd should run below the button in the same GUI. -
How Would I Loop Two Seperate Do Functions?
Student_coder replied to Swisss's topic in AutoIt General Help and Support
@_joboy2k Then how will it perfom the "2nd action". I think the way you suggested won't work. Forgive me if am wrong. -
Why AutoIt doesn't support classes??
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@_JLogan3o13 Thank you Logan Can you suggest any specific threads?? -
Good Work man.....
-
Why AutoIt doesn't support classes??
Student_coder posted a topic in AutoIt General Help and Support
Why AutoIt doesn't support classes?? Writing lengthy scripts without classes is clumsy. Does AutoIt Contains classes ?? -
Multiple Form Related
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@AutoBert Thankyou man....... I got it. -
Multiple Form Related
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@AutoBert :- Consider this code. #include <GUIConstantsEx.au3> Global $hButton3 = 9999 gui1() Func gui1() $hGUI1 = GUICreate("Gui 1", 200, 200, 100, 100) $hButton1 = GUICtrlCreateButton("Msgbox 1", 10, 10, 80, 30) $hButton2 = GUICtrlCreateButton("Show Gui 2", 10, 60, 80, 30) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $hButton1 MsgBox("", "MsgBox 1", "Test from Gui 1") Case $hButton2 GUICtrlSetState($hButton2, $GUI_DISABLE) gui2() Case $hButton3 MsgBox("", "MsgBox 2", "Test from Gui 2") EndSwitch WEnd EndFunc ;==>gui1 Func gui2() $hGUI2 = GUICreate("Gui 2", 200, 200, 350, 350) $hButton3 = GUICtrlCreateButton("MsgBox 2", 10, 10, 80, 30) GUISetState() EndFunc ;==>gui2 Here if we select GUI2 and click close button we will come out of the script. That's my problem. The same issue i found in the link that you have given. -
Multiple Form Related
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
@AutoBert :- Ok. I will read it and try to figure it out. Thankyou -
Multiple Form Related
Student_coder replied to Student_coder's topic in AutoIt General Help and Support
Someone please reply me ..... Am stuck in between this script. -
Hi Everyone , Am new in Autoit Coding. Am now trying to automate something. The issue am facing is :- There are 3 Forms in my script. In every form there is close button. If I click on the close button in 1st form then it's going out of the script which is fine. But If I click the close button in the second form it's not coming back to the 1st form. So please let me know if there any solution for this. Thanks for the help