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 for Programming
 LabTalk Forum
 label command question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

whlxx7169

USA
Posts

Posted - 03/24/2006 :  6:23:33 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): Pro v7.5
Operating System: WinXP

I have one project file (OPJ) with multiple folders (these are not the folders on a computer!!). Each folder has a data worksheet and one graph generated. Now I want to use "label" command in the script window to label each graph the same name as its folder name. I know 'label -s %X (or %G, %H etc.)' works but there is no variable for the folder name under an open project. Or maybe there is some clue in the help documents that I am missing?

Thanks for the help,
Hai-Li

Mike Buess

USA
3037 Posts

Posted - 03/25/2006 :  08:47:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
%A=pe_get_path(%H)$;
label -s %A;

Help > Programming > Extended LabTalk Commands > Project Explorer

Mike Buess
Origin WebRing Member
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