XP, Vista, Choosing where to save rev files

Richard Gaskin ambassador at fourthworld.com
Sat Sep 12 09:17:35 EDT 2009


sims wrote:

> If I let a Windows user choose via dialog where my app creates and  
> saves a rev file, will any folders that can be chosen by the user be  
> accessible to the rev app when it goes to open that file again?
> 
> I'm a bit worried about users choosing to save the file into a folder  
> that Vista will then not allow the rev app to open that file.
> 
> Maybe I'm being overly paranoid  ;-)   But Vista seems a bit cranky.

Vista *is* cranky, but I've had good results as long as I stick to 
folders within the user space.

You can direct the user to their Documents folder by specifying the path 
there in the ask file dialog, using the specialFolderPath function:

   ask file "Save file as:" with specialFolderPath("Documents")

That's no guarantee the user won't switch to a more troublesome folder, 
but in my experience many Windows users tend to stick to whatever folder 
you prompt them to.

--
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com



More information about the use-livecode mailing list