Hi Fraser,
I didn't mention all that on purpose, because when an app tells the
operating system to open a file in an app, you should just get $0 and
$1. Everything else only makes it unnecessarily complicated,
particularly if this appears not to work with Serge's scanning software.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/
On 1/24/2014 22:22, Fraser Gordon wrote:
On 24/01/2014 21:16, Mark Schonewille wrote:
$0 is a special variable containing the app path and $1 contains the
document path.
There are in fact a whole host of these special variables: $0, $1, $2,
... . As Mark said, the first of these is the path to the app. The later
ones are the arguments to the app, e.g.:
your.app --foo bar --baz
would give you:
$0 = your.app
$1 = --foo
$2 = bar
$3 = --baz
To find out how many arguments you have, there is the special variable $#
Regards,
Fraser
_______________________________________________
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
_______________________________________________
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