Page 1 of 1
Lost library
Posted: Tue Oct 02, 2018 10:28 pm
by dunbarx
I know where my LC preferences file is, because I can;
Code: Select all
put the filename of stack "revpreferences"
I get
"...myUsername/Library/Preferences/RunRev/livecode7.rev"
My problem is that I cannot find the designated "Library" folder at all and I certainly cannot find "liveCode7.rev" in any way, including SpotLight.
I am using v8.1.10
I just want to know that I can trash my preferences file if I ever need to.
Craig
Re: Lost library
Posted: Wed Oct 03, 2018 12:18 am
by FourthWorld
By default macOS now tells users the required ~/Library folder doesn't exist. You can navigate to it by using the item for a specific directory in the Finder's Go menu and entering that string, or show hidden folders using this keyboard shortcut:
http://osxdaily.com/2018/02/12/show-hid ... -shortcut/
Re: Lost library
Posted: Wed Oct 03, 2018 5:38 am
by dunbarx
Richard
The hidden files gadget is cool.
But I still cannot find the preferences file. And I thought I knew how Macs work.

Re: Lost library
Posted: Wed Oct 03, 2018 12:32 pm
by Klaus
Hi Craig,
let LC do this for you!
Create a button:
Code: Select all
on mouseUp pMouseButton
put the filename of stack "revpreferences" into tPath
set itemdel to "/"
delete item -1 of tPath
launch document tPath
if the result <> EMPTY then
answer the result
end if
end mouseUp
Will open that namely folder or may give a hint on what's going wrong.
Best
Klaus
Re: Lost library
Posted: Wed Oct 03, 2018 2:23 pm
by FourthWorld
Nicely done, Klaus.
Re: Lost library
Posted: Wed Oct 03, 2018 3:04 pm
by dunbarx
Thanks to both of you.
I think this is more an "off-topic" thing.
My problem is systemic. When I run Klaus' handler, I get a window showing the contents of the "RunRev" folder. I can see the path of that folder, as per my pathname in the original post above. All good. I can open each and every folder along the way to the file "livecode7.rev".
But if I close out of that window, and try to find the file by main strength, I cannot. I cannot even find the folder "Library" that encloses it. This even with the hidden folders shown.
Again, this is a Mac thing, not a LC thing that I am dealing with. At least I now have access to the pref file, and can delete it if needed. Thanks again.
But does anyone know why I cannot find a file that obviously exists, using either Spotlight or the finder "Find" command? I tried on a laptop at home, and have the same issue. i can find other files, just not this one.
Craig
Re: Lost library
Posted: Wed Oct 03, 2018 3:19 pm
by Klaus
Hi Craig,
in 10.7.x you can force to show the library folder, which is hidden by default, with a terminal command: chflags nohidden ~/Library/
After that you should be able to see the library folder in your FINDER window and I guess that is what's going on on your machine.
Best
Klaus
Re: Lost library
Posted: Wed Oct 03, 2018 3:24 pm
by dunbarx
Klaus.
Yes, I was not managing hidden folders very well. It seems all is good now.
Craig