Jump to content

stormbreaker

Active Members
  • Posts

    537
  • Joined

  • Last visited

About stormbreaker

  • Birthday 12/25/1994

Profile Information

  • Member Title
    More wits this time...
  • Interests
    Random(Physics, Chemistry, Maths, Drawing, AU3,... the list goes on)

Recent Profile Visitors

1,299 profile views

stormbreaker's Achievements

  1. @weasel5i2, you need "remote desktop login" commands for that purpose. Google it and you'll get there for sure. As for lock screen ui process, i think, its not that easy, else no one would be using windows if you could merely login by closing a single process/application (since any account could be opened then) - you won't even call it hacking then...
  2. Fire up the Au3Info.exe program (its in the same directory as autoit). Drag the finder tool on the position where your Archive button is present. If it is able to draw a rectangle (or maybe detect the text written there), then ControlClick can work for you, else I m afraid, you have to stick to the old method
  3. Hello everyone. Just made this one - represent a number as sum of powers of two: #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ; Returns number as sum of powers of two Func _GetPowersofTwo($mynum) $mynumseed = $mynum $i=0 Global $STRING while ($mynumseed <> 0) do $i+=1 until NOT ($mynumseed >= (2^$i)) $STRING &= 2^($i-1) $mynumseed = $mynumseed - (2^($i-1)) If $mynumseed <> 0 then $STRING &= "+" EndIf $i=0 wend msgbox(64, "", $STRING) EndFunc _GetPowersofTwo(45)
  4. Take a look here: '?do=embed' frameborder='0' data-embedContent>> We had a nice discussion on this back then.
  5. MSDN is your friend. The AU3 documentation (help file) is the other friend. Google for that function and MSDN pages will be the top results.
  6. Global $ARRAY[2] $ARRAY[0] = "Untitled - Notepad" $ARRAY[1] = "Untitled - Notepad" For $i = 0 to (Ubound($ARRAY)-1) ;We loop from 1st to last element of the array If WinExists($ARRAY[$i]) then WinClose($ARRAY[$i]) EndIf NextCan be an example of what ur looking for.
  7. We need to send Ctrl+S combination to the window. Using Send("^s") for this instead of ControlSend() could work.
  8. Firefox, we need to use align here. Read help file for DllStructCreate() function FROM help file: DllStructCreate("short;int") ; structure is 8 bytes, the "int" is at offset 4 DllStructCreate("align 2;short;int") ; structure is 6 bytes, the "int" is at offset 2 Regards, MKISH
  9. nullschritt, there seems to be a problem after the GDI+ initialising part in your code which results in AutoIt crashing. I modified it (a lot) to check for the errors: ; *** Start added by AutoIt3Wrapper *** #include <GUIConstantsEx.au3> ; *** End added by AutoIt3Wrapper *** #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Add_Constants=n #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GUIConstants.au3> #include <Webcam.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <WinAPI.au3> #include <WindowsConstants.au3> #include <GDIPlus.au3> #include <Memory.au3> $gui = GUICreate("Webcam UDF Test",320,240) _WebcamInit() $camcontrol = _Webcam($gui,320,240,0,0) GUISetState(@SW_SHOW) Global $i = 1 While 1 $i = $i+1 Sleep(1000) _MyFunc() WEnd Func _MyFunc() $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then _WebcamStop() Exit EndIf _WebcamSnapShot(@ScriptDir & "\snap" & $i & ".bmp") EndFunc
  10. verma123, do you mean to include the INI file in your compiled AutoIt script? If so, then use FileInstall() function. EDIT: I see, thats what you probably wanted.
  11. Reading that documentation, I think this should work: RunWait(@ScriptDir & "\Epw.exe" & ' -run="' & $FILENAME & '"')
  12. Terenz, I don't see how thats going to help him copying those files. mohammadezazi, use this code: FileCopy("C:\WINDOWS\*.ico", "D:\myFolder\", 9)
  13. Wish I had time to translate this: http://emoacht.wordpress.com/2012/11/06/csharp-ssd/ Still I think someone shall be able to do it.
  14. Well, I have wonderful suggestion for the forum admins and managers - How's that. So, I guess, I (or anyone obeying the rules) ain't gonna help you, since what you are asking is forum automation, which isn't allowed to be discussed here Good luck ahead.
×
×
  • Create New...