Open a stack on the desktop

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Open a stack on the desktop

Post by maxs »

Hi all,

Where can I find the code to open a stack on the desktop from a standalone?

Max
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Open a stack on the desktop

Post 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")
Last edited by bogs on Wed Jul 29, 2020 10:56 pm, edited 1 time in total.
Image
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Open a stack on the desktop

Post by Klaus »

Hi Max,
maxs wrote: Wed Jul 29, 2020 10:38 pmWhere 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
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Re: Open a stack on the desktop

Post 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
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Open a stack on the desktop

Post by Klaus »

Hi Max,
maxs wrote: Wed Jul 29, 2020 10:56 pmI just found the previous post I made with the answer.
where is it?
maxs wrote: Wed Jul 29, 2020 10:56 pmI do not know how to delete this post.
No need to delete this post, maybe it will be helpful for others!


Best

Klaus
Post Reply