Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_FilePrint of an "in use" Word document . How to file unlock?

$
0
0

Sometimes when _FilePrint is used to print a Word document which has been locked for some reason (eg. it has just been copied from somewhere) a prompt appears asking the User if a read-only copy may be opened [for the purpose of printing it].

 

I was wondering if there was some way of using _FilePrint to always take a read-only copy to use for printing (so that the pop-up window isn't displayed or has to have additional coding to deal with)?

 

Better still, is there any function (eg. UDF) that can be used to [attempt to] force a file to be unlocked so that Windows doesn't consider it to be "in use" by some process please?


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>