On 3/6/2019 12:22 PM, Klaus major-k via use-livecode wrote:
Hi all,

Am 06.03.2019 um 18:16 schrieb Klaus major-k via use-livecode 
<[email protected]>:

Hi Paul,

Am 06.03.2019 um 18:13 schrieb Paul Dupuis via use-livecode 
<[email protected]>:

If you select an LC standalone as the app t open an image with, the name and 
path to the image will be sent to the EXE as a command line parameter. See the 
dictionary/documentation on handling command line parameters in a standalone
thanks, yes, I guessed, but WHAT message is sent to our EXE?
Means WHERE can I handle the $1 or $2 CLI parameter?
ah, I think I found it, it is the "relaunch" message, right?



 I am not sure if your APP is already open what message is sent (never tested that). If your APP is not open, windows starts it with the file as the parameter, so you can pick it up in pretty much any message sent on startup from "startup" through "preOpenStack" to "openStack" or even "openCard"

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to