Forum Discussion
Dr_Sohail_Shaikh
Sep 23, 2020Copper Contributor
Powershell for opening and running CAD files
Hello Community, I am new to Powershell and scripting language. I am trying to automate a sequence of steps that I do in my process of 3D printing which are repetitive. Can anybody guide on it? I...
farismalaeb
Sep 23, 2020Iron Contributor
Most of these things can be done if you review the application manual, for example
open a file: usually the application will open the required file if you call the .EXE and append the path to it
C:\Windows\Notepad.exe C:\MyFile.txt (This will open MyFile.txt)
the other steps also and it depend on the application, it can be completed via application parameters,
check the application /? or help.
But if you want to do it via powershell, I will use SendKey(), but this wont be much helpfull, maybe will make the process faster, but wont really silently automate it.