Jump to content

Recommended Posts

Posted

How do I access SandBoxie programs with autoit?

Heres a simple test..

Opt("WinTitleMatchMode", 3)

$NotePad = "[#]Untitled - Notepad[#]"

;Run("notepad.exe"); < ----------- Open NotePad
; I manually open Notepad in The Sandbox
WinWait ($NotePad)

WinSetState($NotePad, "", @SW_HIDE)
Sleep(1000)
WinSetState($NotePad, "", @SW_SHOW)

If @error then Beep(1000,500)
I`ve running the autoit script in the same Sandbox as Notepad with no effect.

Thanks.

2015 - Still no flying cars, instead blankets with sleeves.

Posted (edited)

There's a space between the brackets on each side - "[#] Untitled - Notepad [#]"

Also, if the script is running in the same sandbox, it DOES NOT see the extra title hash symbols, it seems the regular window title. The decoration is only seen outside the sandbox.

Edited by wraithdu

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...