Page 1 of 8

Border sandboxed indicator

Posted: Sat Apr 26, 2008 1:15 am
by Micahs
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.

Posted: Sat Apr 26, 2008 7:13 am
by SnDPhoenix
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:

Posted: Sat Apr 26, 2008 7:15 am
by tzuk
Very nice! :)

Posted: Sat Apr 26, 2008 10:12 am
by street011
nice nice ;) tnx

Posted: Sat Apr 26, 2008 11:36 am
by Buster
Great work, congratulations!

Posted: Sat Apr 26, 2008 1:56 pm
by SnDPhoenix
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...

Posted: Sat Apr 26, 2008 2:03 pm
by Micahs
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!

Posted: Sat Apr 26, 2008 4:42 pm
by EASTER
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.

Posted: Sat Apr 26, 2008 8:21 pm
by Guest
Is there a way to start automatically "borderGuard.exe" when Sandboxie is activated?

Thanks.

Posted: Sun Apr 27, 2008 1:24 am
by SnDPhoenix
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.

Posted: Sun Apr 27, 2008 6:52 am
by Guest
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.

Posted: Sun Apr 27, 2008 9:03 am
by Micahs
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.

Posted: Sun Apr 27, 2008 10:34 am
by SnDPhoenix
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:

Posted: Sun Apr 27, 2008 12:38 pm
by Guest
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.

Posted: Sun Apr 27, 2008 5:09 pm
by Guest10
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?