|
garbanzo
|
 |
« on: April 19, 2012, 08:47:29 AM » |
|
Greetings  I have a need to create several hundred shortcuts to the same app, each with a different name and different arguments. My current "copy, rename, right-click, edit, confirm, repeat" process is cumbersome. This little project would benefit greatly from an app that would let me paste text in to the relevant fields, hit Create to make a shortcut, then repeat. Here is a very similar app to what I'm imagining, but it is designed to create admin shortcuts, which I don't need. http://www.softpedia.com/...SU-Screenshot-168241.htmlRequired fields are Name, Target, Start Dir, and the directory where the file will be created. It would be nice if arguments could be put in a separate text box, since these have to change with every shortcut I create. Optional features could include selecting an icon, adding a description, and whatever else LNK files support, but I don't need these for my purposes. Ideally, form data would not be cleared after creating a shortcut, but maybe this could be an option. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #1 on: April 19, 2012, 10:01:54 AM » |
|
Do you have these different names and arguments in a text file? If so, it would be easier to simply make a script that reads that in and creates all your shortcuts in one pass without a GUI. Thoughts?
|
|
|
|
|
Logged
|
|
|
|
|
garbanzo
|
 |
« Reply #2 on: April 19, 2012, 10:11:49 AM » |
|
I considered that. I don't have them right now, but I could enter the data into Excel as I work, then just export to CSV. So yes, a script would work too!
|
|
|
|
|
Logged
|
|
|
|
|
|
c.gingerich
|
 |
« Reply #3 on: April 19, 2012, 10:23:28 AM » |
|
Here ya go!  Should be self explanatory, but if you have any questions let me know. Link Snack.exe (1324 KB - downloaded 165 times.)
|
|
|
« Last Edit: April 19, 2012, 07:32:53 PM by c.gingerich »
|
Logged
|
|
|
|
|
garbanzo
|
 |
« Reply #4 on: April 19, 2012, 10:30:29 AM » |
|
Wow, great!
Working well for my purposes, thank you.
One little request: could you set it up so that hitting Return in any text box sends the command to create the link?
|
|
|
|
« Last Edit: April 19, 2012, 10:52:23 AM by garbanzo »
|
Logged
|
|
|
|
|
c.gingerich
|
 |
« Reply #5 on: April 19, 2012, 01:43:57 PM » |
|
Sure. I'll update in a few
|
|
|
|
|
Logged
|
|
|
|
|
c.gingerich
|
 |
« Reply #6 on: April 19, 2012, 01:50:35 PM » |
|
Ok. I updated Link Snack. Now pressing enter in any text box will create the link. Re-download from above.
|
|
|
|
|
Logged
|
|
|
|
|
Ath
|
 |
« Reply #7 on: April 19, 2012, 01:59:15 PM » |
|
Chris, What tool/language/environment do you use for tools like these? AHK? (missed that info from the posts you made the last couple of days  )
|
|
|
|
|
Logged
|
|
|
|
|
c.gingerich
|
 |
« Reply #8 on: April 19, 2012, 02:17:33 PM » |
|
It's called Visual Dialogscript. Unfortunately it is no longer in development.  I have been using it for over 15 years.
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #9 on: April 19, 2012, 03:40:34 PM » |
|
@c.gingerich: Very nice! Thanks for jumping in. @garbanzo: Are you good with this or did you still require a commandline app that could read a CSV file and spit out your shortcuts? If not, I'll mark this thread as done and move it to the finished section.
|
|
|
|
« Last Edit: April 19, 2012, 03:46:39 PM by skwire »
|
Logged
|
|
|
|
|
c.gingerich
|
 |
« Reply #10 on: April 19, 2012, 03:45:40 PM » |
|
@skwire: Thanks  I can add command line support for a CSV file if needed as well.
|
|
|
|
|
Logged
|
|
|
|
|
garbanzo
|
 |
« Reply #11 on: April 19, 2012, 05:54:00 PM » |
|
c.gingerich, now that I'm home from work and able to test the tool more thoroughly, I realize there is a bug.
Text inputted into the Parameters field ought to be added to the end of the Target string. Instead, it is showing up as the "Start in" data.
If you could have a look, I would really appreciate it!
|
|
|
|
« Last Edit: April 19, 2012, 06:01:15 PM by garbanzo »
|
Logged
|
|
|
|
|
c.gingerich
|
 |
« Reply #12 on: April 19, 2012, 07:33:44 PM » |
|
Sorry about that, should be fixed now.  Download again from above.
|
|
|
|
|
Logged
|
|
|
|
|
garbanzo
|
 |
« Reply #13 on: April 19, 2012, 08:03:10 PM » |
|
Working perfectly, thank you so much  Skwire, consider this thread closed.
|
|
|
|
|
Logged
|
|
|
|
|
Josh
|
 |
« Reply #14 on: September 12, 2012, 07:33:50 PM » |
|
c.gingerich, is there any way you could modify this program to simply require the target path and link name and pull this info from a CSV file?
|
|
|
|
|
Logged
|
Strength in Knowledge
|
|
|
|
c.gingerich
|
 |
« Reply #15 on: September 12, 2012, 07:40:05 PM » |
|
@Josh I'll try to add support for CSV as soon as I can.
|
|
|
|
|
Logged
|
|
|
|
|
Josh
|
 |
« Reply #16 on: September 12, 2012, 07:47:21 PM » |
|
That would be awesome!
|
|
|
|
|
Logged
|
Strength in Knowledge
|
|
|
|
c.gingerich
|
 |
« Reply #17 on: September 13, 2012, 10:48:53 AM » |
|
As per request I added CSV support to Link Snack. Create a CSV file in the following format: Target file, Link Name, Start Dir, Location, Parameters, IconStart Dir, Parameters and Icon are optionalAll file options require the fill path (i.e. Fill path to target, icon, location and Start Dir) Start Link Snack and drag and drop the CSV file onto the dialog and it will be processed immediately. If there are any errors creating a link, a file called LinkErr.txt will be created in the same location as Link Snack.exe. Download Link Snack 2.0Enjoy!
|
|
|
|
|
Logged
|
|
|
|
|