opening app by double-clicking some document

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
BIX
Posts: 33
Joined: Fri Oct 27, 2006 2:54 pm

opening app by double-clicking some document

Post by BIX » Sun Aug 26, 2007 1:21 pm

this is the same question RobertC asked. How to get some runrev made application to start and open some file when you double-click it (the file), on windows?
BIX

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sun Aug 26, 2007 3:17 pm

Hi BIX,

On Windows, it is much more difficult than on Mac OS X. You have to write scripts to store the correct file associations in the registry. I did this for a few clients of mine, who needed a good installer.

The easy way from a programmer's point of view is to simply doube-click the file and choose the correct application in the appearing dialog. Make sure that the checkbox "do this for all documents of this type" (or whatever it says) is checked.

This might help:
http://article.gmane.org/gmane.comp.ide ... ns+windows

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

BIX
Posts: 33
Joined: Fri Oct 27, 2006 2:54 pm

Post by BIX » Sun Aug 26, 2007 3:25 pm

Thanks
BIX

Post Reply