salvadorbs / Asuite

ASuite is a simple open source portable launcher for Microsoft Windows.
http://www.salvadorsoftware.com/asuite
GNU General Public License v3.0
96 stars 14 forks source link

v1.5 can't launch non-EXE files #160

Closed Heraes-git closed 2 years ago

Heraes-git commented 2 years ago

Hello,

I'm sorry to post this here, I tried 10 times to send you an email through your website's form, but the CAPTCHA is messed up (we can't read correctly signs in it, and I failed constantly...).

So, here's my request :

I use the v1.5 for various reasons like menus opening speed, but I found that Asuite v1.5 can't open files that aren't EXE programs, like a PDF, or any file with any extension (like a SublimeText workspace file).

However, we can launch a Google Chrome app shortcut, probably because it has the main EXE path in it, and the app's ID as an argument. So I bet that Asuite is using a special "command" that relies only on EXE files, similar to the START command of MS-DOS.

Could we do something to solve this ?

WORKAROUND

There's actually a way to make it work, but this is a bit longer (and an integrated solution would be better) :

  1. Given than any file (PDF, etc) relies on a program to open it, just indicate this program as the main path in Asuite. Ex : $Drive\Myprograms\Sublime Text\x64\sublime_text.exe
  2. As optionnal parameter, indicate the path to the aforementioned "file" (PDF or .sublime-workspace). Ex : $Drive\Projects\stuff.sublime-workspace

Warning : you have to use doublequotes to wrap the path of the optional parameter if it has spaces in it !

Ex : "$Drive\My Projects\stuff.sublime-workspace"

salvadorbs commented 2 years ago

Unfortunately, I can't help you that much. I still have the ASuite 1.5 sources, but I no longer have Delphi licenses to be able to investigate the problem and fix it. Furthermore, the most recent versions have undergone more than one code rewrite, as well as a change in the compiler (Delphi -> FreePascal) and base libraries (VCL -> LCL).