Jump to content

Craberos

Members
  • Posts

    17
  • Joined

  • Last visited

Craberos's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. thanks hannes but it is an exe already i just need the commands to call that window
  2. hello all .... thanks in advance i am trying to select my computer > advanced settings > Performance Settings > select Paging File > so that i can change my paging file size and location can anyone help me write a code .... thanks in advance
  3. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $button_1,$button_2, $button_3, $button_4 Local $Halt, $msg Opt("GUICoordMode", 1) GUICreate("T", 140, 260,$WS_EX_TOPMOST) $button_1 = GUICtrlCreateButton("Earth", 20, 20, 100, 40) $button_2 = GUICtrlCreateButton("Water", 20, 80, 100, 40) $button_3 = GUICtrlCreateButton("Fire", 20, 140, 100, 40) $button_4 = GUICtrlCreateButton("Air", 20, 200, 100, 40) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $GUI_EVENT_MINIMIZE Case $msg = $GUI_EVENT_MAXIMIZE Case $msg = $button_1 WinActivate ("Earth") Case $msg = $button_2 WinActivate ("Water") Case $msg = $button_3 WinActivate ("Fire") Case $msg = $button_4 WinActivate ("Air") Case $Halt = $msg EndSelect WEnd EndFunc
  4. thanks a lot Stefan
  5. hello all thanks for the help previously i would like to create a file called as earth.txt in the folder where i have the script say for example C:\Test so the file will be C:\Test\earth.txt can any one help me with the code thanks in advance ..... greetz Craberos
  6. that did not work i need to make the gui created by autoit to be always on top #include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $button_1,$button_2, $button_3, $button_4 Local $Halt, $msg Opt("GUICoordMode", 1) GUICreate("T", 140, 260) $button_1 = GUICtrlCreateButton("Earth", 20, 20, 100, 40) $button_2 = GUICtrlCreateButton("Water", 20, 80, 100, 40) $button_3 = GUICtrlCreateButton("Fire", 20, 140, 100, 40) $button_4 = GUICtrlCreateButton("Air", 20, 200, 100, 40) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $GUI_EVENT_MINIMIZE Case $msg = $GUI_EVENT_MAXIMIZE Case $msg = $button_1 WinActivate ("Earth") Case $msg = $button_2 WinActivate ("Water") Case $msg = $button_3 WinActivate ("Fire") Case $msg = $button_4 WinActivate ("Air") Case $Halt = $msg EndSelect WEnd EndFunc
  7. hello all thanks for all the help provided can anyone tell me the code to 1. make a GUI always on top thanks craberos
  8. what you have done is great but not working for me ....... please can you look at my code below can you do that and this is what i want could anyone help me convert this script in to a checkbox version right now there are 4 buttons when i click on them an active window which is minimized with that name pops up ..... but i have to click them individually could anyone help me convert them to check box so if i select 3 and press a button they will pop up and stay cascaded and also a button to minimize all active windows and at the start of the programe open 4 files named "earth.txt,fire.txt,water.txt & air.txt" from the source directory so a total of 4 check boxes 2 buttons [1 for minimize all windows , 1 for after the selection of check boxes to say ok ]
  9. thanks a lot it worked
  10. i have been trying to open a txt file and it is not working the txt file is in the same folder as the script could anyone help me with this thanx a lot in advance craberos
  11. hello all thanks for the help recently i finally did my button script could anyone help me convert this script in to a checkbox version right now there are 4 buttons when i click on them an active window which is minimized with that name pops up ..... but i have to click them individually could anyone help me convert them to check box so if i select 3 and press a button they will pop up and stay cascaded and also a button to minimize all active windows and at the start of the programe open 4 files named "earth.txt,fire.txt,water.txt & air.txt" from the source directory so a total of 4 check boxes 2 buttons [1 for minimize all windows , 1 for after the selection of check boxes to say ok ] thanks a lot in advance
×
×
  • Create New...