Select multiple folders?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Select multiple folders?
Is there a built-in handler for letting the user select multiple folders?
I've only found the standard single-folder selector.
I've only found the standard single-folder selector.
Marcus
Re: Select multiple folders?
No, there isn't, sorry!trenatos wrote:Is there a built-in handler for letting the user select multiple folders?
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Select multiple folders?
While there isn't a way to select multiple folders right now, there is a way to select multiple files, so my hunch is that there's an API the engine might be able to use to get what you're looking for.
Can you point me to examples of apps you've seen that do this? I can submit a feature request for this if I can show the team how it's been used by other devs.
Can you point me to examples of apps you've seen that do this? I can submit a feature request for this if I can show the team how it's been used by other devs.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Select multiple folders?
Hi,FourthWorld wrote:Can you point me to examples of apps you've seen that do this?
How about the NSOpenPanel panel class in Cocoa.
canChooseDirectories
setCanChooseDirectories:
allowsMultipleSelection
setAllowsMultipleSelection:
Sets whether the user can select multiple files (and directories) at one time for opening.
Accessing User Selection
URLs
Returns an array containing the absolute paths of the selected files and directories as URLs.
All the best
Terry
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Select multiple folders?
Thanks, Terry. Seems like useful into to include with a feature request:
http://quality.runrev.com/
Do you know the API calls for the other 90% who use Windows and Linux?
http://quality.runrev.com/
Do you know the API calls for the other 90% who use Windows and Linux?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Select multiple folders?
I'm afraid not but I I'd be surprised if they did not exist.FourthWorld wrote:Thanks, Terry. Seems like useful into to include with a feature request:
http://quality.runrev.com/
Do you know the API calls for the other 90% who use Windows and Linux?
The LC programmers would know them, I'm sure.
All the best
Terry
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Select multiple folders?
We can hope so, but with so many APIs it's sometimes helpful to have a pointer to the right place to look, as you provided with the OS X APIs.tellboy wrote:I'm afraid not but I I'd be surprised if they did not exist.FourthWorld wrote:Thanks, Terry. Seems like useful into to include with a feature request:
http://quality.runrev.com/
Do you know the API calls for the other 90% who use Windows and Linux?
The LC programmers would know them, I'm sure.
Did you submit the feature request at the RQCC? Please note the report number so we can add notes to it as we come across useful details. I'll see if I can get some time to dig up the relevant GDK APIs for Linux.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn