Inserting hyperlinks<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />As two separate exercises, I want to (a) allow users of a JSL script I'm writing to link to a web page that I've referenced in one of the output windows, and (b) open MS Outlook to email someone by clicking on a link that I've supplied, with the address of the recipient and the subject of the email already prepopulated, but with the actual content of the message to be filled in by the user. I've found the "web" and "mail" functions, but can't see how to use them in this context. I'm running the script from Windows only, and I'd like to be able to do this in either JMP 8 or 9, if that's relevant to the question.
Many thanks
Inserting hyperlinksI am not sure I have understood what you want, but maybe you can use the underline style of Button Box() as a hyperlink substitute? The example below is only tested in JMP9 for Mac (Mail() not working!).
New Window( "test",
Lineup Box(
2,
Text Box( "Follow this link" ),
bb1 = Button Box( "http://www.jmp.com/", Web( "http://www.jmp.com/" ), Underline Style( 1 ) ),
Text Box( "Send mail to" ),
bb2 = Button Box( "test@example.com", Mail( "test@example.com", "example", "Windows only" ), Underline Style( 1 ) )
)
);