PDA

View Full Version : Adding Shortcut to PDF file


etoth
10-30-2003, 03:49 PM
I have a question in 2 parts so hopefully someone can help. First, I have an auto launch set to open a pdf file when clicked on. I would like to add a shortcut of that pdf file to the user's desktop. I am not sure how to do this. Also, what legal information do I need to include and how to include it. (ex. Do you wish to add a shortcut to your desktop?).

Second part of question is can you change the PDF icon to be something like a book cover of the pdf file I am working on.

Any help and tips is appreciated.

Thanks,
Erv

JimS
10-30-2003, 04:46 PM
Check out the Action Shortcut > Create.
The folder is %Desktop%
The Target File would be your pdf file something like %SrcDir%\My.pdf
Check the ‘Use External Icon’ box, with a path to your preferred icon. something like %SrcDir%\My.ico
Of course you will need to build yourself an icon that looks like your book.I think you hit the nail on the head, it’s always good form to ask the user befor you place a shortcut on their desktop.

etoth
10-30-2003, 04:51 PM
Jim,

That is very helpful. That answers the first part and the hardest. How do you add a comment or what is the settings to ask a user if they would like a shortcut placed on their desktop? A yes/no type of command?

Thanks,
Erv

JimS
10-30-2003, 04:56 PM
You could do it several ways, but I suppose the easiest would be to use the action:
Dialog > Message Box
for Dialog Type you might choose Yes|No

JimS
10-30-2003, 05:09 PM
Here's a quick sample project to help you along.

etoth
10-30-2003, 05:18 PM
Jim,

Thanks for your help and sample file. That is perfect. I would not have been able to figure it out on my own.

All questions answered.


Thank again,

Erv

JimS
10-30-2003, 05:30 PM
Glad to help. Don’t be so hard on yourself. Play around with AMS for a couple of weeks, and the light will switch on. You’ll figure out how to get it to just about anything you want it to do. The learning curve on this is so much easier than it is for most serious applications out there. Be sure to check out the help files also, they’re full of super helpful hints and examples. In no time at all, you’ll be an old hack at this stuff. Cheers!