Jump to content

Demonic

Active Members
  • Posts

    57
  • Joined

  • Last visited

Demonic's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Thanks much, all I needed.
  2. Alright. I've already searched around on the topic, and generally the response has been to use GUISetStyle in connection with $WS_POPUP in order to achieve the desired effect, however this only works with windows that are created by the GuiCreate() command. Now, how would I go about this in order to achieve a borderless window that I did not create? If anyone could apply some insight upon me, I would be quite gracious. I have already searched around the forums for a solution, perhaps using the wrong terms, along with looking throughout the index of the AutoIt Help file to no avail. Thanks, p.s. This could be comparable to innumerable ammount of Steam games that allow borderless-windowed mode.
  3. #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <WindowsConstants.au3> $ProgramCount = 5 ; The ammount of programs you're gonna open GUICreate("RunWait Progress Bar", 220, 100, 100, 200, 0, $WS_EX_TOPMOST) ; Create GUI GUISetState(@SW_SHOW) ; Show it $ProgressBar = GUICtrlCreateProgress(10, 10, 200, 20) ; Create Bar GUICtrlSetData($ProgressBar, 0) ; Set your Progress Bar to 0% completed RunWait("Notepad.exe", @WindowsDir, @SW_MAXIMIZE) ; Run first process GUICtrlSetData($ProgressBar, GUICtrlRead($ProgressBar) + (100 / $ProgramCount)) ; Add 20% to the bar RunWait("Explorer.exe", @WindowsDir, @SW_MAXIMIZE) ; Run second process GUICtrlSetData($ProgressBar, GUICtrlRead($ProgressBar) + (100 / $ProgramCount)) ; Add 20% to the bar RunWait("A.exe", @WindowsDir, @SW_MAXIMIZE) ; Run third process GUICtrlSetData($ProgressBar, GUICtrlRead($ProgressBar) + (100 / $ProgramCount)) ; Add 20% to the bar RunWait("B.exe", @WindowsDir, @SW_MAXIMIZE) ; Run fourth process GUICtrlSetData($ProgressBar, GUICtrlRead($ProgressBar) + (100 / $ProgramCount)) ; Add 20% to the bar RunWait("C.exe", @WindowsDir, @SW_MAXIMIZE) ; Run fifth process GUICtrlSetData($ProgressBar, GUICtrlRead($ProgressBar) + (100 / $ProgramCount)) ; Add 20% to the bar
  4. Read the registry bit. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile\EnableFirewall That should work.
  5. ; Function: _MemoryRead($iv_Address, $ah_Handle[, $sv_Type]) ; Description: Reads the value located in the memory address specified. ; Parameter(s): $iv_Address - The memory address you want to read from. It must ; be in hex format (0x00000000). ; $ah_Handle - An array containing the Dll handle and the handle ; of the open process as returned by _MemoryOpen(). ; $sv_Type - (optional) The "Type" of value you intend to read. ; This is set to 'dword'(32bit(4byte) signed integer) ; by default. See the help file for DllStructCreate ; for all types. An example: If you want to read a ; word that is 15 characters in length, you would use ; 'char[16]' since a 'char' is 8 bits (1 byte) in size. While I didn't investigate the issue your getting, your input to _MemoryRead is a byte array as opposed to a memory address.
  6. http://www.autoitscript.com/forum/index.php?showtopic=75429&hl=aero&st=0 Is that what your looking for?
  7. Could he not use Opt("OnExitFunc", "ReLaunch") and have the ReLaunch function opening the process that hes already running? I suppose this would only work by manually closing the process, and not if it crashed and couldnt execute the exit function, but.
  8. Use a Sleep() call in your loop, or use TimerInit at the start of the timer and check for when your ammount of time has elapsed.
  9. I'm attempting to draw on a external window, but the window is constantly refreshing because of the nature of the program, so upon each refresh, the drawn GDIPlus graphic vanishes. Trying to draw it in a loop creates a flicker effect, which as many have noticed is annoying. Any way around this, besides creating a seperate GUI that layers over the program?
  10. I don't know about searching for the pixels because you'd have to have them on the screen to find them, but you can replace Send with ControlSend to automate the sending.
  11. If you turn off UAC that wont even happen on Vista.
  12. HotKeySet("{NumPad0}", "ToTheRight") While 1 Sleep(100) WEnd Func ToTheRight() $OriginalX = MouseGetPos(0) $OriginalY = MouseGetPos(1) $MoveX = 50 $MoveY = 0 MouseMove($OriginalX + $MoveX, $OriginalY + $MoveY, 5) MouseClick("left", MouseGetPos(0), MouseGetPos(1), 1, 0) EndFunc
  13. Yeah.. but the example basically gives you the only hard part to the concept.
  14. Regarding the fact that Keyloggers are banned from the forums. And before you start, no, I don't support them. But uhh.. if you read the example for _WinAPI_SetWindowsHookEx ... isn't that basically just a keylogger already made for you? Just throwing that one out there.
×
×
  • Create New...