Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Hyperlink in the scripts's UI

$
0
0

Hi friends

 

I was looking in the JavaScript Tools guide but did not find this information (or perhaps I missed it). Would it be possible to a statictext become a hyperlink? And a portion of a text in an alert pop-up? For example:

 

var dlg = new Window ("dialog", "My dialog", undefined);

 

var myText = dlg.add ("statictext", undefined, "www.mysite.com");

 

var myButton = dlg.add ("button", undefined, "Click here");

 

myButton.onClick = function (){

alert("Please visit www.mysite.com for more informations, or send e-mail to me@mysite.com.");

};

 

dlg.show();

 

Could the "www.mysite.com" in the statictext and alert be an hyperlink? The same for the e-mail "me@mysite.com"? Does JavaScript UI allows it?

 

Thank you very much

Gustavo.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>