joerg_4923897's profile

90 Messages

 • 

2K Points

Fri, Jan 8, 2016 5:06 PM

Closed

PHOTOSHOP CC 2015.1: Javascript writln doesn't work under Win10

Javascript command "writeln" doesn't work under Win10 in specific path:
"C:/Windows/Temp/filename.txt" (The folder does exist)
But if I try to write to this path: "~/Desktop/filename.txt" it'll work.

Win10 pro, 64bit, latest PS version

Adobe Administrator

 • 

36 Messages

 • 

1.1K Points

6 y ago

Do you have write access to c:/windows/temp/? I'm guessing no and I would use Folder.temp for a temp location to store things in.

File(Folder.temp + "/filename.txt")

90 Messages

 • 

2K Points

6 y ago

I do have write access as an admin. I remember in CS6 I think there was a problem too. Maybe this could be the same?

But your solution works well. Thank you very much!