New File issues in Mac Sierra


i'm having issues while creating file objects in sierra:

 

var myfile = new file("/users/myusername/documents/sample.jpg");    //of course file exists

 

fails many times (file not found), seems not or @ least not in computers

 

var myfile = new file("~/documents/sample.jpg");

 

works fine and  myfile.fsname returns full path specified in first option "/users/myusername/documents/sample.jpg"

 

something in sierra's file system may have changed, 1 user reported solved reinstalling os.

 

to reproduce error enable script logs , try place picture in photoshop, execute script extendedscript, path notation used in log doesn't works.

 

any appreciated.

if helps:

i have been able reproduce @ new cc 2017 start screen, if try reopen document there raises scripting error. same document opened @ photoshop's menu (recent list) opens fine.

 

as far know tests affects files saved documents folder.



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working