You are not logged in.
Pages: 1
I've made few tools that use shell.application invoke verb , to perform actions that rather impossible to be performed in pure batch.
If somebody is interested here they are:
pinnerJS.bat - pins/unpins items in startmenu/taskbar.
printJS.bat - emulates right click -> print if applicable.Uses default printer (print command uses PRN port which could be inactive ).Default printer can be changed with runDLL command.
deleteJS.bat - send item to recycle bin.Could be achieved also with shell.application moveHere() method but it was easiest for me to do it this way.
Offline
I've moved this over to the VBScript sub-forum
Also, heres an alternative for pinning/unpinning to the start menu
http://ss64.com/vb/syntax-pin.html
One possible problem with scripting against verbs is that I think they are region specific, so the script may only work on English versions of Windows.
Offline
One possible problem with scripting against verbs is that I think they are region specific, so the script may only work on English versions of Windows.
scheisse. Forgot about that.Will rewrite these.
Offline
At least the delete/send-to-recycle-bin is fixed as the delete verb is always the forth from the bottom .
Last edited by npocmaka (06 Jun 2015 17:22)
Offline
Pages: 1