open LC Standalone with Arguements

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

open LC Standalone with Arguements

Post by Nakia » Thu May 09, 2013 3:33 am

Hi,

I have been asked today if I can modify one of my little Standalones to accept arguements when it is opened from another application (Webpage Link)
Namely, they want to be able to tell my Program to open, pass it the location of a file to convert then my program converts it and closes.

Currently my program does this by dragging the file onto an imageArea in the Card.

I am okay with modifying my program etc but cant find any thing about it accepting arguements on openStack etc.
I know of URLWakeUP on Mobile but can't see anything similar for Desktop.

Thanks
Nakia

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10058
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: open LC Standalone with Arguements

Post by FourthWorld » Thu May 09, 2013 4:31 am

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

Re: open LC Standalone with Arguements

Post by Nakia » Thu May 09, 2013 10:28 am

Thanks for the reply..
That gives me what I need but I don't wish to do all of it.

To clarify, in my situation another program wishes to launch my application passing it a file location. The file will be an XML file wish my program modifies then opens in default browser. So I don't wish to modify the registry to make windows think my program is the default program to view XML files..

So with that in mind could I just do step 4 from the instructions you posted ?

Post Reply