PDA

View Full Version : Editing Quick Action Properties


1PT
04-24-2007, 08:47 AM
Hi everyone.

I have AM6 (6.0.5.0) and on my project I have about 20 or 30 sub folders each with the same file names. When I use a hot spot to link to any of the files, I have to;
1) Get the properties of the hotspot
2) Click on Quick Action
3) Select Open Document
4) Click Browse and go find the file (annoyingly it always defaults to a subfolder within Autoplay)

What I want to know is there any way of just editing the path manually? It's uneditable in the 'Document to open' field... that would save me so much time as once this project is done there's another 3 discs to do.

I did a quick search, I hope I've not missed an obvious thread somewhere.
Thanks.

1PT
04-24-2007, 09:20 AM
:o
I forgot to mention that I'm duplicating pages and then editing the duplicates.

yosik
04-24-2007, 03:23 PM
If I understand you correctly, the answer is yes and quite easy too:
let's say you have your 20 sub directories in the Docs folder in your project (they do need to be in your project for when you publish it) and you want to get the relevant directory name by clicking on your hotspot and then go and open a document in the chosen directory. You would do the following:
1. Every hotspot should have the following actions under the onClick event, as follows:

dirname = "theRelevantDirectory" --change to what you want in each hotspot
File.Open("AutoPlay\\Docs\\"..dirname.."\\documentname.doc","",SW_SHOWNORMAL);

That should do what you want.

Good luck

Yossi

1PT
04-24-2007, 06:11 PM
That's great, thanks - it does sound like that's what I'm wanting too - the ability to edit manually. :yes