Skip to main content
K24076904
Known Participant
July 4, 2019
Question

local PC path source code??

  • July 4, 2019
  • 2 replies
  • 1712 views

Hi,

I'm trying to find some list of common paths I can use inside my scripts

as far as I get

app.preferencesFolder      --> Users/[Username]/AppData/Roaming/Adobe/Adobe Photoshop [version #]/Adobe Photoshop [version #] Settings

is there any similar way to get ?

Users/[Username]/AppData/Roaming/Adobe/Adobe Photoshop [version #]/Presets/Actions

and

C/Program Files/Adobe/Adobe Photoshop [version #]/Presets/Actions

Thanks!

This topic has been closed for replies.

2 replies

Kukurykus
Legend
July 4, 2019

decodeURI(path + '/Presets/Actions')

K24076904
K24076904Author
Known Participant
July 4, 2019

Hi Kukurykus

Thanks!

same solution for xml version?

yours example goes again to javascript, and Scripts folder is write protected for non-admin users ((

trying to find a solution for installing my script

Kukurykus
Legend
July 4, 2019

If you are on Windows you can use VBscript to access Regisry to get currenctly assigned Photoshop path.

K24076904
K24076904Author
Known Participant
July 4, 2019

better this one
as not all users have admin privileges

Users/[Username]/AppData/Roaming/Adobe/Adobe Photoshop [version #]/Presets/Actions

JJMack
Community Expert
Community Expert
July 4, 2019

From the manual JavaScript-Tools-Guide-CC.pdf

I think you sould download the manual and read it.  You can also test if what you develop as a files full path  Path\FileName.ext exists

JJMack
K24076904
K24076904Author
Known Participant
July 4, 2019

ok, thanks!
finally I decided to create custom folder in userdir

path="~/DDS_save/save_DDS_send.jsx"