Jump to content

azure

Active Members
  • Posts

    127
  • Joined

  • Last visited

Everything posted by azure

  1. Try HoeKeySet("t") The function parameter is optional, and if you don't specify it, it should unset the previous hotkey.
  2. Because it's: HotKeySet("{ESC}","terminate")
  3. You may also want to try using comspec again within your psexec statement RunWait(@COMSPEC & " /C psexec \\remote_pc -u <username> -p <password> " & @COMSPEC & " /c C:\temp\abc.exe", @TEMPDIR, @SW_HIDE)
  4. Use this at the top of your script in SCiTE: #AutoIt3Wrapper_Run_Debug_Mode=Y
  5. Sloppy $test = "8009A01B" $i = 0 Dim $a[4] Do $a[$i] = StringLeft($test,2) ;ConsoleWrite($a[$i]&@CRLF) $test = StringRight($test, StringLen($test)-2) $i = $i + 1 Until $i = 4 ConsoleWrite($a[0]&$a[1]&$a[2]&$a[3]&" = "&Dec($a[0])&"."&Dec($a[1])&"."&Dec($a[2])&"."&Dec($a[3])&@CRLF)
  6. ConsoleWrite(Dec("8009A01B")) It's in the help file
  7. Except that Microsoft removed the /console switch No More CONSOLE
  8. #include <GuiConstantsEx.au3> #include <EditConstants.au3> ; $WS_EX_ACCEPTFILES should be in here according to the help file Global Const $WS_EX_ACCEPTFILES = 0x00000010 Global $sEditText = "" GUICreate("Drag And Drop Example", 200, 200, -1, -1, -1, $WS_EX_ACCEPTFILES) $hEdit = GUICtrlCreateEdit($sEditText, 8, 8, 184, 184) GUICtrlSetState(-1, $GUI_DROPACCEPTED) ; $GUI_ACCEPTFILES / $GUI_DROPACCEPTED GUISetState() While GUIGetMsg() <> -3 If GUICtrlRead($hEdit) <> $sEditText Then ; content changed so file has been dropped ConsoleWrite("FILE(S) DROPPED: " & GUICtrlRead($hEdit)) GUICtrlSetData($hEdit, "") EndIf Sleep(25) WEnd Search Forums Next Time.
  9. REG.EXE also bypasses "REGISTRY EDITING HAS BEEN DISABLED BY ADMINISTRATOR" policy!
  10. $firstvar = "+sv_gamemode" $secondvar = inputbox("Enter gamemode below","Enter Gamemode below") $whatyouwant = $firstvar & " " & $secondvar ConsoleWrite($whatyouwant) It's called concatenation.
  11. Use REG.EXE IMPORT REGISTRYFILE.REG it's silent.
  12. Well.. comspec only accepts so many quotes.. have you tried without comspec? maybe you need quotes around input file and output file? $commandName='"C:\Program Files\PDFCreator\PDFCreator.exe" -IF"' & $source & '" -OF"' & $destination & '"' RunWait($commandName, "", @SW_HIDE)
  13. And setup a loop to SELECT ALL in the window and COPY. check the helpfile.
  14. $commandName='"C:\Program Files\PDFCreator\PDFCreator.exe" -IF' & $source & ' -OF' & $destination RunWait(@ComSpec & " /c " & $commandName, "", @SW_HIDE)
  15. Hmm?? RunAsWait('user', 'domain', 'password', 0, 'C:\path\to\my\command.exe ' & $variable, @SCRIPTDIR, @SW_MAXIMIZE)
  16. Can you read the text witht he Autoit Window Info tool? if so, then it should work. If not, then you may be out of luck, unless you do some auto copy / check clipboard loop within the window.
  17. Check out IE.au3 UDF's in the helpfile. F1.
  18. Uhh, what? The last post in this thread is 5 months old. What the heck.
  19. Well.. it's not a problem, per se. I'm just fishing for anyone that has done something like that. It seems like it would be a relatively common thing.
  20. Bump in hopes someone has done or needed something like this?
  21. What? There is one that has real time monitoring in that link. Try the search function
×
×
  • Create New...