what a button can or can't do?

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: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
hands16
Posts: 17
Joined: Sat Oct 19, 2013 2:23 am

what a button can or can't do?

Post by hands16 » Mon Feb 09, 2015 12:44 am

Can you give a button the command to open up a folder? like a folder on my desktop or something? sorry if this sounds dumb...

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: what a button can or can't do?

Post by Simon » Mon Feb 09, 2015 12:53 am

Hi hands16,
Check out "Answer folder" in the dictionary.
also answer file.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: what a button can or can't do?

Post by Klaus » Mon Feb 09, 2015 1:43 pm

Hi hands16,

although not documented, we can use "launch document" syntax to open a folder, too!

Try this in the messagebox:
launch document specialfolderpath("desktop")
:D


Best

Klaus


Post Reply