Maximize windows in IE (or other app)

Ideas for enhancements to the software
Post Reply
Rasheed187
Posts: 216
Joined: Sat Jan 14, 2006 11:08 am

Maximize windows in IE (or other app)

Post by Rasheed187 » Sat Aug 04, 2007 12:45 pm

Hi,

I use this tool called "AutoSizer" but it can´t seem to control sandboxed windows, so can you make SBIE control these windows, so that they are forced to maximize? :wink:

http://www.southbaypc.com/AutoSizer/

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Sat Aug 04, 2007 7:09 pm

Your right, i just tried it and it doesnt work, but heres the weird thing, i tried tracing to see whats blocked, and it turns out that this resource is blocked, "\BaseNamedObjects\AutoSizer123", so i tried opening the path and it didnt work, how come? You can try opening the path yourself and maybe you'll have better luck, just add this to the ini:

Code: Select all

OpenIpcPath=\BaseNamedObjects\AutoSizer123
Hope it works for you atleast.....
Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Aug 05, 2007 11:13 am

SnDPhoenix, if you're into that kind of testing... :wink: Here's what I would do: Use something like WinSpy to check what window classes are created by the AutoSizer application, and try to add them as OpenWinClass.

In all likelyhood, you will have to find an OpenWinClass in addition to the OpenIpcPath that you already found.
tzuk

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Sun Aug 05, 2007 8:28 pm

I use Auto-Sizer also, it's a handy little app. I have found that any changes you make to your window sizes while sandboxed, don't "stick".

With Sandboxie it actually makes auto-sizer redundant.

What I do is;

1. disconnect from internet connection
2. temporarily disable forced processes
3. open internet explorer and maximize the window
4. close internet explorer
5. hook back in your cable
6. open internet explorer

it will stay maximized on startup forever - as any changes you make to the window will be while sandboxed and will not stay.

little thing but I hope it helps -

mitch

ps - dont forget to remove all referances to Internet Explorer within the auto-sizer setup window - you are looking for no connection between the two programs.

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Mon Aug 06, 2007 1:15 am

tzuk wrote:SnDPhoenix, if you're into that kind of testing... :wink: Here's what I would do: Use something like WinSpy to check what window classes are created by the AutoSizer application, and try to add them as OpenWinClass.

In all likelyhood, you will have to find an OpenWinClass in addition to the OpenIpcPath that you already found.
Damn, cant believe i never thought of that, (although i prefer to use WinSpector instead) Ill let you know how it works out....

*Edit* Well this sucks, i tried that and it didnt work, bahhh. :x
Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain.

Rasheed187
Posts: 216
Joined: Sat Jan 14, 2006 11:08 am

Post by Rasheed187 » Mon Aug 06, 2007 11:06 am

@ tzuk, can you perhaps add this function, or this out of SBIE´s scope? @ MitchE323, does this work when you select "open in new window"? Because that´s the problem. @SnDPhoenix, I don´t see why it would work for me, but thanks for the help. :wink:

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Mon Aug 06, 2007 2:30 pm

yes it does work for "open in a new window"

It sounds to me like you might have an over ambitious cleaner going on startup like CCleaner. If you do, uncheck the cleaning of "window sizes".

I just tried "open in new window" and all of mine were maximized.

"open in a new window" on links within a page is different though, they do not come up maxed. That might work with a one time shot on the web without sandboxie. Just go on any safe site unsandboxed, click on any link and maximize it and close out and it might stay set on maxed for the next time.

mitch

Rasheed187
Posts: 216
Joined: Sat Jan 14, 2006 11:08 am

Post by Rasheed187 » Fri Aug 17, 2007 12:45 pm

So can this problem somehow be solved or what? It´s really starting to get on my nerves. :x

dlguild
Posts: 230
Joined: Sat Apr 21, 2007 8:30 pm
Location: Pennsylvania

Post by dlguild » Fri Aug 17, 2007 9:43 pm

Rasheed187, please try the following. It worked for me using FireFox as an example. Note I had to configure AutoSizer to look at the windows title rather than the windows class to get it to work:

1. Add the following lines to sandboxie.ini inside the desired sandbox (not in the 'GlobalSettings' section):

#AutoSizer configuration
OpenWinClass=SysListView32
OpenIpcPath=\BaseNamedObjects\AutoSizer123

2. Reload the configuration file
3. Open Program Sandboxed - Make note of a single word which will always appear in the title bar for this program
4. Open AutoSizer Configuration Window
5. Click on the program in the upper pane you wish to configure
6. Click "AutoSize"
7. Select "Action to perform", I assume you want "Maximize"
5. Change "Window Title" to contain a single word that will always appear in the title bar (in my case I used "FireFox"
6. Select "Compare using window title"
7. Select "Title must contain the window title listed above"

I also discovered that Keylogger Hunter (which I use) blocks this fix. I had to disable it.
Please let us know if this works OK or not.
Dan

Rasheed187
Posts: 216
Joined: Sat Jan 14, 2006 11:08 am

Post by Rasheed187 » Sun Aug 19, 2007 2:43 pm

dlguild, you are a genius :) , it really does work! Thanks a lot! But how do you know all this stuff? I´m a complete dummy when it comes to configuring SBIE, that´s why I really hope that more options will become available via the GUI.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest