October 2, 20169 yr Hi I'm trying to increase the automation in the feelthere ERJ135. One of the flows I'm thinking is the fuel and weight planning. For that I would create google spreadsheet, and call it inside the flow. The run prog function can easily call a new chrome window, like: c:\program .....\chrome.exe But, I can't seem to manage to pass parameters like: c:\program .....\chrome.exe https://docs.google.com/spreadsheets/.... The use of parameters is supported ? Thank you. Antonio
October 3, 20169 yr Commercial Member Hi I'm trying to increase the automation in the feelthere ERJ135. One of the flows I'm thinking is the fuel and weight planning. For that I would create google spreadsheet, and call it inside the flow. The run prog function can easily call a new chrome window, like: c:\program .....\chrome.exe But, I can't seem to manage to pass parameters like: c:\program .....\chrome.exe https://docs.google.com/spreadsheets/.... The use of parameters is supported ? Thank you. Antonio Should be doable. We'll try something out in next update. Gerald R https://www.multicrewxp.com
October 3, 20169 yr Author Thank you :smile: Also, the possibility of running batch files (*.bat) would be even more interesting and flexible. Antonio
October 4, 20169 yr Commercial Member Let me guess.... You're trying to get some boring repetitive daily work done via Voxscript, all while having fun in the simulator. And the boss wouldn't even notice Gerald R https://www.multicrewxp.com
October 6, 20169 yr Author hmm... I wonder if I could convince him to buy a new license for MCE ... Antonio
October 14, 20169 yr Commercial Member The run prog function can easily call a new chrome window, like: c:\program .....\chrome.exe But, I can't seem to manage to pass parameters like: c:\program .....\chrome.exe https://docs.google....readsheets/.... The use of parameters is supported ? Now implemented in latest MCE V2.6.8 http://www.multicrewxp.com/Downloads.html Because we don't want users to perceive MCE as a tool for programmers, and Voxscript should remain about giving co-pilot instructions in plain English (or other languages to some extent), you will have to add the parameter manually. Once you have created a flow, open it in Notepad. In the line that starts with run=whatever_program.exe, add a blank space and a forward slash followed by the parameter. Example run=C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe /whatever_parameter Should work as expected when you run the flow. MCE will allow multiple instances of Chrome.exe or iexplore.exe, but for other programs it will first check whether it's already running before firing the exe. Should also be able to trigger batch files. Gerald R https://www.multicrewxp.com
October 15, 20169 yr Author Thank you Gerald. This will help opening external files like spreadsheets, pdf files (terminal charts), etc . Strangely I can't make it to run chrome anymore (even without parameter). But, since batch files are working and as a workaround I'll be using them to call chrome. Best regards. António
Archived
This topic is now archived and is closed to further replies.