# Getting URL in a new window

**URL:** <https://forum.kirupa.com/t/getting-url-in-a-new-window/86261>\
**Category:** Uncategorized\
**Created:** [April 11, 2005, 6:28pm UTC](https://forum.kirupa.com/t/getting-url-in-a-new-window/86261 "2005-04-11T18:28:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robin10](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@robin10](https://forum.kirupa.com/u/robin10)\
**Post date:** [April 11, 2005, 6:28pm UTC](https://forum.kirupa.com/t/getting-url-in-a-new-window/86261/1 "2005-04-11T18:28:53Z")

</div>

Hi everyone, can someone tell me how to get a URL in a new window instead of the same one?

This is the script I have so far, which opens the URL in the SAME window, but I want it in a new window…

on (press) {  
getURL([http://www.???.html](http://www.????.html));  
}

thanks…  
Robin
