Page 1 of 1
Need to use external Dos commands to execute a PDF Converter
Posted: Fri Aug 02, 2013 12:29 am
by no1g8tor96
I am using a Program that converts PDF Docs to Text. It is a GUI program and they also have a Command Line Version. I am looking to automate the conversion process from Livecode and need to be able to make Dos command calls to do this.
The program is here and shows an example of the help file and commands that need to be executed.
a-pdf(dot)com/text/cmd(dot)htm
Please Help
Thanks so much
Re: Need to use external Dos commands to execute a PDF Conve
Posted: Fri Aug 02, 2013 12:40 am
by Simon
Hi no1g8tor96,
Welcome to the forums

Take a look at "shell" in the dictionary, I think it's what you want.
Simon
Re: Need to use external Dos commands to execute a PDF Conve
Posted: Fri Aug 02, 2013 1:04 am
by no1g8tor96
Simon,
Thanks for the fast reply. I have been trying that command and I think you right that it the right command but I am confused how to use it.
For example Lets say I want do a simple directory command for the windows directory. (C:\windows)
How would I do it? Would I need multiple shell commands? Can they be strung together?
Thanks
Re: Need to use external Dos commands to execute a PDF Conve
Posted: Fri Aug 02, 2013 3:21 am
by Simon
Hi no1g8tor96,
Lets do one with some reply:
Code: Select all
on mouseUp
put shell("ipconfig") into temp
answer temp
end mouseUp
You should look up "hideConsoleWindows" as well.
Oh, thats a Win command, does that help?
Wait I see DOS, ok.
Simon