jostikas Posted July 17 Share Posted July 17 Hi! Waveforms 3.22.24 Is there a way to make a certain instrument pop to the foreground in the interface (see included Workspace) with a Script command? Also, is Scope.window.visible supposed to return "true" in this situation? Script-controlled foreground.dwf3work Link to comment Share on other sites More sharing options...
0 attila Posted July 17 Share Posted July 17 Hi @jostikas call: open("Scope") Link to comment Share on other sites More sharing options...
0 attila Posted July 17 Share Posted July 17 or Scope.window.onActivate(); Link to comment Share on other sites More sharing options...
0 jostikas Posted July 17 Author Share Posted July 17 Ah. I got in my own way. I thought "I don't want to open a new scope" and "I can register a callback here" :). OnActivate also isn't in the autocomplete menu (with good reason), but I did see it in the debugger view. Thank you! Link to comment Share on other sites More sharing options...
0 attila Posted July 17 Share Posted July 17 The Script is intended to automate only what cannot be done manually in the application. This exposes most of the objects and methods of the app. I tried to hide the dangerous and unnecessary ones. Link to comment Share on other sites More sharing options...
Question
jostikas
Hi!
Waveforms 3.22.24
Is there a way to make a certain instrument pop to the foreground in the interface (see included Workspace) with a Script command? Also, is Scope.window.visible supposed to return "true" in this situation?
Script-controlled foreground.dwf3work
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now