![]() So you can do a little bit more then only command line option.Īdobe complicate in every new version the using of Javascript and ActiveX because of security reasons.īut they didn't touch old DDE for years. You can work with that for example in the File associations. I'll have to do some studying up on this UDF.ĭDE is an older method for interapplications communication (before ActiveX). ![]() I have no idea what DDE is, but this worked! Thank you! Obviously I could just put a regular Sleep after the ShellExecute, but I want as clean a method as possible for this, but it seems like I'm getting intercepted at every turn. The output works if you pause a job and do the query, but it fails in my implementation and i have a feeling the print job is not even popping into the queue long enough for a successful query.īut again it kills the print with the process before it can begin. Then did some while loops to see when the job existed in the queue or not. $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_PrintJob", "WQL", $wbemFlagReturnImmediately $wbemFlagForwardOnly) $objWMIService = ObjGet("winmgmts:\\"
0 Comments
Leave a Reply. |