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
 switch "use master items" via LabTalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

CarstenFEV

Germany
Posts

Posted - 03/22/2006 :  3:16:02 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7 & 7.5
Operating System: XP Pro

Hello,

how can I switch "use master items" (as I can do it via "Plot Details" dialog) within a LabTalk script. I know that I can switch between "Copy Page" with and without Master (@PP=1 or 0). But how to switch the general use of master pages?

Thanks in advance & best regards
Carsten

greg

USA
1379 Posts

Posted - 03/22/2006 :  4:45:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This is not supported directly, but there are two workarounds ...

This workaround should work in any version of Origin :
// Turn Master items OFF
win -r Master ExMaster; // Rename the Master window to ExMaster
doc -uw; // Refresh
// Turn Master items ON
win -r ExMaster Master; // Rename the ExMaster window to Master
doc -uw; // Refresh

This workaround uses MenuID which may be version dependent :
DoMenu 33096; // Toggles the Show Master menu item in v7.5
doc -uw;


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