NAME
Display the common Windows OpenFile dialog, allowing you to choose an horoscope file
or open a existing horoscope file.
The selected horoscope become the active horoscope, and all Proastro TCL commands that need a valid horoscope will apply to this horoscope.
If several call to SetCurrentHoroscope are made, the active horoscope is the last selected one, except if a call to SetCurrentHoroscope with the -nh parameters is done.
USAGE
SetCurrentHoroscope [-nh
OPTIONS
-nh
If specified, the horosope in position
-path
If specified, the horosope file in
-title
If specified,
Note that character separator is / not \.
RETURN
1 on success, 0 on failure.
Example
set path "C:/dev/proastro/cpp/Nouveau dossier/Régnier_Patrick(2).xml" if { ![SetCurrentHoroscope -path $path] } { PutTxt "Error opening horoscope" } PutTxt "Name: [Name]"
Output:
Name: Régnier