Jump to content

Jussip

Active Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by Jussip

  1. Hey, is it possible to create autoit files with a autoit file? Like creating compiled autoit files?
  2. It speaks for you! Well, tell me what you think; #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Speak = GUICreate("Speak", 184, 84, 193, 125) $Input1 = GUICtrlCreateInput("This is my first script", 8, 16, 153, 21) $Speak = GUICtrlCreateButton("Speak", 16, 48, 75, 25, 0) $Exit = GUICtrlCreateButton("Exit", 96, 48, 75, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Speak _Talk(GuiCtrlRead($Input1)) Case $Exit exit EndSwitch WEnd Func _Talk($sText) $tempFile = @TempDir & '\talktemp.vbs' FileWriteLine($tempFile, 'Dim Talk' & @CRLF & _ 'Set Talk = WScript.CreateObject("SAPI.SpVoice")' & _ @CRLF & 'Talk.Speak "' & $sText & '"') RunWait('Wscript.exe talktemp.vbs', @TempDir) FileDelete($tempFile) EndFunc
  3. Thanks, but the progress bar isnt moving?
  4. How i can make this working? I dont wanna open other progress window.. #include <GUIConstants.au3> $Form1 = GUICreate("Progress", 198, 91, 193, 125) $Progress1 = GUICtrlCreateProgress(16, 16, 150, 17) $Process = GUICtrlCreateButton("Progress on!", 24, 48, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Process EndSwitch WEnd
  5. How on the world i could get this working? #include <GUIConstants.au3> $form2 = guicreate("message", 170, 93, 303, 219) $message = guictrlcreateInput("", 24, 16, 121, 21) $send =guictrlcreateButton("send", 48, 56, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Send msgbox(0,"You Typed" , " You Typed " & ($Message)) EndSwitch WEnd
  6. Hey, how i can set so that i can use #Notrayicon and Traytip in same script?
  7. all go check my new post..
  8. Hey againg =) I made a gui, and when pressed a button on it, it pops another gui. And when i try to close the popped gui, both gui's close, how i can put so that both wont close?
  9. heheh
  10. Doublepost, delete
  11. Will you marry me, andreik?
  12. is there way to hide a window? Like ex. run notepad, hide it, and write text there, and unhide it?
  13. Hey, is there any way to use "Send" command to send system information etc? I know how to send username and ip with Send(@Username) send(@Ipaddress1) but anyway to send more-like system information?
  14. Wow! Looks great.. Way to add it on my script? Mean, im not that good with inputs =)
  15. Ahoy there, Is there a way to freeze a process with autoit? Not killing it, freezing. If you try open window of the frozen process it wont open? And a way to unfreeze it? If there is a way, could you add it to my GUI what i made.. #include <GUIConstants.au3> $Gui1 = GUICreate("Process Freezer", 397, 133, 211, 154, -1, BitOR($WS_EX_ACCEPTFILES,$WS_EX_APPWINDOW,$WS_EX_CONTEXTHELP,$WS_EX_LEFTSCROLLBAR,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_TOPMOST)) $Freeze = GUICtrlCreateButton("Freeze", 16, 64, 161, 49, 0, BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) $DeFreeze = GUICtrlCreateButton("DeFreeze", 216, 64, 161, 49, 0, BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE)) $Input1 = GUICtrlCreateInput("Process to freeze", 56, 16, 297, 28) GUICtrlSetFont(-1, 12, 400, 2, "Arial Narrow") GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Freeze Case $DeFreeze EndSwitch WEnd
  16. I have tried =/ Im making small prog, so when i press a button it writes comp info to a inputbux =)
  17. Hey, is there way to use "Send" command to send some stuff, like IP, username, and such system stuff? If there is, please write the code here. Thx
  18. "Missing right bracket ')' in expression.: " what does that mean?
  19. Hey, i need small script So, i make a list of names, like: Bob, peter, nina , alice , and, when i start the script, it send random name of them, SENDS ( send(",,") ) No msgbox. So, i open the script, it sends Hey (randomname) ex. Hey, nina I just cant figure how to make it
  20. How cool. Any way to create it?
  21. I have played with 'em alot, and i think my head is exploding. wont get it done. Could ye just give me script so i can change the strings and add some =) Please.
  22. Wow, great one. Now, how about, if you just start writing "Hi", it automaticly changes to "Ahoy", Its possible?
×
×
  • Create New...