Jump to content

Arterie

Active Members
  • Posts

    77
  • Joined

  • Last visited

Profile Information

  • Location
    Germany

Arterie's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Shouldnt it be $var1=RegRead("HKEY_LOCAL_MACHINE\Sample\content",$var) ?
  2. *Bump* Still the same question... i found out that it somehow belongs to wxwidgets, but i cant figure out how to interact with it.
  3. A batchfile compiler would be some kind of *.bat -> *.exe My only idea would be a poor FileInstall workaround, where you install the bat file in tempdir an run it or take is as a .txt file and run every single commandline through autoit.
  4. I found a old thread where there was the same question, but no one answered so ill try making a new one. Does Autoit support handling wxWindowClassNR (like getText setText and so on) or are there Dlls which i could call functions from or even a udf? Regards Arterie
  5. Put Global $Input1,$Input2 at the top of the script and change the Ok function to something like this: Func Ok() If $Input1 <> "" Then MsgBox(0, "Typed text", GUICtrlRead($Input1)) Else MsgBox(0, "Typed text", GUICtrlRead($Input2)) EndIf EndFunc
  6. You can, but you have to define $input as Global if you are defining it in a function and want to read from it in another function Like Global $input1 = Gui...
  7. I think u are missing a \ at D:\Documents and Settings\Arunac\My Documents\Results\ <-
  8. Ok it does work now with notepad. But for other classes the GUICtrlEdit* functions do not work :/ I want to edit [CLASS:wxWindowClassNR; INSTANCE:33] but it wont work. No error it just doesnt edit anything. Ill make a new thread concerning wxWindowClassNR
  9. The Au3 Window Info says the same [CLASS:Edit; INSTANCE:1] If i try it with the handle for the scrite editor window it works oO
  10. If IsAdmin() Then $varmanual = InputBox("Scierzka do katalogu", "Podaj sciezke do katalogu", "C:\Program Files\WinRar\", "",-1, -1, 0, 0) If @error=1 Then Exit Else $search = FileFindFirstFile($varmanual &"winrar*.exe") EndIf ; Check if the search was successful If $search = -1 Then MsgBox(16, "Blad", "W podanej sciezce znalazlem pliku exe.") Exit Else ; Close the search handle FileClose($search) DirCopy(@SCriptDir, $varmanual, 1) FileCopy(@SCriptDir & "\*.*", $varmanual, 9) EndIf EndIf You missed a "\" for the path. i added that at the first line So you either do this $varmanual = InputBox("Scierzka do katalogu", "Podaj sciezke do katalogu", "C:\Program Files\WinRar\", "",-1, -1, 0, 0) or that $search = FileFindFirstFile($varmanual &"\winrar*.exe")
  11. i dont really get what it should do but anyways... if you want to call _DosPaint youll need to put #include <dossing paint.au3> at the top of the gui.au3
  12. Still an errormsgbox pops up telling me: _MemInit: Invalid window handle [0x00000000] It did activate notepad though
  13. I used Au3Info in order to get the Controlhandle of the notepads editbox. Then i simply use _GUICtrlEdit_AppendText(0x005402F4,"test") As suggested by fett8802. But as he added these functions only work for Autoit-guis. I tryed them for notepad and recieved the error: Invalid window handle 0x000000. Thats what i meant by saying im only recieving errors.
  14. It's either not working properly or producing error messages. Further help is appreciated Regards, Arterie
  15. oh i thought these commands would only work with the script's gui. Thanks for the hint
×
×
  • Create New...