The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Filename/Path script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

a_user

USA
0 Posts

Posted - 08/20/1998 :  4:06:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I want a labscript so that I can print the filename and path on the graph the
way I do in Word.

a_user

USA
0 Posts

Posted - 08/20/1998 :  4:08:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
%X will return the Origin Project Path and File Name

If you run the following LabTalk script from a button or the Script Window,
it will place the path and name of the current project in the upper right
corner of the active graph window.

label -q 1 -s %x;

%X is the String System Variable that will return the path and name of
the open Origin project.

If you change the 1 to a 2, the label will move to the upper left corner.
Increasing the value will move the label Counter-ClockWise around the graph
window. Aditional information about labels can be found on page 88 of the
Origin 4.1 LAbTalk manual or Page 120 of the Origin 5.0 LabTalk manual.

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000