cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lala
Level VII

Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

This removes html structure files quickly.

Thanks!

2024-04-03_18-53-35.png

太阳的微笑
原创 大v专访 2022-09-14 20:30 福建

淘时刻
人划线
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

If you already have the .html you can just load it using Load Text File().

-Jarmo

View solution in original post

6 REPLIES 6
lala
Level VII

回复: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

2024-04-03_19-00-32.png

jthi
Super User

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

Use New HTTP Request with Get method on the URL

request = New HTTP Request(
	URL("https://www.jmp.com/en_fi/home.html"),
	Method("Get")
);
data = request << send;

You might also have REST API endpoint you could use. If these aren't enough might have to use something like SeleniumBrowser Scripting with Python Selenium 

-Jarmo
lala
Level VII

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

This is the only result:

Thanks Experts!

2024-04-03_19-46-34.png

jthi
Super User

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

If you already have the .html you can just load it using Load Text File().

-Jarmo
lala
Level VII

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

Dealing with this type of code with JAVA interactions can be complex.

 

u="";txt=loadtextfile(u);
  • In the first post, I had to upload this html file

Thanks Experts!

lala
Level VII

Re: Open an html file with JMP's built-in browser. How do I get the content displayed with JSL?

Call AutoHotkey with JSL to copy.

2024-04-03_21-17-08.png