Page 1 of 1
Open a stack on the desktop
Posted: Wed Jul 29, 2020 10:38 pm
by maxs
Hi all,
Where can I find the code to open a stack on the desktop from a standalone?
Max
Re: Open a stack on the desktop
Posted: Wed Jul 29, 2020 10:53 pm
by bogs
If I understood your question correctly, it would be something like
Code: Select all
open stack(specialFolderPath("Desktop") & "/your_stacks-name.livecode")
This would also work
Code: Select all
go url("binFile:" & specialFolderPath("Desktop") & "/your_stacks-name.livecode")
Re: Open a stack on the desktop
Posted: Wed Jul 29, 2020 10:55 pm
by Klaus
Hi Max,
maxs wrote: ↑Wed Jul 29, 2020 10:38 pm
Where can I find the code to open a stack on the desktop from a standalone?
here!
Code: Select all
...
put specialfolderpath("desktop") & "/name of your stack here.livecode" into tStack
go stack tStack
...
Best
Klaus
Re: Open a stack on the desktop
Posted: Wed Jul 29, 2020 10:56 pm
by maxs
Thanks Klaus,
I just found the previous post I made with the answer. I do not know how to delete this post.
Max
Re: Open a stack on the desktop
Posted: Wed Jul 29, 2020 11:05 pm
by Klaus
Hi Max,
maxs wrote: ↑Wed Jul 29, 2020 10:56 pm
I just found the previous post I made with the answer.
where is it?
maxs wrote: ↑Wed Jul 29, 2020 10:56 pm
I do not know how to delete this post.
No need to delete this post, maybe it will be helpful for others!
Best
Klaus