cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to maximise a window

Please forgive me if this is simple but I am fairly new to scripting. How does one get a journal window to be maximised in a script? I am trying to automate some SPC control charts and I get them to a journal which is displayed on the screen of a particular equipment. If I run the script from the script window which is already maximised then the journal is maximised. If I open and the script straight from windows explorer then it does not maximise. Any help would be appreciated.

Thanks

3 REPLIES 3

Re: How to maximise a window

Hi,

You can send the Maximize Window message to the journal.  Here is the syntax:

 Current Journal() << Maximize Window( 1 );

Hope that helps!

Wendy

Re: How to maximise a window

Hi WK,

Unfortunately that doesn't work for me. I am using an older version (4.0.5) of jmp so I wonder if that is the reason.

Regards

Re: How to maximise a window

Unfortunately, neither Current Journal() nor Maximize Window were available in JMP 4.  You could try using the Size Window command to resize the journal window to x pixels wide by y pixels high.   You will need a reference to the journal window to make this work.  In JMP 4, to get a handle to the journal, you had to save it then re-open it.  Here is a simple example:

2024_JMP4Example.PNG


JSL has advanced so much since JMP 4.  I definitely recommend upgrading!

Good luck!

Wendy

Recommended Articles