Running Custom App 追蹤

0
Avatar
Legacy Poster

I have a custom written app that I've written that takes a CSV file and then uses Excel to create a spreadsheet and then email it.  I can run it from the command line and it works, but when I configure Commander to run the program I can see my app and Excel running in the Task Manager, but the program never finishes and emails like it should.  

 

I'm using Commander to detect when a file is created and then running my custom app.  It's detecting the file and calling my program, but it never stop running.  Is this an acceptable use for Commander?  Or is Commander only for printing barcodes?

3 意見

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

Do you already own a full license of BarTender? If so, can you let me know what Edition, Version and Build is currently in use?

 

Yes, Commander's main mission is to receive a trigger file (either as a file, as TCP/IP socket data, as email, or via serial port), and then print a BarTender document. Any other end-result you might be wishing to achieve isn't standard behaviour for Commander and won't normally be supported by us. If you already own a full license of our software and you're trying to as well take advantage of Commander's abilities to run an external program, please attach your Commander task list (.tl) for me to examine (using the "More Reply Options... button)

0
Avatar
Legacy Poster
評論操作 永久連結

I do have a full license of BarTender Enterprise Automation 10.1 SR2.  I think the issue comes from running my custom app as a service on Windows Server 2012 and trying to automate Excel 2010.  I works correctly on Windows Server 2003.  

 

I've created a test app that creates an Excel file with a 3rd party add-on.  I was then able to use Commander to watch for a file to show up in the directory and then execute my test app to create the Excel file.  

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

Please attach the Commander task list (.tl) for me to examine.

 

Do you require to run "interactive dialogs" from within Commander?

登入寫評論。