Copy link to clipboard
From a script I try to open a file at my synology server
var aFile = File("\\myserver\files\myfile.pdf");app.open(aFile);
I am getting
the specified file could not be opened because it could not be found
Any ideas why?
( The file is opened using a recorded action)
try this code, just Change the path
var aFile = new File("S:/myserver/folder/nameFile.pdf");app.open(aFile );
your code is not working but point me to the correct direction!
I just change the backslashes from \\ to //
var aFile = File("//myserver/files/myfile.pdf");app.open(aFile);Thanks!