Border sandboxed indicator

Utilities designed for use with Sandboxie
Post Reply
Micahs
Posts: 32
Joined: Sat Apr 26, 2008 12:26 am

Border sandboxed indicator

Post by Micahs » Sat Apr 26, 2008 1:15 am

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

Image

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?
ImageImage

Download

Autohotkey borderGuard thread

To add a red border for a sandbox called 'test' put this in your ini file:

Code: Select all

[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 5:09 am, edited 3 times in total.

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

Post by SnDPhoenix » Sat Apr 26, 2008 7:13 am

Wow nice job!

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

Btw, I looked through it, and yes it is safe guys. :wink:

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

Post by tzuk » Sat Apr 26, 2008 7:15 am

Very nice! :)
tzuk

street011
Posts: 412
Joined: Tue Jan 16, 2007 2:08 pm

Post by street011 » Sat Apr 26, 2008 10:12 am

nice nice ;) tnx

Buster
Posts: 2576
Joined: Mon Aug 06, 2007 2:38 pm
Contact:

Post by Buster » Sat Apr 26, 2008 11:36 am

Great work, congratulations!

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

Post by SnDPhoenix » Sat Apr 26, 2008 1:56 pm

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...

Micahs
Posts: 32
Joined: Sat Apr 26, 2008 12:26 am

Post by Micahs » Sat Apr 26, 2008 2:03 pm

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. :( Mine's only 950Mhz. That's why I provided the source!

EASTER

Post by EASTER » Sat Apr 26, 2008 4:42 pm

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

Post by Guest » Sat Apr 26, 2008 8:21 pm

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

Thanks.

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

Post by SnDPhoenix » Sun Apr 27, 2008 1:24 am

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.

Guest

Post by Guest » Sun Apr 27, 2008 6:52 am

Thanks SnDPhoenix for your suggestion.

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

Regards.

Micahs
Posts: 32
Joined: Sat Apr 26, 2008 12:26 am

Post by Micahs » Sun Apr 27, 2008 9:03 am

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.

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

Post by SnDPhoenix » Sun Apr 27, 2008 10:34 am

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? :roll:

Guest

Post by Guest » Sun Apr 27, 2008 12:38 pm

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. :P I set the service to manual.

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

:shock:

Regards.

Guest10

Post by Guest10 » Sun Apr 27, 2008 5:09 pm

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest