I have drag & drop working well in an app – dropping a JPEG or PNG into a target in the stack – but I'd really like to be able to do the same by dropping a (compatible) file onto the app icon, launching it if necessary and passing over the drop process to my regular scripts.
Is this: http://lessons.livecode.com/m/4071/l/15 ... le-onto-it the current state-of-the-art approach? Does anyone have any tips, or perhaps even an example stack?
k
Drag-drop onto app icon
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Drag-drop onto app icon
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 9833
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Drag-drop onto app icon
See file004 and file005 here:
http://www.sonsothunder.com/devres/live ... vecode.htm
http://www.sonsothunder.com/devres/live ... vecode.htm
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
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Drag-drop onto app icon
Very interesting resource - I'm going to have to delve through Ken's list of goodies!
For this particular challenge that link I posted still *looks* more relevant. But it also seems rather crazy to have to craft such dramatically different things for different platforms and add custom CFBundleTypeExtensions entries in .plist files within the app for Mac software.
For this particular challenge that link I posted still *looks* more relevant. But it also seems rather crazy to have to craft such dramatically different things for different platforms and add custom CFBundleTypeExtensions entries in .plist files within the app for Mac software.
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 9833
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Drag-drop onto app icon
Agreed. They should all be using the OpenDesktop spec that Linux uses.
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