What is required to create a cli for an executable? AFAIK it's not something
you could achieve with an external?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
pref
does the relaunch message not work on command line apps in windows?
On 14 Jan 2011, at 21:31, David Bovill wrote:
> Hmmm... I wander if simply polling for an environmental variable change will
> work. In the current case I know that LiveCode is open - I just want the
> external command line progr
Hmmm... I wander if simply polling for an environmental variable change will
work. In the current case I know that LiveCode is open - I just want the
external command line program to redirect the browser call back to Livecode
and not open up another browser.
On 14 January 2011 16:11, Mike Bonner
Ah. Maybe a plugin thats set to start with LC that listens to a socket? Or
checks an env variable ever so often, or a file for changes, or a
combination of these such as hit a listening port in your plugin and check a
file/var whatever.
As for the multiple instances problem, if you go with the pl
Since i've realized I'm not sure what you mean, i'll cover more bases.
In windows a batch file like the following:
start /D"C:\Program Files (x86)\RunRev\LiveCode 4.5.3" livecode.exe %1
start %1
Will on the first line, launch livecode (first define the directory, then
the executable itself, then
Thanks Mike - can't I get paid more than that? What about $2 :) Now I wonder
what happens if Livecode is already open hmmm that's not going to work -
it just opens another instance... is usppose the only way is to have
LiveCode Run a server?
On 14 January 2011 15:29, Andre Garzia wrote:
> Da
David,
I don't understand. Do you want to launch livecode or a web browser?
Andre
On Fri, Jan 14, 2011 at 11:54 AM, David Bovill wrote:
> Actually maybe it is not so hard :) I want to create a way to launch
> LiveCode using shell, but also to pass to it a url in the first param of the
> shell
Nvm, its early and I just re-iterated what you aleady know you need to do.
*goes back to bed*
On Fri, Jan 14, 2011 at 7:21 AM, Mike Bonner wrote:
> From the command line if you do yourApp http://www.google.com
>
> $1 will contain the url. Works the same from a bash script.
>
> #!/bin/bash
> pat
>From the command line if you do yourApp http://www.google.com
$1 will contain the url. Works the same from a bash script.
#!/bin/bash
path/to/yourApp $1
-- will call your app using parameter 1 as parameter 1 inside the app.
-- Access it the same way within the app itself using $1
$1 is actuall
Actually maybe it is not so hard :) I want to create a way to launch
LiveCode using shell, but also to pass to it a url in the first param of the
shell command. As I don't think you can do this directly anymore using shell
scritps written in LiveCode - I think I need to write a bash script and set
10 matches
Mail list logo