Skip to main content
Inspiring
January 10, 2022
解決済み

Start Photoshop & run script without user interaction

  • January 10, 2022
  • 返信数 2.
  • 3573 ビュー

Hey

 

I'm in need of running script in photoshop without it 

Asking for that.

I want to start PS & run Script, ur run script in already running PS.

I don't want to add settings entry in PSUserConfig.txt file. 

Any ideas how that can be done?

I know that vscode/extendtoolkit are able to send messages to PS without that "pop-up" as thats how we run scripts there... any idea how to piggy back off them?

My current command

"C:\Program Files\Adobe\Adobe Photoshop 2022\Photoshop.exe" -r "C:\Users\Master\Desktop\yaya.jsx"

Regards

Dariusz

このトピックへの返信は締め切られました。
解決に役立った回答 Kukurykus

Why don't you make part of script that edits that .txt file to update of necessary line?

返信数 2

Kukurykus
Kukurykus解決!
Legend
January 10, 2022

Why don't you make part of script that edits that .txt file to update of necessary line?

Dariusz1989作成者
Inspiring
January 10, 2022

Id rather not edit photoshop user preferences just so I can hide my evil scripts 😄 Also if the file is located in secure loca tion /program files. I probably wont be able to anyway...

 

Kukurykus
Legend
January 10, 2022

It's not in secure only read Program Files folder, but in read/write User Preferences folder.

c.pfaffenbichler
Community Expert
Community Expert
January 10, 2022

If I undersatand you correctly you could try using 

File > Scripts > Script Events Manager 

instead and link the Script to the »Start Application«-event. 

Dariusz1989作成者
Inspiring
January 10, 2022

Hey

Interesting idea, thank you! But it wont work, I want to send different scripts /etc.

I dont want user to have to configure anything except for just running my app & that run scripts in ps.

Regards

Dariusz