Gets or sets the name of a project.
strPathFileName objDocument.PathName()
Works with all three project types. This
property keeps internally the full path plus file name of objDocument.
If you specify a filename without a path, the current pathway is used
to define the full file name.
If you assign a new file name for this property and then save the document
(see below), the dcoument is saved under the new name. An alternative
method would be to call the SaveAs
method
' VBScript
Set doc = BrainVoyager.OpenDocument("cg_objects.fmr")
doc.LinkStimulationProtocol "cg_exp_r1.prt"
MsgBox doc.Pathname
doc.Pathname = "cg_objects_prt.fmr"
doc.Save
// JScript
doc = BrainVoyager.OpenDocument("cg_objects.fmr");
doc.LinkStimulationProtocol("cg_exp_r1.prt");
doc.Pathname = "cg_objects_prt.fmr";
doc.Save();
#
PerlScript
$doc = $BrainVoyager->OpenDocument("cg_objects.fmr");
$doc->LinkStimulationProtocol("cg_exp_r1.prt");
$doc->Pathname = "cg_objects_prt.fmr";
$doc->Save();