Page 1 of 1
specialfolderpath changed behaviour 6.5 vs 7.0 (Windows 7)?
Posted: Tue Oct 28, 2014 9:32 pm
by Havanna
I have different results for specialfolderpath("engine") under Windows 7
put specialfolderpath("engine") & "Rauch.sqlite" gets
Versions up to 6.5: Rauch.sqlite
But in new ver 7.0: C:\Program Files (x86)\RunRev\LiveCode 7.0Rauch.sqlite
I can add a slash of course, and can copy my database, but is this behaviour intentional?
and does the cnange affect path specifications in other places/OS as well?
I am still struggling with this path-juggling for different platforms, as the current project is intended for Ansdroid as well as IOS, Windows and OSX.
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Oct 29, 2014 1:08 pm
by Klaus
Hola Havanna,
well, specialfolderpath("engine") did not work on desktop machines in LC < 6.7!
In that case this would simply return EMPTY!
Read up the dictionary for more info about the current behaviour!
Best
Klaus
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Oct 29, 2014 1:42 pm
by Havanna
thx Klaus,
should have found that myself

Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Oct 29, 2014 4:57 pm
by jacque
That's interesting, because I've never seen any specialFolderPath function return with a slash at the end. I've always needed to add it.
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Oct 29, 2014 5:17 pm
by Klaus
jacque wrote:That's interesting, because I've never seen any specialFolderPath function return with a slash at the end.
Who said it would now?
But in new ver 7.0: C:\Program Files (x86)\RunRev\LiveCode 7.0Rauch.sqlite

Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Oct 29, 2014 7:57 pm
by jacque
I was being diplomatic.

Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Wed Nov 19, 2014 9:28 pm
by sphere
Hello,
now i have a question to this too
Aswel as for windows as for android you can choose ENGINE and DOCUMENTS.
Engine (on windows) being as i could see there were Livecode is installed, and Documents of course the users Documents.
Were would this be on Android?
Can i use specialfolderpath if i add the files as Non-stack files in the Stand alone application settings? or should the file then called on another way.
The FIles are little sound samples.
And will it then be exported as one file or as the apk with referenced files?
I'm creating something for Android (a new little project) , but am writing and testing in Windows first.
Thanks for any help on this.
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Thu Nov 20, 2014 9:32 pm
by Klaus
Hi sphere,
sphere wrote:Aswel as for windows as for android you can choose ENGINE and DOCUMENTS.
Engine (on windows) being as i could see there were Livecode is installed, and Documents of course the users Documents.
Were would this be on Android?
on the mobile platform ALWAYS store everything in -> specialfolderpath("documents")
sphere wrote:Can i use specialfolderpath if i add the files as Non-stack files in the Stand alone application settings? or should the file then called on another way.
Everything you add vie the "Copy files" tab in the standalone builder settings will be found here on the device -> specialfolderpath("engine")
sphere wrote:And will it then be exported as one file or as the apk with referenced files?
As referenced (single) files.
Best
Klaus
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Thu Nov 20, 2014 9:59 pm
by sphere
Hello Klaus,
thanks for your clear answer, just what i needed to know !
Have a nice evening !
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Thu Nov 20, 2014 10:21 pm
by Simon
One caution to save some headaches.
There is a liveCode version out that has a bug where if the Copy Files contains only a folder of assets it does not work. Individual files work and also I think an individual file and a folder works.
Ahh here a more complete report
http://quality.runrev.com/show_bug.cgi?id=13838
Simon
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Fri Nov 21, 2014 4:42 pm
by sphere
Thanks Simon!
I would like to read it but the page is not letting me in.
I changed the password twice, but still it keeps saying that my login is not correct.
But i only use version 7 Community now, so hopefully that bug is not in

Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Fri Nov 21, 2014 10:17 pm
by Simon
Here posted by re.mu
LC 6.6.3.4020 -> good
LC 6.6.4.4033 -> bad
LC 6.6.5.4040 -> bad
LC 6.7.0.5012 -> bad
LC 7.0.0.10016 -> bad
Workaround is to manually add each file from the folder.
You should test it.
Simon
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Sat Nov 22, 2014 10:42 am
by sphere
Thanks a lot Simon.
I will check it out.
cheers!
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Sat Nov 22, 2014 4:57 pm
by jacque
sphere wrote:I would like to read it but the page is not letting me in.
I changed the password twice, but still it keeps saying that my login is not correct.
The bug database requires its own login., different from your main RR user account. If you have never logged into the QCC before, you need to set up a new account there.
Re: specialfolderpath changed behaviour 6.5 vs 7.0 (Windows
Posted: Sat Nov 22, 2014 10:36 pm
by sphere
Thanks Jacque,
i had a separate login, but could not remember my password, that's why i changed it twice as it kept refusing to let me in.
I will try to use another password, maybe it will solve it then.