View Full Version : weblink change action.?
Alweissi
11-04-2008, 01:49 AM
Is is possible to make script that changes the weblink under hotspot action.?
Or somekind of "right button" action where can I change the link preferences.
I have made nice hotspot link map, where my workmates can find needed files quick and easily. The problem was when file names change.
yosik
11-04-2008, 09:57 PM
What I would do is use a table. The hotspots would refer to it for links.
The table could then get populated via an external file (text, ini, database, xml...). That external file, in its turn, can then be changed and updated at will.
Good luck
Yossi
Alweissi
11-04-2008, 11:17 PM
yep, Something like that would to the work. Just have to study how can I do file like that. Any advise would be nice ;)
thx
yosik
11-05-2008, 12:46 AM
Simplest way would be to create a txt file where each line is a URL. Then use the TextFile.ReadToTable action.
Each hotspot should have a "serial number", so that you would know that Hotspot 1 calls for element 1 of the Table (which in turn represents line 1 of the txt file), Hotspot 2 calls for element2 etc...
The action for the Hotspot number i would then be:
File.OpenURL(yourTable[i],SW_MAXIMIZE);
Hope that helps.
Yossi
Alweissi
11-06-2008, 11:39 PM
Yes. Problem solved
Thank you very much
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.