Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Get the network link of a file

$
0
0
Hi everyone. may i ask for a help.. i really can figure out how to convert this image link of my pc into a network link so that other pc can get it directly..

example
in my pc1 i have this image file save:

filePath = "C:\Users\%username%\Desktop\SharedFolder\test .pmg "

i want to save that path into a text file so that pc2 in the network once it load the txt file it will load to the Image object.

ex: "local networkLink = "file:///" .. filePath:gsub("\", "/")​

TextFile.WriteFromString("C:\\Users\\Admin\Desktop \\SharedFolder\", networkLink, false);




PC2
User load the txt file in AMS


Example: Image.Load("Image1", //%username%/SharedFoldertest.png)



Can you help me with this? thank you

Viewing all articles
Browse latest Browse all 2105

Trending Articles