Trust No Program
Reply to topic
Border sandboxed indicator
Micahs


Joined: 26 Apr 2008
Posts: 32
Reply with quote
This provides any color of border around the sandboxed windows. Each sandbox can have its own border color for easy identification.
It is written in Autohotkey with the source code included in the zip.

Here is the new version which supports multiple borders: borderGuard_multi



New features:
  • Multiple borders
  • Borders are positioned behind the sandboxed window (except when window touches screen edge)
  • Automatic restart to apply changes to ini file (good idea Ausonius)
  • Active and Inactive windows' borders can have different transparency
  • Borders will stay within screen (good idea Guest_X)
  • Reverse sandboxed windows (Experimental)
  • Did I mention multiple borders?




Download

Autohotkey borderGuard thread

To add a red border for a sandbox called 'test' put this in your ini file:
Code:
[test]
borderColor=0xFF0000
You can also use color names instead of RGB values for any colors, default or per sandbox. EG: red, blue, green (see HERE for complete list.)

Global Options are:
  • Sandbox Path
  • Hide Border on Drag
  • Fancy or Square Borders
  • Left Offset
  • Menu Localization
  • Border Color
  • Border Thickness
  • Border Transparency
Per sandbox options are:
  • Border Color
  • Border Thickness
  • Border Transparency


TODO:
  • Maybe make Fancy Borders a per sandbox option.


Last edited by Micahs on Tue Feb 03, 2009 10:09 am; edited 3 times in total
View user's profileSend private message
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
Wow nice job!

I know alot of people were wanting this "bordered windows" sort of thing for Sandboxie, now they've got it. Smile

Btw, I looked through it, and yes it is safe guys. Wink
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Very nice! Smile

_________________
tzuk
View user's profileSend private message
street011


Joined: 16 Jan 2007
Posts: 410
Reply with quote
nice nice Wink tnx
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
Great work, congratulations!
View user's profileSend private message
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
Hey, I hope you don't mind, but I actually tweaked it slightly. Before if you started dragging the window around, the border would disappear until you unclicked the window. Now I changed it though so that while you drag the window around, it retains the border...
http://www.mediafire.com/?9umc3zxyb1t

If you want me to take it down I will...
View user's profileSend private message
Micahs


Joined: 26 Apr 2008
Posts: 32
Reply with quote
Thanks a lot! I love Sandboxie, so I wanted to contribute to the community. I also love Autohotkey, so it was a natural combination.

@SnDPhoenix: Not a problem. I had it that way for performance reasons. You must have a faster machine than I. Sad Mine's only 950Mhz. That's why I provided the source!
View user's profileSend private message
EASTER
Guest

Reply with quote
I just had to come in here and post my compliment the fashioner of this. It really made my day, a very sharp item to add to SB.

Great Idea!

Thanks from EASTER too.
Guest


Reply with quote
Is there a way to start automatically "borderGuard.exe" when Sandboxie is activated?

Thanks.
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
I guess you could add borderGuard to your startup?
Try creating a shortcut to the borderGuard executable, then put the shortcut in your startup folder.
View user's profileSend private message
Guest


Reply with quote
Thanks SnDPhoenix for your suggestion.

But like I don't run Sandboxie in startup, I want borderGuard runs when I start Sandboxie manually. Embarassed

Regards.
Micahs


Joined: 26 Apr 2008
Posts: 32
Reply with quote
On my system, the Sandboxie service startup type is set to 'Automatic' and I think that it the default, so it should always start at boot. When you run the Sandboxie Control, you are just starting the user interface-not the Sandboxie program itself (which runs as a service.) You might very well want to put borderGuard in your startup folder.
Someone please correct me if I am wrong.

If you only want to run borderGuard when you start the Sandboxie Control, I could make a launcher to run them both at the same time. Let me know.
View user's profileSend private message
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
Yep thats correct, so unless you've set Sandboxie's service to manual, it automatically starts on startup.
Also, the reason I mentioned having borderGuard start up with the PC is so borderguard will be available to Sandboxie once you do launch something sandboxed, otherwise you'll have to keep launching borderGuard (if it isn't running) everytime you launch something sandboxed.

I guess you could create a autoit/autohotkey script that watches for Sandboxie starting, and when it does, then the script will launch borderGuard, however why do that though, when you could just leave the borderGuard running instead of the script? Rolling Eyes
View user's profileSend private message
Guest


Reply with quote
Micahs wrote:
If you only want to run borderGuard when you start the Sandboxie Control, I could make a launcher to run them both at the same time. Let me know.

It's what I would like exactly. Razz I set the service to manual.

But I don't know anything script's/lauchers (and all family...) about.

Shocked

Regards.
Guest10
Guest

Reply with quote
For some reason, Firefox and IE7 do not show the border for me, no matter which sandbox I use.
Other sandboxed windows do show it: sandboxed Thunderbird, Notepad, Windows Explorer... all OK.
Anyone else seeing this with Firefox or IE7?
Border sandboxed indicator
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 8  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,581,642 times since June 2004