I have a Livecode Projects folder in my documents folder. Each project has it’s 
own folder. When I start up I set the defaultFolder to the stack path so that 
everything I need for that project is relative to that path. 

I switch between Windows and OS X when developing multi platform apps. I use 
Parallels VMs’ which have the capability of sharing one OS home folder with the 
other OS. When I attempt to access a path stored in a property, variable or 
field, I check to see if the path exists first. If it doesn’t, I query the user 
for the correct path. Then I save those values for future reference. 

I suppose it would depend on the app. If I had a problem locating stack files, 
I suppose I would just make a copy of the stack file and add it as a substack 
to the mainstack. That way I would always be able to find it no matter which 
platform I was using. But I have yet to have an issue finding the stack files 
the way things are now, probably because I put a copy of every stack file in 
the project folder of each app. 

Bob S


On Oct 15, 2014, at 20:22 , Richard Gaskin <[email protected]> wrote:

> 1. When you're working on stack files, do you always keep them somewhere in 
> your Home folder, or run with admin privileges and keep them somewhere else 
> (e.g. Applications)?
> 
> 2. Do you regularly switch among different OSes, and if so how do you sync 
> your files (drag-and-drop, rsync, OwnCloud, or something else), or do you 
> bypass syncing altogether by mounting a shared volume?
> 
> 3. If you do sync among multiple OSes, do you maintain the same paths to your 
> stack files on each system relative to your home folder?
> e.g.
> Mac:
> /Users/rg/SomeProject/MyStack.livecode
> Linux:
> /home/rg/SomeProject/MyStack.livecode
> 
> If the latter, then specialFolderPath("home") works as a way of storing 
> relative paths for multi-OS workflows in a tool I'm working on....
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> [email protected]                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to