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         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to