Call Program not working as expected #1285
Replies: 5 comments 4 replies
-
Call Program won't run this C:/Program Files/notepad.exe or C:/Windows/notepad.exe Is this normal behavior not to run this program? |
Beta Was this translation helpful? Give feedback.
-
The Call Program command is intended to run programs/scripts that require no human interaction. It is not intended to open a windowed application program like Notepad. On Windows, Call Program starts programs in a windowless mode. Notepad is indeed started by Call Program but it is hidden from view. Check your task manager for these windowless Notepad processes. Good news -- there is a way to open Notepad from Call Program. Create a one line batch file that uses the "start" command to open Notepad.exe. Now set Call Program to start the batch file. The batch file will open Notepad in a window and then the batch file exits. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help and advice. I don't need the window to open. (I thought it had to) I took a look at the Task Manager and indeed lots and lots of entries! I want to write to test.csv or .txt file five times during the roast. I want to record the Start time, dry end time, FC time, Drop time and Cool end time. Possibly I might add temperature if I can access Artisan variables. I will then import this information into my Filemaker Pro application at the end of each roast. I have tried a few batch scripts, but none have worked. I assume I start with C:/Windows/notepad.exe |
Beta Was this translation helpful? Give feedback.
-
Thanks Dave. Made some progress. Batch file: Output: Now all I need is temperatures. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your input. Thats a good idea. I already parse the .alog file. I create a background roast profile for each bean/roast. I then run a script in Filemaker that makes a few changes and then saves the file as generic.alog Some context The four roasters will be replaced by one fluid bed roaster controlled by Filemaker and Artisan. From weighing green beans in, loading, roasting, weighing roasted beans out, transporting, destoning, labels, barcodes, weighing and bagging, and extensive reporting. I want to automate as much of the roast process as possible. I want consistency and I also want to avoid human error. I did consider the .alog file, but I want to automate the process. How would I save the .alog file using an Alarm at the end of the roast? This is my current CSV file output (now appending to the same line with a comma) |
Beta Was this translation helpful? Give feedback.
-
Call Program won't run this C:/Program Files/notepad.exe or C:/Windows/notepad.exe
Any ideas Please?
I would like to open Notepad, create a file called text.txt or test.csv, and then write some text to the file and save it.
Does anybody know how to do this?
Thank you for your help.
Artisan 2.8.5 (ed1bfa9)
Beta Was this translation helpful? Give feedback.
All reactions