DonationCoder.com Forum

DonationCoder.com Software => Older DC Contests and Challenges => N.A.N.Y. 2012 => Topic started by: hamradio on September 06, 2011, 11:26 PM

Title: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on September 06, 2011, 11:26 PM
NANY 2012 (https://www.donationcoder.com/forum/index.php?board=304.0) Release Information

Application Name Portable Extension Warlock
Version 2.2.0 build 1
Short Description Build a launch file to launch files of certain types in certain applications skipping the system file associations.
Supported OSes Tested on Windows 7 and 10 64 bit. (Let me know which other windows it works on.)
Web Page Portable Extension Warlock (http://www.dcmembers.com/hamradio/download/portable-extension-warlock/)
Download Link Portable Extension Warlock (http://www.dcmembers.com/hamradio/download/portable-extension-warlock/?wpdmdl=70&masterkey=5a36f1fb0decd)
License USE/MISUSE AT YOUR OWN RISK! NO WARRANTY OF ANY KIND! Do not distribute!
System Requirements
  • .NET Framework 4.0
  • Obviously a computer...
Version History
"Version 2.x.x build x"
  • 2.2.0 build 1 - Current Version
  • 2.1.0 build 5
  • 2.1.0 build 2
  • 2.1.0 build 1
  • 2.0.2 build 1
  • 2.0.1 build 1
  • 2.0.0 build 1

"Version 1.x.x build x"
  • 1.0.5 build 1
  • 1.0.2 build 0
  • 1.0.1 build 12
  • 1.0.0 build 73
  • 1.0.0 build 1

Author hamradio (https://www.donationcoder.com/forum/index.php?action=profile;u=18911)


Description
Build a launch file to launch files of certain types in certain applications skipping the system file associations.  You should be able to use this as well on portable devices as long as the computer you intend to use it on has .NET 4.0. by using the DropZone that is included.

Features
Portable enabled.
Shows an open with menu when it detects you have more than one type of an extension in the launch file configuration.
You can also create application listings with specific command line arguments to do certain things for you when launching the file.

Screenshots

The launch file editor...
[ You are not allowed to view attachments ]

The DropZone with the built-in form skin.
[ You are not allowed to view attachments ]

The launcher when it has detected that you have multiple file extensions of the same type in the launch file configuration.
[ You are not allowed to view attachments ]

Usage

Installation
Extract to an application folder outside of the normal program files folder making sure to extract it with folder structure intact.

Using the Application
To act as a launcher for file types you specify from the launch file editor.  For non flash drive you can add a shortcut in the SendTo folder of your system that points to the launcher. Then when you right click a file goto the Send To menu and select the shortcut to launch with the launcher.  This also has the added benefit of not having to change file associations on the system.  Currently to use from your flash drive or portable hard drive you would need to use the DropZone with the launcher and launch configuration file in the folder that the DropZone is.

DropZone Skins
Any png file with alpha transparency placed into the skins folder.

ac_arguments.dat
Feel free to edit that file in your favorite text editor for argument auto complete to show up when adding and/or editing an application.  Note: One set of arguments per line.

Help File
Please note that the help file is not done.

Uninstallation
Just delete the application folder.

Known Issues
Currently do not know of any.
Title: Re: NANY 2012 Pledge Teaser: PEW
Post by: Deozaan on September 07, 2011, 11:11 AM
Secret? That stinks! ;)
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on September 07, 2011, 09:23 PM
Please note that while I have released an early beta I will not be around much for the next few days or so.

See first post for download link. :)
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: mouser on September 07, 2011, 09:27 PM
Very cool!  :up:

I'm going to be adding support for pew into FARR.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: Deozaan on September 07, 2011, 09:30 PM
This does sound very useful for a portable apps drive. :Thmbsup:
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: capitalH on September 08, 2011, 01:58 AM
Cannot get DropZone to work.

PortableExtensionWarlock.exe works fine - added Notepad++
Launched DropZone - created the icon on my desktop
dragged a txt file on it - got the error message that "Could not be found" - does not say what could not be found

Windows XP SP3 , .Net4

Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on September 08, 2011, 03:00 AM
Cannot get DropZone to work.

PortableExtensionWarlock.exe works fine - added Notepad++
Launched DropZone - created the icon on my desktop
dragged a txt file on it - got the error message that "Could not be found" - does not say what could not be found

Windows XP SP3 , .Net4

Sounds like it is having trouble finding the application at the path you entered that will handle the txt file.  You can download it again the version hasn't changed but I uploaded one that changed the area I think it is to tell you what couldn't be found.  So you might try that and report back.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: jgpaiva on September 10, 2011, 07:58 AM
Not sure if you are aware, but xyplorer (http://xyplorer.com) has something similar to this: portable file associations (http://www.xyplorer.com/tour/index.php?page=portable).
It has a ton of features (http://www.xyplorer.com/tour/index.php?page=pom) which may serve as inspirations for the future development of PEW ;)
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: kyrathaba on September 10, 2011, 08:09 AM
Great program, hamradio!!
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: thomasp67 on October 05, 2011, 05:22 PM
I'm Having the same issue as capitalH, its not an issue with finding the application as the correct icon is displayed for that application. It seems to me like PEW_DropZone.exe is not finding PEW_Launch.exe. When I drag a file onto PEW_Launch.exe it works perfectly.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on October 05, 2011, 05:49 PM
Is the PEW_DropZone.exe in the same directory as the PEW_Launch.exe?

Does it popup a messagebox saying...

---------------------------
Error!
---------------------------
PEW_Launch.exe was not found in the dropzone folder.
---------------------------
OK   
---------------------------

(Ctrl + Copy) on a message box will copy the contents of it. If it is different than that then let me know a little more on what it says so that I can track it down.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: thomasp67 on October 05, 2011, 05:55 PM
Yes, both files are in the same folder. The error is as follows:-

---------------------------
Error!
---------------------------
was not found in the dropzone folder.
---------------------------
OK   
---------------------------


I don't know if it makes any difference but here's the PEW_DropZone.xml file, is the <LauncherApplication /> node supposed to be empty?


<?xml version="1.0" encoding="utf-8"?>
<!--Settings for Portable Extension Warlock - Drop Zone-->
<!--Last Modified: 6/10/2011 10:56:42 a.m.-->
<Settings>
 <WindowTop>931</WindowTop>
 <WindowLeft>1587</WindowLeft>
 <WindowSkinImage>{0af8c8c7-f98a-4910-841b-3c789eda30ae}</WindowSkinImage>
 <LauncherApplication />
</Settings>
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on October 05, 2011, 06:00 PM
Yes, both files are in the same folder. I don't know if it makes any difference but here's the PEW_DropZone.xml file, is the <LauncherApplication /> node supposed to be empty?


<?xml version="1.0" encoding="utf-8"?>
<!--Settings for Portable Extension Warlock - Drop Zone-->
<!--Last Modified: 6/10/2011 10:56:42 a.m.-->
<Settings>
 <WindowTop>931</WindowTop>
 <WindowLeft>1587</WindowLeft>
 <WindowSkinImage>{0af8c8c7-f98a-4910-841b-3c789eda30ae}</WindowSkinImage>
 <LauncherApplication />
</Settings>

No and that is a clue try changing it to: <LauncherApplication>PEW_Launch.exe</LauncherApplication>

If that works I may need you to test a solution when I figure out why it is not writing that setting for you. Let me know please.

Actually try downloading it again from same place and make sure the modified date of the DropZone is 10/05/2011.  If it is try that version for me and see if I have corrected the issue.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: thomasp67 on October 05, 2011, 06:14 PM
Thats fixed it, I'll let you know if it changes back.

I downloaded and extracted again and opened PEW_DropZone.exe and the xml it generates does the same thing.

Great program by the way, thanks.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on October 05, 2011, 06:17 PM
Thats fixed it, I'll let you know if it changes back.

I downloaded and extracted again and opened PEW_DropZone.exe and the xml it generates does the same thing.

Great program by the way, thanks.

Oops added the wrong test file into the download please redownload. Then it should be fixed for good.

And a big thanks to you for working with me to help get a better handle on it. The first was a little broad and couldn't find it.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: thomasp67 on October 05, 2011, 06:37 PM
Glad to help.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on October 06, 2011, 07:06 PM
Development notes on some stuff here...seeing as how last night was only a temporary fix I have converted all the previous xml code over to a serialization routine that will hopefully ensure it does what it is suppose to from now on. :)  A small update sometime in the next week perhaps.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: hamradio on October 07, 2011, 03:32 PM
EARLY BETA RELEASE #2: (from Version 1.0.0.1 to Version 1.0.0.73)

1. DropZone was not loading/saving the LauncherApplication setting under certain circumstances should be fixed.
2. Fixed the backup save routine to where it should now display the right month and year of the older launch file backups.
3. DropZone settings now use the same backup routine as the launch files.

See first post for download link or use the built-in update checker button to open in the default browser the download url which will allow you to save it.

Enjoy! :)
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: kyrathaba on October 13, 2011, 07:53 AM
Nice!  :Thmbsup:
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: panzer on November 20, 2011, 01:54 PM
Looks OK, but the public comp I often use does not have .NET installed.

Update: I tried PEW on that comp and works fine. It appears that .NET is installed after all.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: kyrathaba on November 20, 2011, 03:32 PM
Looks OK, but the public comp I often use does not have .NET installed.

Unfortunately, there's not really anything that can be done about this.  Even those few companies that purport to offer software that obviates the need for the .NET runtimes don't really succeed, except in the simplest programs having relatively few assemblies.  Even in such cases, the software to produce such standalone .NET apps is usually prohibitively expensive for the hobbyist .NET programmer.

Your best bet is to ask the admin of the public PC to install the .NET runtimes.  However, they may not be willing to install them, because then anyone who walked in with a .NET app could run it on the machine, and who knows what nefarious executables might get executed on the public PC?
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: fenixproductions on November 20, 2011, 06:41 PM
Looks OK, but the public comp I often use does not have .NET installed.

Unfortunately, there's not really anything that can be done about this.

Although .NET framework is still needed, it would be nice to see if this requirement can be lowered a bit with framework version number.
Maybe this application does not utilize full potential of .NET 4.0 or even 3.0 and can require 2.0 only (or better: separate EXE files for 2.0, 3.0, 3.5, 4.0 if it is possible).

The reason behind this suggestion: I saw few public computers with .NET 2.0 available thanks to ATI Catalyst Control Center.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: wraith808 on November 20, 2011, 07:32 PM
Looks OK, but the public comp I often use does not have .NET installed.

Unfortunately, there's not really anything that can be done about this.

Although .NET framework is still needed, it would be nice to see if this requirement can be lowered a bit with framework version number.
Maybe this application does not utilize full potential of .NET 4.0 or even 3.0 and can require 2.0 only (or better: separate EXE files for 2.0, 3.0, 3.5, 4.0 if it is possible).

The reason behind this suggestion: I saw few public computers with .NET 2.0 available thanks to ATI Catalyst Control Center.
-fenixproductions (November 20, 2011, 06:41 PM)

Speaking as a .NET programmer, it's not just the potential, it's the way you program.  I look back to even .NET 3.5 with trepidation, because a lot of the constructs that I use now wouldn't work.  It's the same way as WPF vs WinForms... I could go back, but it would be a major adjustment.  A lot of people think it's just feature set or bells and whistles, but it's not as simple as that IMO.
Title: Re: NANY 2012 Early Beta: Portable Extension Warlock
Post by: kyrathaba on November 21, 2011, 05:35 PM
I look back to even .NET 3.5 with trepidation, because a lot of the constructs that I use now wouldn't work.

True.  The saving grace, IMHO, is that 99% of code can be up-converted to a higher edition of .NET painlessly. 

Update: I tried PEW on that comp and works fine. It appears that .NET is installed after all.

@panzer: Good deal!

Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on December 27, 2011, 04:20 PM
GENERAL UPDATE:
1. Very few changes.

See first post for download link. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: skwire on December 28, 2011, 12:34 PM
ghacks picked this up, too.  Good job.   :D

http://www.ghacks.net/2011/12/28/bypass-system-file-associations-with-portable-extension-warlock/
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on December 30, 2011, 04:42 PM
ghacks picked this up, too.  Good job.   :D

http://www.ghacks.net/2011/12/28/bypass-system-file-associations-with-portable-extension-warlock/

I left a comment as well. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: dmholmes on January 08, 2012, 09:57 PM
Looks OK, but the public comp I often use does not have .NET installed.

Update: I tried PEW on that comp and works fine. It appears that .NET is installed after all.

On the .NET front you could potentially use software virtualization to package it all together so you'd have a completely portable solution. I use Xenocode/Spoonreg/Novell Zenworks Application Virtualization at work (commercial) but there is also a free product from Cameyo which might work (http://www.cameyo.com). I haven't tried it in about a year but it seemed pretty capable, especially at the price.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: panzer on January 09, 2012, 05:02 AM
http://www.freewaregenius.com/2012/01/09/create-temporary-file-associations-with-portable-extension-warlock/

"If there was one thing I could wish for is for the associations to be switched automatically once PEW is running and until it I switched off, without the need for a dropzone to drag files onto."
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: mouser on January 09, 2012, 11:29 AM
Panzer beat me to it, featured on freewaregenius today as shown above.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: shnk on April 19, 2014, 02:44 AM
Feature Request:

Open with dialog should only appear when I hover the file for more than two second, otherwise it should open by default application.

I hope it will help everyone.

Thanks
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on April 19, 2014, 05:39 PM
Feature Request:

Open with dialog should only appear when I hover the file for more than two second, otherwise it should open by default application.

I hope it will help everyone.

Thanks

I think that would be not possible to do, since it does not run in the background monitoring everything launched if you are sending it directly to the main launcher.

However if you are using the drop zone for it (which basically just redirects the dropped filename to the main launcher at this time)...I might be able to do something to make it launch the first program that it finds from the list you added of programs that can handle the extension.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: shnk on April 20, 2014, 12:03 AM
Feature Request:

Open with dialog should only appear when I hover the file for more than two second, otherwise it should open by default application.

I hope it will help everyone.

Thanks

I think that would be not possible to do, since it does not run in the background monitoring everything launched if you are sending it directly to the main launcher.

However if you are using the drop zone for it (which basically just redirects the dropped filename to the main launcher at this time)...I might be able to do something to make it launch the first program that it finds from the list you added of programs that can handle the extension.

Exactly, sorry for the ambiguity. Actually asked for:

trigger                                                                     Action
----------                                                                  ----------
dropping a file without any time delay                        open it with first program suitable for dropped files extension
hovering a file over drop zone, and then dropping it    show open with dialog of pew


I hope it clears the doubt.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on April 20, 2014, 05:44 PM
Feature Request:

Open with dialog should only appear when I hover the file for more than two second, otherwise it should open by default application.

I hope it will help everyone.

Thanks

I think that would be not possible to do, since it does not run in the background monitoring everything launched if you are sending it directly to the main launcher.

However if you are using the drop zone for it (which basically just redirects the dropped filename to the main launcher at this time)...I might be able to do something to make it launch the first program that it finds from the list you added of programs that can handle the extension.

Exactly, sorry for the ambiguity. Actually asked for:

trigger                                                                     Action
----------                                                                  ----------
dropping a file without any time delay                        open it with first program suitable for dropped files extension
hovering a file over drop zone, and then dropping it    show open with dialog of pew


I hope it clears the doubt.

Will take a look at it.

Backup your pew files, then goto... http://carrolld.dcmembers.com/pew/ (http://carrolld.dcmembers.com/pew/) and download the one with beta in the filename and try it.

Right click the pew dropzone and choose "Delayed Open With".

Please report back on any bugs or if it is doing okay in your testing.  It is a beta version and might be a little buggy atm.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: shnk on April 21, 2014, 03:05 AM
Feature Request:

Open with dialog should only appear when I hover the file for more than two second, otherwise it should open by default application.

I hope it will help everyone.

Thanks

I think that would be not possible to do, since it does not run in the background monitoring everything launched if you are sending it directly to the main launcher.

However if you are using the drop zone for it (which basically just redirects the dropped filename to the main launcher at this time)...I might be able to do something to make it launch the first program that it finds from the list you added of programs that can handle the extension.

Exactly, sorry for the ambiguity. Actually asked for:

trigger                                                                     Action
----------                                                                  ----------
dropping a file without any time delay                        open it with first program suitable for dropped files extension
hovering a file over drop zone, and then dropping it    show open with dialog of pew


I hope it clears the doubt.

Will take a look at it.

Backup your pew files, then goto... http://carrolld.dcmembers.com/pew/ (http://carrolld.dcmembers.com/pew/) and download the one with beta in the filename and try it.

Right click the pew dropzone and choose "Delayed Open With".

Please report back on any bugs or if it is doing okay in your testing.  It is a beta version and might be a little buggy atm.


  :Thmbsup:It is working perfect my friend, regarding this I have another suggestion that is; its colour(or any other indicator) should change as the behaviour of drop zone is changed. This  might help us know exactly when to stop hovering file over the pew drop zone.
thanks my friend. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on April 21, 2014, 09:52 AM
Your very welcome.  Will have another beta with it soon for your testing as that was next on the my list once I made sure it was working for you as well. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on April 21, 2014, 06:04 PM
Okay try re-downloading the beta from the location mentioned before and let me know what you think. I am still debating on how I am displaying it at the moment, so thoughts would be nice. Seems I cant get it to follow the mouse though atm. It will appear near where the mouse first enters the dropzone though. :Thmbsup:
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 18, 2014, 02:16 PM
A new beta has just been posted @ carrolld.dcmembers.com/pew/ (http://carrolld.dcmembers.com/pew/) with a few bug fixes, other behind the scene enhancements, and a few skins removed and some added for the DropZone. :)
Just remember...you will need to get the file with beta in it's name else you are getting the latest non beta version.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: lanux128 on November 19, 2014, 10:25 PM
thanks for the new updates, hamradio! :Thmbsup:
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: fenixproductions on November 21, 2014, 02:13 PM
Is it possible to start launcher with text file parameter?

I mean: such text file would contain the list of files I would like to open and PEW could do one of these steps:
1. for each file start associated application
2. start application associated with all files extensions and:
- pass list of files to it
- pass all files as parameters
3. just pass the list over.

It would be nice if I could use PEW together with Total Commander. Since TC can generate temporary file with list of all things selected (%L parameter) I could help if PEW was able to handle it.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 25, 2014, 11:39 PM
Is it possible to start launcher with text file parameter?

I mean: such text file would contain the list of files I would like to open and PEW could do one of these steps:
1. for each file start associated application
2. start application associated with all files extensions and:
- pass list of files to it
- pass all files as parameters
3. just pass the list over.

It would be nice if I could use PEW together with Total Commander. Since TC can generate temporary file with list of all things selected (%L parameter) I could help if PEW was able to handle it.
-fenixproductions (November 21, 2014, 02:13 PM)

Not sure on that request and is why I haven't replied before now as I want to think it would be a little confusing but unsure at this time...
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: fenixproductions on November 26, 2014, 04:24 AM
Not sure on that request and is why I haven't replied before now as I want to think it would be a little confusing but unsure at this time...

Why confusing? Can PEW handle selection of many files?
If yes than I have simpler idea: get files selection from text file (passed to PEW as parameter) and act normally.

So… if my text file contains list:
c:\test1.txt
c:\test2.txt

then PEW would work like two text files were dropped into DropZone.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 27, 2014, 12:35 AM
Can PEW handle selection of many files?
-fenixproductions (November 26, 2014, 04:24 AM)

Not at this time as it can only handle one.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on January 12, 2015, 06:34 PM
Version 2.0.0 build 1 now available!!

RECOMMENDED UPDATE:

1. Rewrote quite a bit of the code in the launcher and the launch file editor and should be at least a little better.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: lanux128 on February 15, 2015, 08:28 PM
Just chiming in to say that PEW is an awesome upgrade to ChoiceEditor which I was using previously. :up:

"Open With" window showing alternate launchers for the extension "ahk"
[ You are not allowed to view attachments ]

ProTip: you can access the "configuration editor" via the system menu of the "Open With" window.
[ You are not allowed to view attachments ]
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: dcsev on March 03, 2015, 06:50 AM
Hi hamradio.

Long time donationcoder reader. Somehow missed your app. I have been looking for something similar for AGES.

I am having a lot of problems even just settings thing up.

On launch of PortableExtensionWarlock.exe

I get the following error:

---------------------------
Error!
---------------------------
Error while loading Portable Extension Warlock data.



Object reference not set to an instance of an object.
---------------------------
OK  
---------------------------



I click OK and go into the app.


i try to add an entry and get this error

---------------------------

---------------------------
Index and length must refer to a location within the string.

Parameter name: length
---------------------------
OK   
---------------------------



Please help! I really, really want to get PEW working :(
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on March 05, 2015, 06:07 PM
Hi hamradio.

Long time donationcoder reader. Somehow missed your app. I have been looking for something similar for AGES.

I am having a lot of problems even just settings thing up.

On launch of PortableExtensionWarlock.exe

I get the following error:

---------------------------
Error!
---------------------------
Error while loading Portable Extension Warlock data.



Object reference not set to an instance of an object.
---------------------------
OK  
---------------------------



I click OK and go into the app.


i try to add an entry and get this error

---------------------------

---------------------------
Index and length must refer to a location within the string.

Parameter name: length
---------------------------
OK  
---------------------------



Please help! I really, really want to get PEW working :(

I will look into the error when I get feeling better which I hope is soon. I have had a bad ear infection + strep.

Note: Checkup on me in a couple days if I haven't posted an update.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: mouser on March 05, 2015, 06:07 PM
Get better soon, ham!
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on March 06, 2015, 07:50 PM
Okay a new version is up check first post for download link.

Also stisev sorry I couldn't get to it sooner cause of my sickness I would appreciate if you report back on it so I know it is fixed/I still got to track it down.

I finally ate more than I have been since Monday tonight, so I felt somewhat like poking in my code to hopefully find/fix it. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: dcsev on April 19, 2015, 07:27 PM
Hi hamradio,
Sorry for the delay. I didn't subscribe to this thread to see the response in time.

Anyways, here are few issues that are lacking to make this one of the most useful utilities EVER.

Bug #1: 
1. Open clean (virgin) copy of PEW
2. Immediately click top left button for "Save the launch file" (with no entries).  [[Note: PEW saves launch file]]
3. Close PEW
4. Open PEW
5. Observe error (see pic)
(http://i.imgur.com/jL0DTec.png)


The utility is exactly what I was looking for. It is cleanly designed and portable and actively developed. However, few things make it ultimately not so useful for me. I know there are others looking for the same thing, because the net was littered with requests similar to this one with no solution in sight :(

Here are the problems::

1. CRITICAL: Right click > sendto is extremely cumbersome and time consuming. While some people may welcome this and dropzone for portability, honestly this is not the tool that would be useful.  The best functionality IMO would be all your portable file associations in PEW just like it is, but what PEW does is "associate" itself with Windows (8.1+) set file associations so that when a user opens the file IN WINDOWS EXPLORER, it launches PEW and PEW in turn quickly launches the other app and (PEW) closes itself. 
The reason to do this is because reinstalling and re-doing file associations is an inveritable NIGHTMARE on Windows 8+, so this functionality would help save a lot of time. 

In summary. The user would:
1. Launch PEW
2. Add all associations
3. Save/close PEW
4. Launch PEW and have it "associate" with all the file extensions in the app entered.
5. PEW will take over file associations and place the user-enabled icon (if any) in windows explorer
6. When User double clicks on "Fileextensions.txt" for example, it will launch PEW > Notepad++.exe with text file >> closes PEW
 
2. If #1 is enabled, PEW should allow user to choose/change the icon displayed in windows explorer (so you can see set and forget your icons with 1 click) and save this information/icon information portably
3. Minor: Settings?
4. Minor: Should have AUTO-update check setting / portable self-installation available.

Please tell me if I am completely out of line, but I have not found an app that does this. I have tried all of them I believe.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: mouser on April 19, 2015, 07:42 PM
I know hamradio is going to be keen to look into these issues -- though you should know he has been in the hospital until recently so he may be a bit delayed in responding.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: dcsev on April 19, 2015, 08:07 PM
Thanks for the heads up mouser. No worries on the timing. Been waiting forever for this, so I am patient ;)


With that said,
The best, most ideal functionality would be a utility that when double click, would assign file associations to windows explorer based on the (portable )user entries.

That way there would be no middle man like PEW.  Is this possible? mouser? I haven't seen anything like this.  Is there even a chance of building something like this?
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on May 04, 2015, 07:32 PM
Bug #1:...
I will fix the bug a little later as I am still working on getting accustomed to the computer chair again.

1. CRITICAL:...
1. Mine was never meant to take over normal file associations on the computer even while just running.  I remember a program that could do what you want...but I cannot find the link right off in my bookmarks.

4. Minor: Should have AUTO...
2. Perhaps at some point.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on May 11, 2015, 09:38 AM
BUG FIX UPDATE:
1. A few bugs fixed.

See first post for download link. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: dcsev on May 11, 2015, 09:38 AM
Acknowledged. Will report back. Stand by.

Edit: works.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on May 11, 2015, 09:43 AM
Acknowledged. Will report back. Stand by.

Edit: works.

Thank you for the quick test as well. :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on January 05, 2016, 05:06 PM
The following update has a couple new features...

RECOMMENDED UPDATE:

1. Added the ability to create the icons for existing applications and automatically for new and edited applications if they don't already exist to read from them instead of from the application executable each time.
2.You may customize them as long as the filename/directory structure and image width/height is followed.
3.Launcher was updated for key press find of applications by first letter only.

Note if application icons are not found, then it should fall back to the application executable.

Enjoy and as always let me know if bugs are found. :)

Download link in 1st post.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: lanux128 on January 05, 2016, 08:19 PM
1. Added the ability to create the icons for existing applications and automatically for new and edited applications if they don't already exist to read from them instead of from the application executable each time.
2.You may customize them as long as the filename/directory structure and image width/height is followed.
3.Launcher was updated for key press find of applications by first letter only.

Thanks for the update, hamradio! I was able to use this feature #1 to add custom icons for CLI apps (e.g. ffmpeg). #3 is a nifty time-saver too.


[ You are not allowed to view attachments ]
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on January 06, 2016, 11:24 AM
Release Notes of 2.1.0.2

A few bugs from version 2.1.0 build 1 fixed.  Let me know if anymore are found.

Thanks for the update, hamradio! I was able to use this feature #1 to add custom icons for CLI apps (e.g. ffmpeg). #3 is a nifty time-saver too.

You're very welcome.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on February 03, 2016, 08:57 PM
Release Notes of 2.1.0.5

An extremely rare non critical bug was fixed with the launcher.

Enjoy :)
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on October 25, 2017, 09:28 PM
Beta Launcher 2.2.0.1 for EXISTING USERS who want to test the new directory support.

Download only includes the launcher application not the DropZone/Launch File Config Tool.

To test directory launch support:

1. Rename existing launcher to your choice of new name.
2. Extract new launcher from downloaded zip file to the Portable Extension Warlock directory.
3. Launch configuration tool and add to the list of extensions in each application entry that supports launching a directory: <dir>

Note: Download attached to this post will be removed when beta testing is over and added to an official release.


Release of official version now live.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 01, 2017, 05:19 PM
Any feedback from the people who has downloaded the beta version of the launcher from the previous post?
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 03, 2017, 02:25 PM
RECOMMENDED UPDATE - 2.2.0 build 1

1. Added directory support. (Use <dir> as an extension in each application that can handle directories.)
2. Minor bugs fixed.

Also recommended for you to create an application entry just for directories for windows explorer, so that you may still open directories with windows explorer if you have at least one application that supports directories.
Title: Re: NANY 2012 RELEASE: Portable Extension Warlock
Post by: hamradio on November 03, 2017, 09:53 PM
RECOMMENDED UPDATE - 2.2.0 build 1

1. Added directory support. (Use <dir> as an extension in each application that can handle directories.)
2. Minor bugs fixed.

Also recommended for you to create an application entry just for directories for windows explorer, so that you may still open directories with windows explorer if you have at least one application that supports directories.

Expanding on my recommendation above...

Something like the following for a file explorer entry through the launch file configuration editor...

Code: Text [Select]
  1. App File: <pewdrive>Windows\explorer.exe
  2. App Name: Explorer
  3. App Exts: <dir>
  4. App Args: "<file>"

Also move to top application entry if desired.