LIne 01 From what I can gather line 1 is just a declaration of a variable. WshShell.Run ("nircmd.exe sendkeypress shift+ctrl+a+b") Set WshShell = CreateObject("WScript.Shell") I'm just trying to get as much information out there in a way that people can learn from it as I can. ![]() So onward to fix and explain as best I can. Third, If you don't know what it's doing there. What do you mean it's not overwhelming? I have you know that just last week I saw the heads of three co workers literally explode at the very thought of switching to Office 2010 from Office 2007.įinally. I'll fix it in a minute, I just didn't want the people already upset over this not being a one liner to fall off their chairs and begin convulsing on the floor due to the sheer overwhelming nature of a third line of code. Relax you had to move out of one liners eventually and It's a lot simpler than it may seem at first glance. ![]() What the hell is a+b doing in that last line of code? Second, for those of you who already know better, there darn well should be three lines of code there!! WshShell.Run ("nircmd.exe sendkeypress shift+ctrl+a+b") = Ctrl + Shift + A + Bįirst it's not a "one liner" there are two lines of code here! ![]() Code: Select all Set WshShell = CreateObject("WScript.Shell")
0 Comments
Leave a Reply. |