DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: how to? shortcut on desktop to open URL in NEW window  (Read 8,962 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
how to? shortcut on desktop to open URL in NEW window
« on: November 01, 2005, 01:16 PM »
How can I place a shortcut to an URL on the desktop that will always open a NEW browser window instead of opening the page in an existing one?

Does anyone know? 
Thank you.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: how to? shortcut on desktop to open URL in NEW window
« Reply #1 on: November 01, 2005, 07:05 PM »
on a web page you would add:
location="top" to the href, but i'm not sure you can do that in a shortcut.

another good solution would be that you could make your shortcut to a tiny .js javascript file that just opened a web page on a new page.  that should work well.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: how to? shortcut on desktop to open URL in NEW window
« Reply #2 on: November 01, 2005, 07:10 PM »
javascript to open window:
http://www.javascripter.net/faq/openinga.htm

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: how to? shortcut on desktop to open URL in NEW window
« Reply #3 on: November 01, 2005, 08:46 PM »
Thanks mouser, I found an even better way - or two, to be exact :)

First I wrote a little AutoHotkey script to do what I need (pressing some keys is better than grabbing the mouse anyway :) ), then I thought about it again and put the link to the IE exe together with the URL in Logitech's iTouch config. Just specifying the URL there sometimes didn't work, this now looks promising!

Thanks for the ideas!  :Thmbsup:
Thank you.

Original address: https://www.donationcoder.com/forum/index.php?topic=1384.0