Launch document problems
J. Landman Gay
jacque at hyperactivesw.com
Tue Jan 27 14:40:24 EST 2009
Scott Pepperdine wrote:
> Hi all,
>
> I'm trying to use 'launch document' to open a .csv file in a
> spreadsheet. I keep getting the result of "can't open file", which
> tells me the file could not be found, or is not accessible.
>
> My script currently looks like:
> on mouseUp
> launch document "c:/testfile.csv"
> if the result is not empty then
> answer the result
> end if
> end mouseUp
>
> I'm assuming that the file is not found.
Since you've tried checking for existence, the file is probably found.
More likely is that it is inaccessible to Rev, which could be a
permissions issue. Have you tried moving the file to a folder that is
accessible to the current user, like the desktop?
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list