howto get the command line for a particular application

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cycyustc
Newbie
Newbie
Posts: 1
Joined: Wed Dec 17, 2014 5:34 am

howto get the command line for a particular application

Post by cycyustc »

Dear all,

I am using wine to run a windows application, 'appx'. The normal way to run it is to create a parameter file 'par.in' and then click on it. But, related to my work, I have to generate thousands of parameter files and run them. So it would be great if I can run them in an automatic way using command lines.
I tried to run something like 'wine64 appx par.in', but it just opened the IE showing the directory and I still have to click the parameter files within the IE window.
Do you have any idea about how to get the right command line? The author of this application only provides click-way to run it.
Thanks for you attention!
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: howto get the command line for a particular application

Post by olivierfrdierick »

Is appx a launcher-type program that start another program? if yes then you might be able to get the command line from the list of running process. Otherwise:
The author of this application only provides click-way to run it.
If what you describe is the only way to run that app, you'll have to use a tool to automate clicking on the file.
If I were to do this on linux, I would use xdotools.

Wine cannot help you with that.
Locked