Re: SCAN commands with live code

2014-01-24 Thread Serge Brami
Thanks a lot for your help just one more thing What do you mean by using the $1 parameter ? S BRAMI Le 23 janv. 2014 à 16:37, Mark Schonewille a écrit : Hi Serge, You can try to approach the problem from the other end. Most scanning apps have an option to perform a task automatically,

Re: SCAN commands with live code

2014-01-24 Thread Mark Schonewille
Hi Serge, $0 is a special variable containing the app path and $1 contains the document path. If that doesn't work, let me know. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter:

Re: SCAN commands with live code

2014-01-24 Thread Fraser Gordon
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

Re: SCAN commands with live code

2014-01-24 Thread Mark Schonewille
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

SCAN commands with live code

2014-01-23 Thread Serge Brami 2
Hello Does anyone know something about externals or stack devellopement making possible to use a Scanner from livecode ?? it would need adding this functionnality to my own livecode app (for personnal use , not commercial) Thanks ___

Re: SCAN commands with live code

2014-01-23 Thread Roger Eller
If the scanner is TWAIN compliant, you could shell a vb script, or possibly use an URL with this product by Dynamsoft. I used it for a project about 10 years ago, and it allowed me to scan to the clipboard, then LC grabbed the image to display it. http://www.dynamsoft.com/ ~Roger On Thu, Jan

Re: SCAN commands with live code

2014-01-23 Thread Mark Schonewille
Hi Serge, You can try to approach the problem from the other end. Most scanning apps have an option to perform a task automatically, which basically means that the file is opened with an app of your choice. If you select a LiveCode standalone as automatic task, you can process your image(s)