Jump to content

azure

Active Members
  • Posts

    127
  • Joined

  • Last visited

azure's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  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.
×
×
  • Create New...