Reading pdf from folder
Posted: Sun Oct 27, 2013 8:49 pm
Hi all. Back again.
I have managed to overcome the issues with my last experiment.
Am now trying another.
I have got it to do all i want (which is to list files in a folder then open the selected one).
It works as a livecode project but not as a stand alone. that is, in development i can test it but once I change it to stand alone I only get the files in the folder that the program resides.
I wish to open pdf doc in a folder which resides in the same folder that the standalone is. (so i can transfer the program from this computer to another by stick).
In the code I have set the default folder to the one containing the PDF's by the line set the defaultfolder to "/Current Volvo Service Protocols" believing this will enable the stand alone to access the folder. Guess i am wrong.
Any pointers gladly received!!
Brian
I have managed to overcome the issues with my last experiment.
Am now trying another.
I have got it to do all i want (which is to list files in a folder then open the selected one).
It works as a livecode project but not as a stand alone. that is, in development i can test it but once I change it to stand alone I only get the files in the folder that the program resides.
I wish to open pdf doc in a folder which resides in the same folder that the standalone is. (so i can transfer the program from this computer to another by stick).
In the code I have set the default folder to the one containing the PDF's by the line set the defaultfolder to "/Current Volvo Service Protocols" believing this will enable the stand alone to access the folder. Guess i am wrong.
Any pointers gladly received!!
Brian