Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 440

Talking LiveCode • Re: Where is my library of general-purpose scripts stored?

$
0
0
Hi I'm a new member!
I have a general purpose stack that I use for the most of my programming, with the command'start using stack "scripts. livecode"'. It is in one of my Livecode-related folders. Since 2001 (or so, IIRC), I've switched Macs and reorganized my Rev/LC folders. I now have approximately twenty variants of that stack:cry: .
When I rearrange my files and folders, my old stacks no longer work since they cannot find the stack "scripts" due to pathname changes.
If I keep a copy near each of my stacks and use relative pathnames, it would be a 'bread crumbs' method with dozens/hundreds of duplicates. I would rather put it in a permanent location once and for all. Is there one place that stands out above the rest? I've considered using the Livecode folder in Applications, but don't want to leave a stack there. Another option is the 'Development > Objects Library', but I'm unable to add anything there. Can I add a script or stack?
- Anywhere else?
- Alternatively, a fixed folder can be used, but the issue remains.
I believe most others here have solved the same problem, but I missed the correct way!
Hi almaxen,
I personally use a 'Developer" folder that resides in my ~/Users/stam/Documents/ folder, and as am on MacOS, this is synced to iCloud and available on any device I've logged in with my iCloud account or via web interface if I haven't (any platform).

Others I believe use a dropbox folder for the same goal - in other words a cloud based folder to host such things makes it available everywhere (same goes for plugins etc). It does mean you need to use

CODE:

start using stack <path to stack> ## rather than "start using <stack name>"
Note that this kind of folder is only helpful for stacks and scripts that are completely solution-independent...

S.

Statistics: Posted by stam — Thu Aug 08, 2024 9:55 am



Viewing all articles
Browse latest Browse all 440

Trending Articles