Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/14/2023 in all areas

  1. I believe that this works because by design explorer.exe cannot run with elevated permissions, so you're now launching the program through a non-elevated process. I'm sure that there is some official documentation on why, but I can't really find it. It's just something that I've seen mentioned. There's no credentials or anything, and you'd get the same thing if you started a different AutoIt program without administration and told it to launch another process. This was one of the suggestions in the linked thread as well, have a script that starts as admin, and one as non-admin, then use some type of IPC or control to tell one of the scripts to launch another program. explorer.exe is just a convenient way to start up something else, and you don't need a shortcut to do it. You can use the full path to the file as well.
    1 point
  2. I don't even know what "credentials" would mean here? I just have one login password into Windows, AFAIK. I just use this and it works... Run("explorer.exe " & $_Photoshop_shortcut)
    1 point
  3. AndyG

    Bulldozer

    63 Moves....but 50 Seconds needed....😁 And btw....xor al, 0x7f, SO CUTE!!😍
    1 point
  4. Edit: of course there is also Runs an external program under the context of a different user. RunAs ( "username", "domain", "password", logon_flag, "program" [, "workingdir" [, show_flag [, opt_flag]]] )
    1 point
  5. first go to playback setting in default window size select custom 700X400 save, and then try again Edit: or first sendkey 1 to exit full screen Local $hPotPlayer = WinWait("[CLASS:PotPlayer]") WinActivate($hPotPlayer) Send("1") WinMove($hPotPlayer,"",0,0,682,729) or better Local $hPotPlayer = WinWait("[CLASS:PotPlayer]") WinActivate($hPotPlayer) Send("9") WinMove($hPotPlayer, "", 0, 0) Sleep(100) Send("8") to hold aspect ratio
    1 point
×
×
  • Create New...