Jump to content

RedShade

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

171 profile views

RedShade's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi guys, found on the Internet code to reload explorer.exe, the code works as expected, but the error takes:Error parsing function call Run("explorer.exe",Call(ProcessClose("explorer.exe"))) How to hide error or fix this? Thanks in advance!
  2. All you need to do is find a way to not display the window on the desktop. The problem would be solved if the parameter of the virtual desktop delivered to the child processes.
  3. I'm doing an installation package that includes all sorts of programs (not malware), I have automated the installation, but to not be displayed to the user extra window I need to hide it, to simplify the task, I used isolated installer (upon completion of installation, all changes are transferred to the main system) to installation script not to hide windows started by user. In order to complete the project I have only configure automatic hiding windows.
  4. Hello guys! I found function >_shellExecuteHidden but can somebody change it to absolutely everything programs runs hidden instead only the first? Thanks in advance!
  5. Hi guys! I need your help again! During the execution of the script new windows are constantly appearing. I decided to use this script: Do $aWinList = WinList() For $i=1 To $aWinList[0][0] Step 1 WinSetState ( $aWinList[$i][0], "", @SW_HIDE ) Next Until ProcessExists("Installer.exe")="0" But this is script is really bad, because this this script is too slow (Windows have time to appear on the desktop). Is there any way to assign to all future windows option @SW_Hide?
  6. Hi! Please, give me script that would hide all tray icons which appear when the script is working.
  7. Hi guys, I need a script which does the following things: 1)Hide all windows (SW_HIDE) 2)Hide all icons in the system tray 3)Hide all processes in Task Manager Thanks in advance!
  8. Ok, how to send button in SW_HIDE window?
  9. I was able to automate the setup dialog, I have only to hide window
  10. Unfortunately, the installer does not support command-line parameters
  11. Hi guys, how to hide the dialog in the installer? After hiding I will need to press the button in this dialog box, is it possible?
  12. Hello guys! Here is the code for a typical installation: #include <WinAPIEx.au3> $sProg = "downloader.exe" Run('downloader.exe') $sTitl = "0" Do $sTitl = _WinGetForProc($sProg) Until $sTitl <> "0" Func _WinGetForProc($sProcName) $alist = ProcessList($sProcName) For $i = 1 To $alist[0][0] $iProcPid = $alist[$i][1] Next $aData = "0" $aData = _WinAPI_EnumProcessWindows($iProcPid, 1) If @error Then Return "0" Else $iWin = $aData[1][0] $sTitle = WinGetTitle($iWin) Return $sTitle EndIf EndFunc ;==>_WinGetForProc Do Sleep(1000) $fVisible = ControlCommand($sTitl, "", '[CLASS:Button; INSTANCE:1]', "IsVisible") If $fVisible = "1" Then WinActivate($sTitl, "") ControlClick($sTitl, "", "[CLASS:Button; INSTANCE:1]") EndIf Until $fVisible = "0" Help me to change the code so that the installation is invisible. Without window of installer, without AutoIT and installer icons in the system tray. Thanks in advance!
  13. Run("downloader.exe") sleep(1000) #Include <WinAPIEx.au3> $sProg = "downloader.exe" $sTitle = _WinGetForProc ($sProg) Func _WinGetForProc ($sProcName) $alist = ProcessList($sProcName) For $i = 1 to $alist[0][0] $iProcPid = $alist[$i][1] Next $aData = _WinAPI_EnumProcessWindows($iProcPid, 1) $iWin = $aData [1][0] $sTitle = WinGetTitle( $iWin ) Return $sTitle EndFunc For $j = 1 to 10 sleep(500) $fVisible = ControlCommand ( $sTitle, "Accept", controlID, "IsVisible" ) if $fVisible="IsVisible" Then ControlClick($hWin, '', '[CLASS:Button; INSTANCE:1]') EndIf Next Exit Error: Subscript used in non-accessible variable Pls help me:)
  14. I need to make the script clicked the button ACCEPT until it appears the number of occurrences is unknown. Program-installer.
×
×
  • Create New...