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
 All Forums
 Origin Forum
 Origin Forum
 Filename/Path script

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
a_user Posted - 08/20/1998 : 4:06:00 PM
I want a labscript so that I can print the filename and path on the graph the
way I do in Word.
1   L A T E S T    R E P L I E S    (Newest First)
a_user Posted - 08/20/1998 : 4:08:00 PM
%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.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000