Open application when file double clicked
pete at lcsql.com
Tue Feb 24 14:40:51 EST 2015
I added a button to my application and put the appleevent handler in its
script. Added a startup handler to the first card of my main stack to
insert the button script into front. Built the standalone.
Double clicked a file associated with the application while the application
was not running. The application launched but no appleevent. Double
clicked again with the application running and got an "odoc" apple event.
So progress made but still no joy as far as double clicking when the
application is not running.
On Tue Feb 24 2015 at 11:23:34 AM Richard Gaskin <ambassador at fourthworld.com>
> Peter Haworth wrote:
> > I'm looking for odoc right now but I just inserted some answer statements
> > right at the top of my appleevent handler and it's not being triggered.
> > Unless answer statements don't work within an applevent handler for some
> > weird reason.
> Try putting your appleEvent handler in a frontScript and let me know if
> that solves the issue.
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode