Sandboxie Shortcut Creator
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.
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.
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!
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.
Updated v2.1.1.3
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!
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.
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
Re: Updated v2.1.1.3
Imagine how tzuk feels! But anyways though, nice job on the (improved) shortcut maker.wraithdu wrote: Everytime I fix one GUI bug, I find another, or decide to add something, and make more bugs. Sheesh, learning curve...
Updated v2.1.2.5
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.
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.
Updated v2.1.2.6
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.
- 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.
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!
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!
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
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)?
*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)?
Who is online
Users browsing this forum: No registered users and 0 guests