Jump to content

Student_coder

Active Members
  • Posts

    25
  • Joined

  • Last visited

About Student_coder

  • Birthday 02/12/1993

Profile Information

  • Location
    India

Recent Profile Visitors

109 profile views

Student_coder's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Am stuck in between this script. Please let me know if there is any way to it.
  2. 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??
  3. No one is there.
  4. 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 ??
  5. @Jules - Hi , But if we use Run command it will run in another window na. I want it in same UI. Thanks
  6. Most probably you might not have completed the "previous if statement". Please check it once.
  7. 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??
  8. Previously I was working in python scripting. Recently I have moved to Autoit. In Python Used import one .py file into another .py file and can also import classes from one to another. Is it possible in AutoIt.
  9. @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 ??
  10. @pranaynanda ok Pranay. I will try as you said. Thanks.
  11. @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.
×
×
  • Create New...