cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
nathan-clark
Level VI

Close Web() jmp window

In order to be able to open a sharepoint file, I'm using the Web(url, jmp window) command to open in JMP and then subsequent commands to access the data.

 

Is there a way to close the web window? Currently it seems the user needs to close it down, but since it's only being open to trigger credentials so JMP can actually do something with the file, it would make more sense to close the window.

I'm not finding the syntax to let that happen.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Close Web() jmp window

Maybe you can access it directly with window name? This seems to work

Names Default To Here(1);
Web("http://www.jmp.com/", JMP Window);
wait(1);
Window("Web Browser") << Close Window;
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Close Web() jmp window

Maybe you can access it directly with window name? This seems to work

Names Default To Here(1);
Web("http://www.jmp.com/", JMP Window);
wait(1);
Window("Web Browser") << Close Window;
-Jarmo
nathan-clark
Level VI

Re: Close Web() jmp window

Thanks! Worked like a charm.