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
 Type of Active Window
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cdrozdowski111

USA
247 Posts

Posted - 11/26/2012 :  06:17:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 9.0.0 (Student Version), Win7 64-bit, running in VMware Fusion 5.0.2

Is there a definitive way to tell if the currently active window is a graph and not another type? I have a script I want to run again the active window only if it is a graph.

cdrozdowski111

USA
247 Posts

Posted - 11/26/2012 :  06:54:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Never mind, I got it:

if (exist(%(page.name$), 3) == 3) { //some code }
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