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

Photoshop Scripting Connect Google Sheet

Community Beginner ,
Jan 08, 2023 Jan 08, 2023

Copy link to clipboard

Copied

Hi! I need to implement the licensing of the script.

I came up with this way:

1. When you run the script, the script goes to a document on Google Drive and parses the keys from it.

2. The script checks for a match with the user's key on his computer

3. If everything is okay, the script works. If not, it closes.

 

My problem is that I don't understand how I can pull the file from the Google Drive link. Maybe someone has a solution? Thank you in advance!

TOPICS
Actions and scripting

Views

360

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

LEGEND , Jan 08, 2023 Jan 08, 2023

Votes

Translate

Translate
Adobe
LEGEND ,
Jan 08, 2023 Jan 08, 2023

Copy link to clipboard

Copied

They are just URLs like any other that can be accessed using the normal file and socket functions. Not sure what more you need.

 

Mylenium

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
Community Beginner ,
Jan 08, 2023 Jan 08, 2023

Copy link to clipboard

Copied

Thanks for the reply!

Here I don't understand how to access a file using a socket. Maybe you have an example? I would appreciate 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
LEGEND ,
Jan 08, 2023 Jan 08, 2023

Copy link to clipboard

Copied

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
Community Beginner ,
Jan 08, 2023 Jan 08, 2023

Copy link to clipboard

Copied

Thank you so much!
I'm going to check it out.

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
LEGEND ,
Jan 09, 2023 Jan 09, 2023

Copy link to clipboard

Copied

LATEST

You can also use a tool like cURL or command-line CyberDuck to get the external document. Those two will be much more powerful and flexible than what Extendscript has built-in.

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