Sandboxie Shortcut Creator

Utilities designed for use with Sandboxie
wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Wed Aug 29, 2007 11:20 pm

Ok, so I can't clear that text box when you click into it at the moment. NSIS/nsDialogs doesn't support the EN_SETFOCUS notification message yet. I have to make a feature request.

In the meantime I've made a bunch of logic rewrites, added some other checks, and added an about page. I thought about a popup window, but that would be less cool. Doing it this way however opened up a HUGE can of worms when it came time to go back to the main page. I had to figure out how to remember anything the user may have set up already, and restore it. Few other things too with hitting Cancel in the file/folder dialogs, as that causes either a random number (file) or 'error' (folder) to be returned. Also get error if you choose something like My Computer in the folder dialog. We don't want to actually SEE that now do we? Also set it to open the folder/file dialogs to the last selected file/folder. It's been a bug hunting sort of night.

It's all straightened out now, so I just need some About page content and I'll be ready to release a new version.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Thu Aug 30, 2007 1:26 pm

New version with 'About...' page. Many changes as listed above. I dare you to try and break it now!! (Ok, I'm not responsible if you rename some random program Start.exe and try to use that LOL) I will say though, I didn't expect it but I learned quite a lot about the windows GUI doing this one.

The link in the 'About...' dialog is clickable, however I don't know how to make the cursor change to a hand on mouseover yet. Working on that one...

Thanks everyone for the comments and suggestions so far, so keep them coming!
Last edited by wraithdu on Mon Nov 19, 2007 1:16 am, edited 3 times in total.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Updated v2.1.1.3

Post by wraithdu » Fri Aug 31, 2007 12:13 am

Updated v2.1.1.3 above ^^^^^^^

Fixed - 'About...' button that goes nowhere appearing on end page.

I think I got everything. This installer pages coding is way different than portable launchers. Everytime I fix one GUI bug, I find another, or decide to add something, and make more bugs. Sheesh, learning curve...

Comment away!
Last edited by wraithdu on Fri Aug 31, 2007 11:24 am, edited 1 time in total.

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

Re: Updated v2.1.1.3

Post by SnDPhoenix » Fri Aug 31, 2007 12:26 am

wraithdu wrote: Everytime I fix one GUI bug, I find another, or decide to add something, and make more bugs. Sheesh, learning curve...
Imagine how tzuk feels! :shock: But anyways though, nice job on the (improved) shortcut maker.Image

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Fri Aug 31, 2007 9:58 am

Congratulations on V 2.1.1.3.
I haven't been able to break it, even when manually editing sbie.ini, to simulate a change in location for Start.exe.

Great job :wink:
XP Pro SP3

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Fri Aug 31, 2007 11:26 am

Thanks!

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

Post by street011 » Sat Sep 01, 2007 7:17 am

dude, stop making shortcut programms :p
i have a very nice project still waiting for you :p

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Updated v2.1.2.5

Post by wraithdu » Mon Sep 17, 2007 12:05 pm

Added enumeration of sandboxes from Sandboxie.ini. An initial file selection dialog will be presented, then the path to your INI will be saved in sbie.ini along with the path to Start.exe.

The box parameter is now a fancy Combo Box! It is a dropdown with your enumerated boxes, along with the new '__ask__' parameter and 'current' parameter. The Combo Box also allows typing text input should you wish to use it.
Last edited by wraithdu on Mon Nov 19, 2007 1:17 am, edited 1 time in total.

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

Post by dlguild » Mon Sep 17, 2007 4:39 pm

Much appreciated!
Dan

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Updated v2.1.2.6

Post by wraithdu » Mon Nov 19, 2007 1:21 am

Quick update for the new versions of Sandboxie. This is really kinda useless now with the new GUI and all, but on the off chance you have a program that's not in the start menu that you want a shortcut for...you can use it :)

- update with new version of NSIS which has better support for links (About box isn't as hacked together now)
- exclusion of UserSettings sections from being treated as sandboxes

Download in first post.

stisev
Posts: 193
Joined: Sun Nov 02, 2008 12:32 pm

Post by stisev » Sun Nov 02, 2008 6:28 pm

First off, wonderful program. I was thinking "damn, it would be great if someone made...oh!" Thanks again for ALL of your hard work and time!

A few suggestions. I hope you'll consider them.

1) Please try and add the corresponding "Start in" entry into the shortcut. It is very rare, but some programs like Declan Language Software WILL NOT run unless you specify the "Start In" location in the shortcut.

For example:

Target: D:\Applications\Sandboxie\Start.exe /box:mydefaultbox "D:\Applications\Declan's Chinese FlashCards\dcfc.exe"
Start in: "D:\Applications\Declan's Chinese FlashCards"

It's easy enough to add this for the rare exceptions or even to all of them, but it's a suggestion that would improve this piece of software.


2) At the end of the shortcut creation, please allow the user to continue and make "another shortcut" or something like that alongside the close buttonThat way one doesn't have to re-open the application.


If I think of any other suggestions, I will post!

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Update

Post by wraithdu » Tue Nov 04, 2008 2:14 pm

Updated to v2.1.2.7

- Added prompt to restart the wizard
- Added ability to specify a "Start in" directory

stisev
Posts: 193
Joined: Sun Nov 02, 2008 12:32 pm

Post by stisev » Tue Nov 04, 2008 8:11 pm

Badass!

I wish all software coders were as speedy as you and tzuk!

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

Post by SnDPhoenix » Thu Nov 06, 2008 8:20 am

Hmm...
*Prepares for potential bashing*

I agree that this is a nice piece of work... but this was made back when the old Sandboxie was out... when Sandboxie used the old GUI... which didn't have a shortcut creator...

Now though, Sandboxie contains its own shortcut creator right in the GUI, under the shell integration section, so why not just use that, right?
Unless this shortcut creator contains some additional features I am unaware of (or it is simply good for the people stuck on old Sandboxie who dont wanna upgrade)?

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Thu Nov 06, 2008 10:36 am

@SnD
I pretty much aggree with you. But it was an easy update and an opportunity to get some things working better internally now that nsDialogs has matured more. I didn't mind doing it :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest