Update: the problem is that the common dialog returns the
full path to the first element of the shortcut instead of
the path to the shortcut itself. This means that it is not
possible to use Shortcutter to launch a shortcut because you
can't get the name of the shortcut into the config.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update: the problem is that the common dialog returns the
full path to the first element of the shortcut instead of
the path to the shortcut itself. This means that it is not
possible to use Shortcutter to launch a shortcut because you
can't get the name of the shortcut into the config.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
:S I haven't thought about this option. Very good idea.
Thank you very much for suggesting it. I'll try to think of
some way to do this. (My code is a mess, and this is not a
bug, but bad structure of code.. :P)
BTW, for the specific example, you could simply attach the
file x.txt to launch it with the associated program
(default, notepad)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I edited your code to allow the user to type directly into
the pathShortcut textboxes. Then the launch worked
perfectly. I think the general idea of your program is
rather neat. There is one thing I would like to say though:
I think the form should pop up where the mouse is not in the
middle of the screen, also a left click on the tray icon
should open the form without having to pick from a menu. I
made these changes to the code, I can send them to you if
you like. Not sure if I would ever use the program myself
because I use the Quick Launch bar to run the programs I use
often.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=190513
Update: the problem is that the common dialog returns the
full path to the first element of the shortcut instead of
the path to the shortcut itself. This means that it is not
possible to use Shortcutter to launch a shortcut because you
can't get the name of the shortcut into the config.
Logged In: YES
user_id=190513
Update: the problem is that the common dialog returns the
full path to the first element of the shortcut instead of
the path to the shortcut itself. This means that it is not
possible to use Shortcutter to launch a shortcut because you
can't get the name of the shortcut into the config.
Logged In: YES
user_id=590751
:S I haven't thought about this option. Very good idea.
Thank you very much for suggesting it. I'll try to think of
some way to do this. (My code is a mess, and this is not a
bug, but bad structure of code.. :P)
BTW, for the specific example, you could simply attach the
file x.txt to launch it with the associated program
(default, notepad)
Logged In: YES
user_id=190513
I edited your code to allow the user to type directly into
the pathShortcut textboxes. Then the launch worked
perfectly. I think the general idea of your program is
rather neat. There is one thing I would like to say though:
I think the form should pop up where the mouse is not in the
middle of the screen, also a left click on the tray icon
should open the form without having to pick from a menu. I
made these changes to the code, I can send them to you if
you like. Not sure if I would ever use the program myself
because I use the Quick Launch bar to run the programs I use
often.