Rev application folder
Is there a Rev built in to find the current Rev application folder. The best I can do is extract this from "the filename of stack "Home"" ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev application folder
On Sat, Jun 20, 2009 at 5:16 PM, David Bovill wrote: > Is there a Rev built in to find the current Rev application folder. The > best > I can do is extract this from "the filename of stack "Home"" > Look in the Dictionary under defaultFolder, specifically the notes and the User note by Devin Asay. HTH ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev application folder
Hi, David, get the defaultFolder When Revolution application starts up, the defaultFolder initially contains whatever the working directory was at the time the application was launched. Under the IDE it points to Revolution IDE folder, but for standalones it points to working directory of standalone application (if not changed by script). Viktoras David Bovill wrote: Is there a Rev built in to find the current Rev application folder. The best I can do is extract this from "the filename of stack "Home"" ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev application folder
I'm changing the defaultfolder all the time and could get a bug by forgetting to reset it in a script. I guess you could use it in a startup script and then log the value somewhere - seems strange that it is not a built in - perhaps with specialfolderpath()? I think it's better to stick with using the filename of the Home stack as a basis for now. 2009/6/20 viktoras d. > Hi, David, > > get the defaultFolder > > When Revolution application starts up, the defaultFolder initially contains > whatever the working directory was at the time the application was launched. > Under the IDE it points to Revolution IDE folder, but for standalones it > points to working directory of standalone application (if not changed by > script). > > Viktoras > > David Bovill wrote: > >> Is there a Rev built in to find the current Rev application folder. The >> best >> I can do is extract this from "the filename of stack "Home"" >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution