06-26-2019, 10:55 PM
(06-26-2019, 10:01 PM)sltfn Wrote:(06-26-2019, 09:06 PM)Jamil Semaan Wrote: Hi Sieg,
It sounds like there is an issue with pathing and it is unable to find the CanelaDB toolkit. Is the substack located in a different folder than the main/splash stack? The initialization script was written in mind that the stack where the script is running sits next to the CanelaDB directory.
Thanks. Good question. How does one find the path to a LiveCode substack? "put the effective filename of this stack" reveals the path to the main stack.
You are correct. The effective filename should do the trick.
Can you try running this and see does it match the location of your CanelaDB folder?
Code:
set the itemdel to "/"
put item 1 to -2 of the fileName of this stack