• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Open URL in browser via Photoshop

Participant ,
Nov 23, 2015 Nov 23, 2015

Copy link to clipboard

Copied

Is this possible? I don't need a clickable link for the user or anything, I just need the script to open a URL in the users default browser. How would I go about doing this?

TOPICS
Actions and scripting

Views

7.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Nov 23, 2015 Nov 23, 2015

function openURL(url) {

  var fname = "shortcut.url";

  var shortcut = new File(Folder.temp + '/' + fname);

  shortcut.open('w');

  shortcut.writeln('[InternetShortcut]');

  shortcut.writeln('URL=' + url);

  shortcut.writeln();

  shortcut.close();

  shortcut.execute();

  shortcut.remove();

};

Votes

Translate

Translate
Adobe
People's Champ ,
Apr 14, 2018 Apr 14, 2018

Copy link to clipboard

Copied

LATEST

For windows you can use

system ("explorer http://adobe.com")

By the way, the START command does exactly the same thing when the URL is pinned to it )

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Mar 23, 2018 Mar 23, 2018

Copy link to clipboard

Copied

I just installed 19.1.2. I plan on updating xtools, CSX, and ImageProcessorPro over the next month.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 11, 2018 Apr 11, 2018

Copy link to clipboard

Copied

I would love to check the new updated version 😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines