Copy link to clipboard
Copied
Hello all.
I've developed a script (JS) and when i run it on my mac it works very smoothly and gets me all the images and render it. But when i run the script on windows it works, but dosen't read the images or render it, are there a different function or process for windows to read the files and image path?
The script to get the file i'm using.
var fImage = Folder("c://***");
var allFiles = fImage.getFiles();
Or what is causing it!!
Copy link to clipboard
Copied
What happens on Windows? Don't you get any return from getFiles? I suspect the path you have used
-Manan
Copy link to clipboard
Copied
Yes it sets the frames and then after that it should render the images but it dosent render the images only setting the frames.
Copy link to clipboard
Copied
How can we tell why it does not render the images, we are just looking at two lines of code you supplied
var fImage = Folder("c://***");
var allFiles = fImage.getFiles();
Did you debug and check if allFiles does get any value or not? What I suspect is those 3 * characters, what are they for? If you get the values in allFiles and verify that they indeed point to valid images on your computer then share the whole code that has the issue
-Manan
Copy link to clipboard
Copied
First of all, Thanks for your time. Secondly, I'm sorry i didn't mean to do that i just thought maybe the problem is with this function, it's not applicable with windows or this is not the proper wat to acess the windows file. About the **, i just meant etc.. or whatever path. I was in rush i didn't do a debug or to check what allFiles holds. I will try now.
sorry again.