|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hot key neededI enter my email address and password to several browsers multiple times a day.
Is there some way to set up a 'hot' key that can be used in my Windows 2000 operating system to make that job easier? I generally use Internet Explorer and Netscape. Will these browsers recognize a hot key from the operating system? "sherwindu" <sherwi***@comcast.net> wrote in message Try this:news:473D36E8.CC4B9E52@comcast.net... >I enter my email address and password to several browsers multiple times a >day. > Is > there some way to set up a 'hot' key that can be used in my Windows 2000 > operating system to make that job easier? I generally use Internet > Explorer > and > Netscape. Will these browsers recognize a hot key from the operating > system? > 1. Open notepad.exe 2. Enter these lines: Set ws=CreateObject("WScript.Shell") ws.sendkeys("%{Tab}") wscript.sleep(500) ws.sendkeys("John Doe{Tab}MyPassword") 3. Save the file as "c:\Windows\MyName.vbs" 4. Create a shortcut on the desktop that invokes "c:\Windows\MyName.vbs". 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). 6. Open notepad.exe. 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. 8. Keep a note in a safe place of this procedure so that you remember one year from now how to modify the name/password. Note this: - Having your password in a text file is an obvious security risk. - If you wish to delete the desktop shortcut then you must first cancel the shortcut key. If you don't then you will have a rare time later on. "sherwindu" <sherwi***@comcast.net> wrote in message Slight modification to my previous reply. Here it is again:news:473D36E8.CC4B9E52@comcast.net... >I enter my email address and password to several browsers multiple times a >day. > Is > there some way to set up a 'hot' key that can be used in my Windows 2000 > operating system to make that job easier? I generally use Internet > Explorer > and > Netscape. Will these browsers recognize a hot key from the operating > system? > 1. Open notepad.exe 2. Enter these lines: Set ws=CreateObject("WScript.Shell") ws.sendkeys("%{Tab}") wscript.sleep(500) ws.sendkeys("John Doe{Tab}MyPassword") 3. Save the file as "c:\Windows\MyName.vbs" 4. Create a shortcut on the desktop that invokes this command: cscript //nologo c:\Windows\MyName.vbs. 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). 6. Open notepad.exe. 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. 8. Keep a note in a safe place of this procedure so that you remember one year from now how to modify the name/password. Note this: - Having your password in a text file is an obvious security risk. - If you wish to delete the desktop shortcut then you must first cancel the shortcut key. If you don't then you will have a rare time later on.
Show quote
Hide quote
"Pegasus (MVP)" wrote: Pegasus,> "sherwindu" <sherwi***@comcast.net> wrote in message > news:473D36E8.CC4B9E52@comcast.net... > >I enter my email address and password to several browsers multiple times a > >day. > > Is > > there some way to set up a 'hot' key that can be used in my Windows 2000 > > operating system to make that job easier? I generally use Internet > > Explorer > > and > > Netscape. Will these browsers recognize a hot key from the operating > > system? > > > > Slight modification to my previous reply. Here it is again: > 1. Open notepad.exe > 2. Enter these lines: > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(500) > ws.sendkeys("John Doe{Tab}MyPassword") > 3. Save the file as "c:\Windows\MyName.vbs" > 4. Create a shortcut on the desktop that invokes this command: > cscript //nologo c:\Windows\MyName.vbs. > 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). > 6. Open notepad.exe. > 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. > 8. Keep a note in a safe place of this procedure so that you remember > one year from now how to modify the name/password. > > Note this: > - Having your password in a text file is an obvious security risk. > - If you wish to delete the desktop shortcut then you must first > cancel the shortcut key. If you don't then you will have a rare > time later on. I'm not sure how one implements items 4 and 5. To execute this in practice, does one have to run notepad.exe each time as noted in item 6? If so, that seems cumbersome. Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message Get onto Google and type in these words:news:473E1DD6.F9D938D@comcast.net... > > > "Pegasus (MVP)" wrote: > >> "sherwindu" <sherwi***@comcast.net> wrote in message >> news:473D36E8.CC4B9E52@comcast.net... >> >I enter my email address and password to several browsers multiple times >> >a >> >day. >> > Is >> > there some way to set up a 'hot' key that can be used in my Windows >> > 2000 >> > operating system to make that job easier? I generally use Internet >> > Explorer >> > and >> > Netscape. Will these browsers recognize a hot key from the operating >> > system? >> > >> >> Slight modification to my previous reply. Here it is again: >> 1. Open notepad.exe >> 2. Enter these lines: >> Set ws=CreateObject("WScript.Shell") >> ws.sendkeys("%{Tab}") >> wscript.sleep(500) >> ws.sendkeys("John Doe{Tab}MyPassword") >> 3. Save the file as "c:\Windows\MyName.vbs" >> 4. Create a shortcut on the desktop that invokes this command: >> cscript //nologo c:\Windows\MyName.vbs. >> 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). >> 6. Open notepad.exe. >> 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. >> 8. Keep a note in a safe place of this procedure so that you remember >> one year from now how to modify the name/password. >> >> Note this: >> - Having your password in a text file is an obvious security risk. >> - If you wish to delete the desktop shortcut then you must first >> cancel the shortcut key. If you don't then you will have a rare >> time later on. > > Pegasus, > > I'm not sure how one implements items 4 and 5. To execute this in > practice, > does > one have to run notepad.exe each time as noted in item 6? If so, that > seems > cumbersome. > > Sherwin Create a shortcut in Windows Step 6 is purely for testing your handiwork. > Get onto Google and type in these words: It is not working. I'm not sure where to insert the command:> > Create a shortcut in Windows > > Step 6 is purely for testing your handiwork. cscript //nologo c:\Windows\MyName.vbs My shortcut looks like this: Target: C:\windows\sherwin.vbs Start In: C:\windows Shortcut Key: Ctrl + Alt + Z Run: Minimized My script file looks like this in the c:\Windows directory: Set ws=CreateObject("WScript.Shell") ws.sendkeys("%{Tab}") wscript.sleep(500) ws.sendkeys("sherwi***@comcast.net{Tab}pswd") If I now go into my browser and point at the password box and double click on the shortcut, it skips over this box, but puts the password into the password box (some signs of life?). Also, I cannot invoke it to do anything with the Ctrl + Alt + Z keys. Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message Let's look at the principles of what we're trying to do here.news:473E3F57.BB168F8E@comcast.net... > > > >> Get onto Google and type in these words: >> >> Create a shortcut in Windows >> >> Step 6 is purely for testing your handiwork. > > It is not working. I'm not sure where to insert the command: > > cscript //nologo c:\Windows\MyName.vbs > > My shortcut looks like this: > > Target: C:\windows\sherwin.vbs > > Start In: C:\windows > > Shortcut Key: Ctrl + Alt + Z > > Run: Minimized > > My script file looks like this in the c:\Windows directory: > > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(500) > ws.sendkeys("sherwi***@comcast.net{Tab}pswd") > > > If I now go into my browser and point at the password box and double > click on the shortcut, it skips over this box, but puts the password into > the password box (some signs of life?). Also, I cannot invoke it to do > anything with the Ctrl + Alt + Z keys. > > Sherwin I will start with the script file on a line by line basis. * Set ws=CreateObject("WScript.Shell") (This is a VB Script declaration. You must leave it as it is.) * ws.sendkeys("%{Tab}") (This instruction issues an Alt+Tab keystroke. It ensures that the focus moves from the VB Script process to your notepad or to your IE process.) * wscript.sleep(500) (This instuction causes the script to pause for half a second so that the screen switching has time to settle down. If your machine is slow then you should increase the delay to maybe 2000.) * ws.sendkeys("John Doe{Tab}MyPassword") (This instruction sends your name, a tab and your password. You could modify it like so: ws.sendkeys("John Doe{Tab}MyPassword{Enter}") You should now test the whole thing one step at a time. Test 1 ===== - Click Start / Run / cmd {Enter} - Type this command: notepad c:\test.vbs{Enter} Enter these four lines VERBATIM! Set ws=CreateObject("WScript.Shell") wscript.echo "Running Test #1" wscript.sleep(500) ws.sendkeys("John Doe{Tab}MyPassword") Save and close the file. - Type this command: cscript //nologo c:\test.vbs{Enter} - Report what you see. After successfully completing this test, we can proceed to Test 2.
Show quote
Hide quote
"Pegasus (MVP)" wrote: OK. I see the following in the DOS Window after typing the cscript command:> "sherwindu" <sherwi***@comcast.net> wrote in message > news:473E3F57.BB168F8E@comcast.net... > > > > > > > >> Get onto Google and type in these words: > >> > >> Create a shortcut in Windows > >> > >> Step 6 is purely for testing your handiwork. > > > > It is not working. I'm not sure where to insert the command: > > > > cscript //nologo c:\Windows\MyName.vbs > > > > My shortcut looks like this: > > > > Target: C:\windows\sherwin.vbs > > > > Start In: C:\windows > > > > Shortcut Key: Ctrl + Alt + Z > > > > Run: Minimized > > > > My script file looks like this in the c:\Windows directory: > > > > Set ws=CreateObject("WScript.Shell") > > ws.sendkeys("%{Tab}") > > wscript.sleep(500) > > ws.sendkeys("sherwi***@comcast.net{Tab}pswd") > > > > > > If I now go into my browser and point at the password box and double > > click on the shortcut, it skips over this box, but puts the password into > > the password box (some signs of life?). Also, I cannot invoke it to do > > anything with the Ctrl + Alt + Z keys. > > > > Sherwin > > Let's look at the principles of what we're trying to do here. > I will start with the script file on a line by line basis. > > * Set ws=CreateObject("WScript.Shell") > (This is a VB Script declaration. You must leave it as it is.) > * ws.sendkeys("%{Tab}") > (This instruction issues an Alt+Tab keystroke. It ensures > that the focus moves from the VB Script process to your > notepad or to your IE process.) > * wscript.sleep(500) > (This instuction causes the script to pause for half a second > so that the screen switching has time to settle down. If your > machine is slow then you should increase the delay to > maybe 2000.) > * ws.sendkeys("John Doe{Tab}MyPassword") > (This instruction sends your name, a tab and your password. > You could modify it like so: > ws.sendkeys("John Doe{Tab}MyPassword{Enter}") > > You should now test the whole thing one step at a time. > > Test 1 > ===== > - Click Start / Run / cmd {Enter} > - Type this command: > notepad c:\test.vbs{Enter} > Enter these four lines VERBATIM! > Set ws=CreateObject("WScript.Shell") > wscript.echo "Running Test #1" > wscript.sleep(500) > ws.sendkeys("John Doe{Tab}MyPassword") > Save and close the file. > - Type this command: > cscript //nologo c:\test.vbs{Enter} > - Report what you see. > > After successfully completing this test, we can proceed to Test 2. Running Test #1 C:\Documents and Settings\sherwin dubren>John Doe MyPassword This much appears to be working. As I stated previously, I saw the same thing when I double clicked on the shortcut I created. My problem remains how to invoke the cscript command with the hot keys. I modified the shortcut to use the hot keys, but that didn't work. Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message Seeing the confusion we had before, I'm not going to skip anynews:473F1BA5.D77E1C6@comcast.net... > > > "Pegasus (MVP)" wrote: > >> "sherwindu" <sherwi***@comcast.net> wrote in message >> news:473E3F57.BB168F8E@comcast.net... >> > >> > >> > >> >> Get onto Google and type in these words: >> >> >> >> Create a shortcut in Windows >> >> >> >> Step 6 is purely for testing your handiwork. >> > >> > It is not working. I'm not sure where to insert the command: >> > >> > cscript //nologo c:\Windows\MyName.vbs >> > >> > My shortcut looks like this: >> > >> > Target: C:\windows\sherwin.vbs >> > >> > Start In: C:\windows >> > >> > Shortcut Key: Ctrl + Alt + Z >> > >> > Run: Minimized >> > >> > My script file looks like this in the c:\Windows directory: >> > >> > Set ws=CreateObject("WScript.Shell") >> > ws.sendkeys("%{Tab}") >> > wscript.sleep(500) >> > ws.sendkeys("sherwi***@comcast.net{Tab}pswd") >> > >> > >> > If I now go into my browser and point at the password box and double >> > click on the shortcut, it skips over this box, but puts the password >> > into >> > the password box (some signs of life?). Also, I cannot invoke it to do >> > anything with the Ctrl + Alt + Z keys. >> > >> > Sherwin >> >> Let's look at the principles of what we're trying to do here. >> I will start with the script file on a line by line basis. >> >> * Set ws=CreateObject("WScript.Shell") >> (This is a VB Script declaration. You must leave it as it is.) >> * ws.sendkeys("%{Tab}") >> (This instruction issues an Alt+Tab keystroke. It ensures >> that the focus moves from the VB Script process to your >> notepad or to your IE process.) >> * wscript.sleep(500) >> (This instuction causes the script to pause for half a second >> so that the screen switching has time to settle down. If your >> machine is slow then you should increase the delay to >> maybe 2000.) >> * ws.sendkeys("John Doe{Tab}MyPassword") >> (This instruction sends your name, a tab and your password. >> You could modify it like so: >> ws.sendkeys("John Doe{Tab}MyPassword{Enter}") >> >> You should now test the whole thing one step at a time. >> >> Test 1 >> ===== >> - Click Start / Run / cmd {Enter} >> - Type this command: >> notepad c:\test.vbs{Enter} >> Enter these four lines VERBATIM! >> Set ws=CreateObject("WScript.Shell") >> wscript.echo "Running Test #1" >> wscript.sleep(500) >> ws.sendkeys("John Doe{Tab}MyPassword") >> Save and close the file. >> - Type this command: >> cscript //nologo c:\test.vbs{Enter} >> - Report what you see. >> >> After successfully completing this test, we can proceed to Test 2. > > OK. I see the following in the DOS Window after typing the cscript > command: > > Running Test #1 > C:\Documents and Settings\sherwin dubren>John Doe MyPassword > > This much appears to be working. As I stated previously, I saw the same > thing > when I double clicked on the shortcut I created. My problem remains how > to > invoke the cscript command with the hot keys. I modified the shortcut to > use > the hot keys, but that didn't work. > > Sherwin steps, even though they may be unnecessary. Test 2 ===== - Click Start / Run / notepad.exe c:\test.vbs {OK} - Enter these five lines VERBATIM! Set ws=CreateObject("WScript.Shell") wscript.echo "Running Test #2" ws.sendkeys("%{Tab}") wscript.sleep(1000) ws.sendkeys("John Doe{Tab}MyPassword") - Save and close the file. - Create a new shortcut on your desktop. Type this line into the "Target" field: cscript.exe //nologo c:\test.vbs - Copy the new shortcut into the Quick-Launch bar. - Click Start / Run notpad.exe {OK} - Click the new shortcut in the Quick-Launchh bar. - Report what you see
Show quote
Hide quote
"Pegasus (MVP)" wrote: It is not labled "Target" field, but is called the "location" of> "sherwindu" <sherwi***@comcast.net> wrote in message > news:473F1BA5.D77E1C6@comcast.net... > > > > > > "Pegasus (MVP)" wrote: > > > >> "sherwindu" <sherwi***@comcast.net> wrote in message > >> news:473E3F57.BB168F8E@comcast.net... > >> > > >> > > >> > > >> >> Get onto Google and type in these words: > >> >> > >> >> Create a shortcut in Windows > >> >> > >> >> Step 6 is purely for testing your handiwork. > >> > > >> > It is not working. I'm not sure where to insert the command: > >> > > >> > cscript //nologo c:\Windows\MyName.vbs > >> > > >> > My shortcut looks like this: > >> > > >> > Target: C:\windows\sherwin.vbs > >> > > >> > Start In: C:\windows > >> > > >> > Shortcut Key: Ctrl + Alt + Z > >> > > >> > Run: Minimized > >> > > >> > My script file looks like this in the c:\Windows directory: > >> > > >> > Set ws=CreateObject("WScript.Shell") > >> > ws.sendkeys("%{Tab}") > >> > wscript.sleep(500) > >> > ws.sendkeys("sherwi***@comcast.net{Tab}pswd") > >> > > >> > > >> > If I now go into my browser and point at the password box and double > >> > click on the shortcut, it skips over this box, but puts the password > >> > into > >> > the password box (some signs of life?). Also, I cannot invoke it to do > >> > anything with the Ctrl + Alt + Z keys. > >> > > >> > Sherwin > >> > >> Let's look at the principles of what we're trying to do here. > >> I will start with the script file on a line by line basis. > >> > >> * Set ws=CreateObject("WScript.Shell") > >> (This is a VB Script declaration. You must leave it as it is.) > >> * ws.sendkeys("%{Tab}") > >> (This instruction issues an Alt+Tab keystroke. It ensures > >> that the focus moves from the VB Script process to your > >> notepad or to your IE process.) > >> * wscript.sleep(500) > >> (This instuction causes the script to pause for half a second > >> so that the screen switching has time to settle down. If your > >> machine is slow then you should increase the delay to > >> maybe 2000.) > >> * ws.sendkeys("John Doe{Tab}MyPassword") > >> (This instruction sends your name, a tab and your password. > >> You could modify it like so: > >> ws.sendkeys("John Doe{Tab}MyPassword{Enter}") > >> > >> You should now test the whole thing one step at a time. > >> > >> Test 1 > >> ===== > >> - Click Start / Run / cmd {Enter} > >> - Type this command: > >> notepad c:\test.vbs{Enter} > >> Enter these four lines VERBATIM! > >> Set ws=CreateObject("WScript.Shell") > >> wscript.echo "Running Test #1" > >> wscript.sleep(500) > >> ws.sendkeys("John Doe{Tab}MyPassword") > >> Save and close the file. > >> - Type this command: > >> cscript //nologo c:\test.vbs{Enter} > >> - Report what you see. > >> > >> After successfully completing this test, we can proceed to Test 2. > > > > OK. I see the following in the DOS Window after typing the cscript > > command: > > > > Running Test #1 > > C:\Documents and Settings\sherwin dubren>John Doe MyPassword > > > > This much appears to be working. As I stated previously, I saw the same > > thing > > when I double clicked on the shortcut I created. My problem remains how > > to > > invoke the cscript command with the hot keys. I modified the shortcut to > > use > > the hot keys, but that didn't work. > > > > Sherwin > > Seeing the confusion we had before, I'm not going to skip any > steps, even though they may be unnecessary. > > Test 2 > ===== > - Click Start / Run / notepad.exe c:\test.vbs {OK} > - Enter these five lines VERBATIM! > > Set ws=CreateObject("WScript.Shell") > wscript.echo "Running Test #2" > ws.sendkeys("%{Tab}") > wscript.sleep(1000) > ws.sendkeys("John Doe{Tab}MyPassword") > > - Save and close the file. > - Create a new shortcut on your desktop. Type this line into > the "Target" field: the item. I put the string into there. > This just opens up an untitled notepad window.> cscript.exe //nologo c:\test.vbs > - Copy the new shortcut into the Quick-Launch bar. > - Click Start / Run notpad.exe {OK} > A DOS window appears briefly, and that's all.> - Click the new shortcut in the Quick-Launchh bar. > - Report what you see
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message I agree with your first point: The shortcut field is callednews:473F2EE2.81795029@comcast.net... > > > "Pegasus (MVP)" wrote: > >> "sherwindu" <sherwi***@comcast.net> wrote in message >> news:473F1BA5.D77E1C6@comcast.net... >> > >> > >> > "Pegasus (MVP)" wrote: >> > >> >> "sherwindu" <sherwi***@comcast.net> wrote in message >> >> news:473E3F57.BB168F8E@comcast.net... >> >> > >> >> > >> >> > >> >> >> Get onto Google and type in these words: >> >> >> >> >> >> Create a shortcut in Windows >> >> >> >> >> >> Step 6 is purely for testing your handiwork. >> >> > >> >> > It is not working. I'm not sure where to insert the command: >> >> > >> >> > cscript //nologo c:\Windows\MyName.vbs >> >> > >> >> > My shortcut looks like this: >> >> > >> >> > Target: C:\windows\sherwin.vbs >> >> > >> >> > Start In: C:\windows >> >> > >> >> > Shortcut Key: Ctrl + Alt + Z >> >> > >> >> > Run: Minimized >> >> > >> >> > My script file looks like this in the c:\Windows directory: >> >> > >> >> > Set ws=CreateObject("WScript.Shell") >> >> > ws.sendkeys("%{Tab}") >> >> > wscript.sleep(500) >> >> > ws.sendkeys("sherwi***@comcast.net{Tab}pswd") >> >> > >> >> > >> >> > If I now go into my browser and point at the password box and double >> >> > click on the shortcut, it skips over this box, but puts the password >> >> > into >> >> > the password box (some signs of life?). Also, I cannot invoke it to >> >> > do >> >> > anything with the Ctrl + Alt + Z keys. >> >> > >> >> > Sherwin >> >> >> >> Let's look at the principles of what we're trying to do here. >> >> I will start with the script file on a line by line basis. >> >> >> >> * Set ws=CreateObject("WScript.Shell") >> >> (This is a VB Script declaration. You must leave it as it is.) >> >> * ws.sendkeys("%{Tab}") >> >> (This instruction issues an Alt+Tab keystroke. It ensures >> >> that the focus moves from the VB Script process to your >> >> notepad or to your IE process.) >> >> * wscript.sleep(500) >> >> (This instuction causes the script to pause for half a second >> >> so that the screen switching has time to settle down. If your >> >> machine is slow then you should increase the delay to >> >> maybe 2000.) >> >> * ws.sendkeys("John Doe{Tab}MyPassword") >> >> (This instruction sends your name, a tab and your password. >> >> You could modify it like so: >> >> ws.sendkeys("John Doe{Tab}MyPassword{Enter}") >> >> >> >> You should now test the whole thing one step at a time. >> >> >> >> Test 1 >> >> ===== >> >> - Click Start / Run / cmd {Enter} >> >> - Type this command: >> >> notepad c:\test.vbs{Enter} >> >> Enter these four lines VERBATIM! >> >> Set ws=CreateObject("WScript.Shell") >> >> wscript.echo "Running Test #1" >> >> wscript.sleep(500) >> >> ws.sendkeys("John Doe{Tab}MyPassword") >> >> Save and close the file. >> >> - Type this command: >> >> cscript //nologo c:\test.vbs{Enter} >> >> - Report what you see. >> >> >> >> After successfully completing this test, we can proceed to Test 2. >> > >> > OK. I see the following in the DOS Window after typing the cscript >> > command: >> > >> > Running Test #1 >> > C:\Documents and Settings\sherwin dubren>John Doe MyPassword >> > >> > This much appears to be working. As I stated previously, I saw the >> > same >> > thing >> > when I double clicked on the shortcut I created. My problem remains >> > how >> > to >> > invoke the cscript command with the hot keys. I modified the shortcut >> > to >> > use >> > the hot keys, but that didn't work. >> > >> > Sherwin >> >> Seeing the confusion we had before, I'm not going to skip any >> steps, even though they may be unnecessary. >> >> Test 2 >> ===== >> - Click Start / Run / notepad.exe c:\test.vbs {OK} >> - Enter these five lines VERBATIM! >> >> Set ws=CreateObject("WScript.Shell") >> wscript.echo "Running Test #2" >> ws.sendkeys("%{Tab}") >> wscript.sleep(1000) >> ws.sendkeys("John Doe{Tab}MyPassword") >> >> - Save and close the file. >> - Create a new shortcut on your desktop. Type this line into >> the "Target" field: > > It is not labled "Target" field, but is called the "location" of > the item. I put the string into there. > >> >> cscript.exe //nologo c:\test.vbs >> - Copy the new shortcut into the Quick-Launch bar. >> - Click Start / Run notpad.exe {OK} > > This just opens up an untitled notepad window. > >> >> - Click the new shortcut in the Quick-Launchh bar. >> - Report what you see > > A DOS window appears briefly, and that's all. > > "Location of the item" when you create it and "Target" when you subsequently inspect the properties of the shortcut. Why your logon name does not appear in the notepad field I do not know. I can think of two reasons: - The key combination Alt+Tab is disabled on your machine, or - You omitted or mistyped the line of code that generates his keystroke. It should be: ws.sendkeys("%{Tab}") It is best to copy and paste this line rather than retyping it, to avoid mistakes. Since I cannot see what you did, I am unable to assist you further. I can see three options for you, listed in order of preference: - You drop the idea. - You become familiar with AutoIT (http://groups.yahoo.com/group/autoit) or with Keyboard Express (http://www.keyboardexpress.com/ ) as suggested by Sid Elbow. - You let me have a look at your machine by remote access. If you're interested in finding out more about the third option, drop me a line (pegasus_fnlATyahooDOTcom) within 24 hours. Target" under WinXP and
Show quote
Hide quote
> >> Test 2 I actually cut and pasted your commands, so no chance of mistakes there.> >> ===== > >> - Click Start / Run / notepad.exe c:\test.vbs {OK} > >> - Enter these five lines VERBATIM! > >> > >> Set ws=CreateObject("WScript.Shell") > >> wscript.echo "Running Test #2" > >> ws.sendkeys("%{Tab}") > >> wscript.sleep(1000) > >> ws.sendkeys("John Doe{Tab}MyPassword") > >> > >> - Save and close the file. > >> - Create a new shortcut on your desktop. Type this line into > >> the "Target" field: > > > > It is not labled "Target" field, but is called the "location" of > > the item. I put the string into there. > > > >> > >> cscript.exe //nologo c:\test.vbs > >> - Copy the new shortcut into the Quick-Launch bar. > >> - Click Start / Run notpad.exe {OK} > > > > This just opens up an untitled notepad window. > > > >> > >> - Click the new shortcut in the Quick-Launchh bar. > >> - Report what you see > > > > A DOS window appears briefly, and that's all. > > > > > > I agree with your first point: The shortcut field is called > "Location of the item" when you create it and "Target" > when you subsequently inspect the properties of the > shortcut. > > Why your logon name does not appear in the notepad > field I do not know. I can think of two reasons: > - The key combination Alt+Tab is disabled on your machine, or > - You omitted or mistyped the line of code that generates > his keystroke. It should be: ws.sendkeys("%{Tab}") > It is best to copy and paste this line rather than retyping > it, to avoid mistakes. > I still feel that I was very close to getting this thing to work. The only> > Since I cannot see what you did, I am unable to assist you > further. I can see three options for you, listed in order of preference: > - You drop the idea. > - You become familiar with AutoIT (http://groups.yahoo.com/group/autoit) > or with Keyboard Express (http://www.keyboardexpress.com/ ) > as suggested by Sid Elbow. > - You let me have a look at your machine by remote access. > If you're interested in finding out more about the third option, > drop me a line (pegasus_fnlATyahooDOTcom) within 24 hours. > Target" under > WinXP and stumbling block for me was how to create a shortcut that invokes the command "cscript //nologo c:\Windows\MyName.vbs". Shortcuts can point to files on your disc, but how can they invoke commands? I will continue to study this problem, as it has become somewhat of an obsession for me. I'll let you know if I make any discoveries. Thanks, Sherwin Sherwin,
I tried it here and it works fine but you have to have Notepad open. In Notepad I copied the following...... Set ws=CreateObject("WScript.Shell") ws.sendkeys("%{Tab}") wscript.sleep(500) ws.sendkeys("John Doe{Tab}MyPassword") I saved it as MyName.vbs in my Windows Folder. I then right click on my Desktop and select New Shortcut. In the "Type the location of the item" I select the Browse button. I point that to the Windows folder, find and click on the \MyName.vbs and then click Next. I left the default name for the shortcut as \MyName.vbs I then right click my new shortcut and select Properties. In the Target I pasted the following... %windir%\system32\cscript.exe //nologo c:\Windows\MyName.vbs Start in: %windir% In the Shortcut key: place your curser in that field and press Shift then Alt then Z and select Apply or OK. Open Notepad then double click your new shortcut. You will briefly see a Dos window and then your name password will appear in Notepad. All the best, SG Show quoteHide quote "sherwindu" <sherwi***@comcast.net> wrote in message news:473F40C5.D487695E@comcast.net... > > > >> >> Test 2 >> >> ===== >> >> - Click Start / Run / notepad.exe c:\test.vbs {OK} >> >> - Enter these five lines VERBATIM! >> >> >> >> Set ws=CreateObject("WScript.Shell") >> >> wscript.echo "Running Test #2" >> >> ws.sendkeys("%{Tab}") >> >> wscript.sleep(1000) >> >> ws.sendkeys("John Doe{Tab}MyPassword") >> >> >> >> - Save and close the file. >> >> - Create a new shortcut on your desktop. Type this line into >> >> the "Target" field: >> > >> > It is not labled "Target" field, but is called the "location" of >> > the item. I put the string into there. >> > >> >> >> >> cscript.exe //nologo c:\test.vbs >> >> - Copy the new shortcut into the Quick-Launch bar. >> >> - Click Start / Run notpad.exe {OK} >> > >> > This just opens up an untitled notepad window. >> > >> >> >> >> - Click the new shortcut in the Quick-Launchh bar. >> >> - Report what you see >> > >> > A DOS window appears briefly, and that's all. >> > >> > >> >> I agree with your first point: The shortcut field is called >> "Location of the item" when you create it and "Target" >> when you subsequently inspect the properties of the >> shortcut. >> >> Why your logon name does not appear in the notepad >> field I do not know. I can think of two reasons: >> - The key combination Alt+Tab is disabled on your machine, or >> - You omitted or mistyped the line of code that generates >> his keystroke. It should be: ws.sendkeys("%{Tab}") >> It is best to copy and paste this line rather than retyping >> it, to avoid mistakes. > > I actually cut and pasted your commands, so no chance of mistakes > there. > >> >> >> Since I cannot see what you did, I am unable to assist you >> further. I can see three options for you, listed in order of preference: >> - You drop the idea. >> - You become familiar with AutoIT (http://groups.yahoo.com/group/autoit) >> or with Keyboard Express (http://www.keyboardexpress.com/ ) >> as suggested by Sid Elbow. >> - You let me have a look at your machine by remote access. >> If you're interested in finding out more about the third option, >> drop me a line (pegasus_fnlATyahooDOTcom) within 24 hours. >> Target" under >> WinXP and > > I still feel that I was very close to getting this thing to work. The > only > stumbling > block for me was how to create a shortcut that invokes the command > "cscript //nologo c:\Windows\MyName.vbs". Shortcuts can point to files > on > your > disc, but how can they invoke commands? > > I will continue to study this problem, as it has become somewhat of an > obsession > for me. I'll let you know if I make any discoveries. > > Thanks, > > Sherwin > SG wrote:
Show quoteHide quote > Sherwin, Hi,> > I tried it here and it works fine but you have to have Notepad open. > > In Notepad I copied the following...... > > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(500) > ws.sendkeys("John Doe{Tab}MyPassword") > > I saved it as MyName.vbs in my Windows Folder. > > I then right click on my Desktop and select New Shortcut. > In the "Type the location of the item" I select the Browse button. > I point that to the Windows folder, find and click on the \MyName.vbs and > then click Next. I left the default name for the shortcut as \MyName.vbs > > I then right click my new shortcut and select Properties. > In the Target I pasted the following... > %windir%\system32\cscript.exe //nologo c:\Windows\MyName.vbs > > Start in: %windir% > > In the Shortcut key: place your curser in that field and press Shift then > Alt then Z and select Apply or OK. > > Open Notepad then double click your new shortcut. You will briefly see a Dos > window and then your name password will appear in Notepad. > > All the best, > SG > Yes, I have been able to get similar results. However, the whole purpose of this exercise is to get the keyboard keys to kick off the script, and that ain't happening. I'm having doubts that Pegasus was ever able to get this to work. Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message Please do not insult me. Any script I write is fully tested, and Inews:473F8831.90E8DB89@comcast.net... > > > SG wrote: > >> Sherwin, >> >> I tried it here and it works fine but you have to have Notepad open. >> >> In Notepad I copied the following...... >> >> Set ws=CreateObject("WScript.Shell") >> ws.sendkeys("%{Tab}") >> wscript.sleep(500) >> ws.sendkeys("John Doe{Tab}MyPassword") >> >> I saved it as MyName.vbs in my Windows Folder. >> >> I then right click on my Desktop and select New Shortcut. >> In the "Type the location of the item" I select the Browse button. >> I point that to the Windows folder, find and click on the \MyName.vbs and >> then click Next. I left the default name for the shortcut as \MyName.vbs >> >> I then right click my new shortcut and select Properties. >> In the Target I pasted the following... >> %windir%\system32\cscript.exe //nologo c:\Windows\MyName.vbs >> >> Start in: %windir% >> >> In the Shortcut key: place your curser in that field and press Shift >> then >> Alt then Z and select Apply or OK. >> >> Open Notepad then double click your new shortcut. You will briefly see a >> Dos >> window and then your name password will appear in Notepad. >> >> All the best, >> SG >> > > Hi, > > Yes, I have been able to get similar results. However, the whole purpose > of > this exercise > is to get the keyboard keys to kick off the script, and that ain't > happening. I'm having > doubts that Pegasus was ever able to get this to work. > > > Sherwin > mentioned that it worked both under Win2000 and WinXP. Furthermore there happens to be a similar thread titled 'Controlled "SIGN IN" with constant SCREENNAME' in Microsoft.public.windowsxp.general that dealt with exactly the same question. That poster got it to work immediately after he understood the general principles. You also appear to overlook that it worked for SG too. The problem is on your own machine and I suspect a simple typographical error. "Pegasus (MVP)" wrote: Didn't mean to, but I'm getting frustrated with this whole thing.> > Please do not insult me. > Any script I write is fully tested, and I I looked at that.> mentioned that it worked both under Win2000 and WinXP. > Furthermore there happens to be a similar thread titled > 'Controlled "SIGN IN" with constant SCREENNAME' > in Microsoft.public.windowsxp.general that dealt with exactly > the same question. That poster got it to work immediately > after he understood the general principles. I don't think he did anything differently from me, except he was working with Windows XP and I'm on Windows 2000. > He never got his key seqeunce to kick off the VB script,> > You also appear to overlook that it worked for SG too. as far as I know. > Thanks to your rigorous step by step testing, I know the script is> > The problem is on your own machine and I suspect a simple > typographical error. ok. I can double click on my created shortcut and it will insert the desired id and password into a notepad file to which the cursor is pointing. The only missing thing is that I can't kick off this sequence using the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? My current target is set to: C:\WINNT\system32\cscript.exe //nologo c:\Windows\sherwin.vbs The shortcut is set to: start in c:\windows. The shortcut key is set to: Ctrl + Alt + Z My script file is: Set ws=CreateObject("WScript.Shell") ws.sendkeys("%{Tab}") wscript.sleep(1000) ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") If this set up worked for you and the guy on the windowsxp newsgroup, the only commonality I see is the Windows XP operating system. Are you sure you got it to work on Windows 2000? Sherwin *** See below.
"sherwindu" <sherwi***@comcast.net> wrote in message *** OK.news:47409FD7.C80748D1@comcast.net... > > > "Pegasus (MVP)" wrote: > >> >> Please do not insult me. > > Didn't mean to, but I'm getting frustrated with this whole thing. Show quoteHide quote >> Any script I write is fully tested, and I *** You jumped ahead in the test process. Test #2 does NOT>> mentioned that it worked both under Win2000 and WinXP. >> Furthermore there happens to be a similar thread titled >> 'Controlled "SIGN IN" with constant SCREENNAME' >> in Microsoft.public.windowsxp.general that dealt with exactly >> the same question. That poster got it to work immediately >> after he understood the general principles. > > I looked at that. > I don't think he did anything differently from me, except he was > working with Windows XP and I'm on Windows 2000. > >> >> >> You also appear to overlook that it worked for SG too. > > He never got his key seqeunce to kick off the VB script, > as far as I know. > >> >> >> The problem is on your own machine and I suspect a simple >> typographical error. > > Thanks to your rigorous step by step testing, I know the script is > ok. I can double click on my created shortcut and it will insert > the desired id and password into a notepad file to which the > cursor is pointing. > > The only missing thing is that I can't kick off this sequence using > the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? *** involve a shortcut key. It requires you to open Notepad, *** then click the new shortcut in the QuickLaunch bar. > My current target is set to: C:\WINNT\system32\cscript.exe //nologo *** This is fine.> c:\Windows\sherwin.vbs > The shortcut is set to: start in c:\windows. *** This comes later.> The shortcut key is set to: Ctrl + Alt + Z > My script file is: *** This is fine.> > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(1000) > ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") > If this set up worked for you and the guy on the windowsxp newsgroup, *** Just tested it again. If you increase the "sleep" period to 5000 then> the > only commonality > I see is the Windows XP operating system. Are you sure you got it to > work on > Windows 2000? *** you must see the cscript process on the Task Bar for 5 seconds, *** which shows you that the script is running. > Sherwin *** I note your persistence. Great! Now add some patience to the mix . . .
Show quote
Hide quote
"Pegasus (MVP)" wrote: What am I waiting for?> *** See below. > > "sherwindu" <sherwi***@comcast.net> wrote in message > news:47409FD7.C80748D1@comcast.net... > > > > > > "Pegasus (MVP)" wrote: > > > >> > >> Please do not insult me. > > > > Didn't mean to, but I'm getting frustrated with this whole thing. > > *** OK. > > >> Any script I write is fully tested, and I > >> mentioned that it worked both under Win2000 and WinXP. > >> Furthermore there happens to be a similar thread titled > >> 'Controlled "SIGN IN" with constant SCREENNAME' > >> in Microsoft.public.windowsxp.general that dealt with exactly > >> the same question. That poster got it to work immediately > >> after he understood the general principles. > > > > I looked at that. > > I don't think he did anything differently from me, except he was > > working with Windows XP and I'm on Windows 2000. > > > >> > >> > >> You also appear to overlook that it worked for SG too. > > > > He never got his key seqeunce to kick off the VB script, > > as far as I know. > > > >> > >> > >> The problem is on your own machine and I suspect a simple > >> typographical error. > > > > Thanks to your rigorous step by step testing, I know the script is > > ok. I can double click on my created shortcut and it will insert > > the desired id and password into a notepad file to which the > > cursor is pointing. > > > > The only missing thing is that I can't kick off this sequence using > > the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? > > *** You jumped ahead in the test process. Test #2 does NOT > *** involve a shortcut key. It requires you to open Notepad, > *** then click the new shortcut in the QuickLaunch bar. > > > My current target is set to: C:\WINNT\system32\cscript.exe //nologo > > c:\Windows\sherwin.vbs > > *** This is fine. > > > The shortcut is set to: start in c:\windows. > > The shortcut key is set to: Ctrl + Alt + Z > > *** This comes later. > > > My script file is: > > > > Set ws=CreateObject("WScript.Shell") > > ws.sendkeys("%{Tab}") > > wscript.sleep(1000) > > ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") > > *** This is fine. > > > If this set up worked for you and the guy on the windowsxp newsgroup, > > the > > only commonality > > I see is the Windows XP operating system. Are you sure you got it to > > work on > > Windows 2000? > > *** Just tested it again. If you increase the "sleep" period to 5000 then > *** you must see the cscript process on the Task Bar for 5 seconds, > *** which shows you that the script is running. > > > Sherwin > > *** I note your persistence. Great! Now add some patience to the mix . . . I spent several hours scanning the web and various boards for more details on this and came up with very little. To your credit, you are the only one who has given some information on how to acheive this. At this time, I am running into a brick wall. Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message One hour ago I wrote this:news:4740B1CD.610E874A@comcast.net... > > > "Pegasus (MVP)" wrote: > >> *** See below. >> >> "sherwindu" <sherwi***@comcast.net> wrote in message >> news:47409FD7.C80748D1@comcast.net... >> > >> > >> > "Pegasus (MVP)" wrote: >> > >> >> >> >> Please do not insult me. >> > >> > Didn't mean to, but I'm getting frustrated with this whole thing. >> >> *** OK. >> >> >> Any script I write is fully tested, and I >> >> mentioned that it worked both under Win2000 and WinXP. >> >> Furthermore there happens to be a similar thread titled >> >> 'Controlled "SIGN IN" with constant SCREENNAME' >> >> in Microsoft.public.windowsxp.general that dealt with exactly >> >> the same question. That poster got it to work immediately >> >> after he understood the general principles. >> > >> > I looked at that. >> > I don't think he did anything differently from me, except he was >> > working with Windows XP and I'm on Windows 2000. >> > >> >> >> >> >> >> You also appear to overlook that it worked for SG too. >> > >> > He never got his key seqeunce to kick off the VB script, >> > as far as I know. >> > >> >> >> >> >> >> The problem is on your own machine and I suspect a simple >> >> typographical error. >> > >> > Thanks to your rigorous step by step testing, I know the script is >> > ok. I can double click on my created shortcut and it will insert >> > the desired id and password into a notepad file to which the >> > cursor is pointing. >> > >> > The only missing thing is that I can't kick off this sequence using >> > the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? >> >> *** You jumped ahead in the test process. Test #2 does NOT >> *** involve a shortcut key. It requires you to open Notepad, >> *** then click the new shortcut in the QuickLaunch bar. >> >> > My current target is set to: C:\WINNT\system32\cscript.exe //nologo >> > c:\Windows\sherwin.vbs >> >> *** This is fine. >> >> > The shortcut is set to: start in c:\windows. >> > The shortcut key is set to: Ctrl + Alt + Z >> >> *** This comes later. >> >> > My script file is: >> > >> > Set ws=CreateObject("WScript.Shell") >> > ws.sendkeys("%{Tab}") >> > wscript.sleep(1000) >> > ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") >> >> *** This is fine. >> >> > If this set up worked for you and the guy on the windowsxp newsgroup, >> > the >> > only commonality >> > I see is the Windows XP operating system. Are you sure you got it to >> > work on >> > Windows 2000? >> >> *** Just tested it again. If you increase the "sleep" period to 5000 then >> *** you must see the cscript process on the Task Bar for 5 seconds, >> *** which shows you that the script is running. >> >> > >> > Sherwin >> >> *** I note your persistence. Great! Now add some patience to the mix . . >> . > > What am I waiting for? > > I spent several hours scanning the web and various boards for more > details > on this and came up with very little. To your credit, you are the only > one > who has given some information on how to acheive this. At this time, I > am > running into a brick wall. > > Sherwin *** You jumped ahead in the test process. Test #2 does NOT *** involve a shortcut key. It requires you to open Notepad, *** then click the new shortcut in the QuickLaunch bar. You appear to have overlooked this part of my reply. I suggest you try it. Alternatively you could discuss the possibility of allowing remote access to your machine in order to get to the bottom of this issue, before you lose your mind :-)
Show quote
Hide quote
"Pegasus (MVP)" wrote: OK, Pegasus,> "sherwindu" <sherwi***@comcast.net> wrote in message > news:4740B1CD.610E874A@comcast.net... > > > > > > "Pegasus (MVP)" wrote: > > > >> *** See below. > >> > >> "sherwindu" <sherwi***@comcast.net> wrote in message > >> news:47409FD7.C80748D1@comcast.net... > >> > > >> > > >> > "Pegasus (MVP)" wrote: > >> > > >> >> > >> >> Please do not insult me. > >> > > >> > Didn't mean to, but I'm getting frustrated with this whole thing. > >> > >> *** OK. > >> > >> >> Any script I write is fully tested, and I > >> >> mentioned that it worked both under Win2000 and WinXP. > >> >> Furthermore there happens to be a similar thread titled > >> >> 'Controlled "SIGN IN" with constant SCREENNAME' > >> >> in Microsoft.public.windowsxp.general that dealt with exactly > >> >> the same question. That poster got it to work immediately > >> >> after he understood the general principles. > >> > > >> > I looked at that. > >> > I don't think he did anything differently from me, except he was > >> > working with Windows XP and I'm on Windows 2000. > >> > > >> >> > >> >> > >> >> You also appear to overlook that it worked for SG too. > >> > > >> > He never got his key seqeunce to kick off the VB script, > >> > as far as I know. > >> > > >> >> > >> >> > >> >> The problem is on your own machine and I suspect a simple > >> >> typographical error. > >> > > >> > Thanks to your rigorous step by step testing, I know the script is > >> > ok. I can double click on my created shortcut and it will insert > >> > the desired id and password into a notepad file to which the > >> > cursor is pointing. > >> > > >> > The only missing thing is that I can't kick off this sequence using > >> > the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? > >> > >> *** You jumped ahead in the test process. Test #2 does NOT > >> *** involve a shortcut key. It requires you to open Notepad, > >> *** then click the new shortcut in the QuickLaunch bar. > >> > >> > My current target is set to: C:\WINNT\system32\cscript.exe //nologo > >> > c:\Windows\sherwin.vbs > >> > >> *** This is fine. > >> > >> > The shortcut is set to: start in c:\windows. > >> > The shortcut key is set to: Ctrl + Alt + Z > >> > >> *** This comes later. > >> > >> > My script file is: > >> > > >> > Set ws=CreateObject("WScript.Shell") > >> > ws.sendkeys("%{Tab}") > >> > wscript.sleep(1000) > >> > ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") > >> > >> *** This is fine. > >> > >> > If this set up worked for you and the guy on the windowsxp newsgroup, > >> > the > >> > only commonality > >> > I see is the Windows XP operating system. Are you sure you got it to > >> > work on > >> > Windows 2000? > >> > >> *** Just tested it again. If you increase the "sleep" period to 5000 then > >> *** you must see the cscript process on the Task Bar for 5 seconds, > >> *** which shows you that the script is running. > >> > >> > > >> > Sherwin > >> > >> *** I note your persistence. Great! Now add some patience to the mix . . > >> . > > > > What am I waiting for? > > > > I spent several hours scanning the web and various boards for more > > details > > on this and came up with very little. To your credit, you are the only > > one > > who has given some information on how to acheive this. At this time, I > > am > > running into a brick wall. > > > > Sherwin > > One hour ago I wrote this: > > *** You jumped ahead in the test process. Test #2 does NOT > *** involve a shortcut key. It requires you to open Notepad, > *** then click the new shortcut in the QuickLaunch bar. > > You appear to have overlooked this part of my reply. I suggest you > try it. Alternatively you could discuss the possibility of allowing > remote access to your machine in order to get to the bottom of > this issue, before you lose your mind :-) I ran test #2 and when I clicked on the shortcut in the Quick Launch, it put the John Doe MyPassword into the Notepad file. That much works. The remaining problem is the hot keys themselves. Is there any independent way I can test the operation of these keys? I would only consider letting you take control of my machine as a last resort. Sherwin
Show quote
Hide quote
>> One hour ago I wrote this: No problem - in fact a remote session would now be futile>> >> *** You jumped ahead in the test process. Test #2 does NOT >> *** involve a shortcut key. It requires you to open Notepad, >> *** then click the new shortcut in the QuickLaunch bar. >> >> You appear to have overlooked this part of my reply. I suggest you >> try it. Alternatively you could discuss the possibility of allowing >> remote access to your machine in order to get to the bottom of >> this issue, before you lose your mind :-) > > OK, Pegasus, > > I ran test #2 and when I clicked on the shortcut in the Quick Launch, > it put > the > John Doe MyPassword into the Notepad file. That much works. The > remaining > problem is the hot keys themselves. Is there any independent way I can > test > > the operation of these keys? I would only consider letting you take > control > > of my machine as a last resort. > > Sherwin because my arms are not long enough to press your shortcut keys! (They must be pressed locally.) Test #2 proves that the script works, that the shortcut works and that the task switching part (Alt+Tab) works. The remaining problem is the shortcut key assigned to the new shortcut. This has in essence nothing to do with the script I wrote for you, so let's forget about the script and concentrate on the shortcut key. If this was my machine then I would do this: Test #3 a) Create a new shortcut on the desktop. Get it to launch notepad.exe. b) Test this new shortcut. c) Give a shortcut key combination. d) Press this shortcut key. It should open a note pad. With respect to item c), note this: - You must click in the "Shortcut" key field before pressing the desired shortcut combination. - The chosen combination must be reflected in the Shortcut field. - You must try different shortcut key combinations. - You must disable all other keystroke capturing/modifying software. - If still unsuccessful, reboot in Safe Mode and try again. [This is something I have not tried so far] I will now be off the air for about eight hours. Please let me have your feedback either way so that I know what might have gone wrong. "Pegasus (MVP)" wrote: It works, launching the notepad window box.> > Test #3 > a) Create a new shortcut on the desktop. Get it to launch notepad.exe. > b) Test this new shortcut. > I assigned Ctrl + Alt + X> c) Give a shortcut key combination. > It works, and also creates a notepad window box.> d) Press this shortcut key. It should open a note pad. > Everything in test #3 worked, so there was no need for further testing of> > With respect to item c), note this: > - You must click in the "Shortcut" key field before pressing the > desired shortcut combination. > - The chosen combination must be reflected in the Shortcut field. > - You must try different shortcut key combinations. > - You must disable all other keystroke capturing/modifying software. > - If still unsuccessful, reboot in Safe Mode and try again. > [This is something I have not tried so far] this type. I also downloaded MS Windows Script version 5.6, but it did not update the cscript.exe file, and had no effect on this problem. Sherwin Show quoteHide quote > > > I will now be off the air for about eight hours. Please let me have > your feedback either way so that I know what might have gone > wrong.
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message Thanks for the feedback. When I suggested Test #2, I wrote:news:4740D15E.E169E68B@comcast.net... > > > "Pegasus (MVP)" wrote: > >> >> Test #3 >> a) Create a new shortcut on the desktop. Get it to launch notepad.exe. >> b) Test this new shortcut. > > It works, launching the notepad window box. > >> >> c) Give a shortcut key combination. > > I assigned Ctrl + Alt + X > >> >> d) Press this shortcut key. It should open a note pad. > > It works, and also creates a notepad window box. > >> >> >> With respect to item c), note this: >> - You must click in the "Shortcut" key field before pressing the >> desired shortcut combination. >> - The chosen combination must be reflected in the Shortcut field. >> - You must try different shortcut key combinations. >> - You must disable all other keystroke capturing/modifying software. >> - If still unsuccessful, reboot in Safe Mode and try again. >> [This is something I have not tried so far] > > Everything in test #3 worked, so there was no need for further testing > of > this type. > > I also downloaded MS Windows Script version 5.6, but it did not update > the > cscript.exe file, > and had no effect on this problem. > > Sherwin > >> >> >> I will now be off the air for about eight hours. Please let me have >> your feedback either way so that I know what might have gone >> wrong. > "Seeing the confusion we had before, I'm not going to skip any steps, even though they may be unnecessary". It appears that this remark had to opposite effect: It caused you to jump the gun and skip part of Test #2. I had to ask you two more times to go through Test #2. Your decision to forge ahead added many hours to this saga and was a major factor in the frustration you suffered. I hope you've learnt this simple lesson from this long-winded saga: When frustrated by a problem, allow yourself to be led, and don't lash out at your teacher. > I spent several hours scanning the web and various boards for more I need to add that it is 10:50 pm where I am. You need to respond> details > on this and came up with very little. To your credit, you are the only > one > who has given some information on how to acheive this. At this time, I > am > running into a brick wall. > > Sherwin > before midnight my time unless you're happy to wait until tomorrow. sherwindu wrote:
> Not counting, of course, my suggestion of Keyboard Express which you > To your credit, you are the only one > who has given some information on how to acheive this. didn't (and still don't apparently) see fit to acknowledge. Choosing to ignore some information is not the same that information not being given. Sid
Sorry for not acknowledging your posting. I did look at Keyboard Express and discounted for two reasons. My problem is not serious enough to warrent spending the money for this package. Secondly, this is a challange for me, plus a learning experience when I get involved with these difficulties. I am not one to give up easily and take the easy way out. Sherwin Sid Elbow wrote: Show quoteHide quote > sherwindu wrote: > > > > To your credit, you are the only one > > who has given some information on how to acheive this. > > Not counting, of course, my suggestion of Keyboard Express which you > didn't (and still don't apparently) see fit to acknowledge. Choosing to > ignore some information is not the same that information not being given. Pegasus wrote: You also appear to overlook that it worked for SG too.
Sherwin responded: He never got his key sequence to kick off the VB script, as far as I know. Huh? where did I say my key sequence didn't work? Everything worked flawlessly just as Pegasus put together and said it would. You are missing something somehow Sherwin or it is possible your keyboard sequence just isn't working. I've seen this before and for whatever reason some just don't work. I have tested this on XP Home, XP Pro and Win2000 Pro. I have 4 other machines in my shop and I'll test them too. BTW, pretty rude of you to say Pegasus was ever able to get this to work. The man IMO has went out of his way to help you, be grateful even though you can't get it to work. All the best, SG Show quoteHide quote "sherwindu" <sherwi***@comcast.net> wrote in message news:47409FD7.C80748D1@comcast.net... > > > "Pegasus (MVP)" wrote: > >> >> Please do not insult me. > > Didn't mean to, but I'm getting frustrated with this whole thing. > > >> Any script I write is fully tested, and I >> mentioned that it worked both under Win2000 and WinXP. >> Furthermore there happens to be a similar thread titled >> 'Controlled "SIGN IN" with constant SCREENNAME' >> in Microsoft.public.windowsxp.general that dealt with exactly >> the same question. That poster got it to work immediately >> after he understood the general principles. > > I looked at that. > I don't think he did anything differently from me, except he was > working with Windows XP and I'm on Windows 2000. > >> >> >> You also appear to overlook that it worked for SG too. > > He never got his key seqeunce to kick off the VB script, > as far as I know. > >> >> >> The problem is on your own machine and I suspect a simple >> typographical error. > > Thanks to your rigorous step by step testing, I know the script is > ok. I can double click on my created shortcut and it will insert > the desired id and password into a notepad file to which the > cursor is pointing. > > The only missing thing is that I can't kick off this sequence using > the Ctrl + Alt + Z keys I have specified in the shortcut. Why????? > > > > My current target is set to: C:\WINNT\system32\cscript.exe //nologo > c:\Windows\sherwin.vbs > The shortcut is set to: start in c:\windows. > The shortcut key is set to: Ctrl + Alt + Z > > My script file is: > > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(1000) > ws.sendkeys("sherwi***@comcast.net{Tab}mypassword") > > If this set up worked for you and the guy on the windowsxp newsgroup, > the > only commonality > I see is the Windows XP operating system. Are you sure you got it to > work on > Windows 2000? > > Sherwin >
Show quote
Hide quote
"SG" <nom***@sorry.com> wrote in message Thanks for your support. I think the OP got a bit frazzled but henews:e6llbBjKIHA.1324@TK2MSFTNGP06.phx.gbl... > Pegasus wrote: You also appear to overlook that it worked for SG too. > > Sherwin responded: He never got his key sequence to kick off the VB > script, as far as I know. > > Huh? where did I say my key sequence didn't work? Everything worked > flawlessly just as Pegasus put together and said it would. You are missing > something somehow Sherwin or it is possible your keyboard sequence just > isn't working. I've seen this before and for whatever reason some just > don't work. > > I have tested this on XP Home, XP Pro and Win2000 Pro. I have 4 other > machines in my shop and I'll test them too. BTW, pretty rude of you to say > Pegasus was ever able to get this to work. The man IMO has went out of his > way to help you, be grateful even though you can't get it to work. > > All the best, > SG has since distanced himself from his remark, so let's leave it at that. similar results??
Can you explain that please. It works as Pegasus said it would, so I don't see how similar results fit in. What did you do get something close, but yet you say the keyboard keys don't work. All the best, SG Show quoteHide quote "sherwindu" <sherwi***@comcast.net> wrote in message news:473F8831.90E8DB89@comcast.net... > > > SG wrote: > >> Sherwin, >> >> I tried it here and it works fine but you have to have Notepad open. >> >> In Notepad I copied the following...... >> >> Set ws=CreateObject("WScript.Shell") >> ws.sendkeys("%{Tab}") >> wscript.sleep(500) >> ws.sendkeys("John Doe{Tab}MyPassword") >> >> I saved it as MyName.vbs in my Windows Folder. >> >> I then right click on my Desktop and select New Shortcut. >> In the "Type the location of the item" I select the Browse button. >> I point that to the Windows folder, find and click on the \MyName.vbs and >> then click Next. I left the default name for the shortcut as \MyName.vbs >> >> I then right click my new shortcut and select Properties. >> In the Target I pasted the following... >> %windir%\system32\cscript.exe //nologo c:\Windows\MyName.vbs >> >> Start in: %windir% >> >> In the Shortcut key: place your curser in that field and press Shift >> then >> Alt then Z and select Apply or OK. >> >> Open Notepad then double click your new shortcut. You will briefly see a >> Dos >> window and then your name password will appear in Notepad. >> >> All the best, >> SG >> > > Hi, > > Yes, I have been able to get similar results. However, the whole purpose > of > this exercise > is to get the keyboard keys to kick off the script, and that ain't > happening. I'm having > doubts that Pegasus was ever able to get this to work. > > > Sherwin > SG wrote:
Show quoteHide quote > similar results?? SG,> > Can you explain that please. > It works as Pegasus said it would, so I don't see how similar results fit > in. What did you do get something close, but yet you say the keyboard keys > don't work. > > All the best, > SG > > "sherwindu" <sherwi***@comcast.net> wrote in message > news:473F8831.90E8DB89@comcast.net... > > > > > > SG wrote: > > > >> Sherwin, > >> > >> I tried it here and it works fine but you have to have Notepad open. > >> > >> In Notepad I copied the following...... > >> > >> Set ws=CreateObject("WScript.Shell") > >> ws.sendkeys("%{Tab}") > >> wscript.sleep(500) > >> ws.sendkeys("John Doe{Tab}MyPassword") > >> > >> I saved it as MyName.vbs in my Windows Folder. > >> > >> I then right click on my Desktop and select New Shortcut. > >> In the "Type the location of the item" I select the Browse button. > >> I point that to the Windows folder, find and click on the \MyName.vbs and > >> then click Next. I left the default name for the shortcut as \MyName.vbs > >> > >> I then right click my new shortcut and select Properties. > >> In the Target I pasted the following... > >> %windir%\system32\cscript.exe //nologo c:\Windows\MyName.vbs > >> > >> Start in: %windir% > >> > >> In the Shortcut key: place your curser in that field and press Shift > >> then > >> Alt then Z and select Apply or OK. > >> > >> Open Notepad then double click your new shortcut. You will briefly see a > >> Dos > >> window and then your name password will appear in Notepad. > >> > >> All the best, > >> SG > >> > > > > Hi, > > > > Yes, I have been able to get similar results. However, the whole purpose > > of > > this exercise > > is to get the keyboard keys to kick off the script, and that ain't > > happening. I'm having > > doubts that Pegasus was ever able to get this to work. > > > > > > Sherwin > > Like I said earlier, I was able to get the text into a notepad file by placing the cursor there and double clicking on the shortcut. That is not the same as hitting the Ctrl + Alt + userkey mechanism to do the job on web based sign on's. Sherwin Pegasus,
I have assumed that all this discussion pertains to Windows 2000, plus I mentioned that is my operating system, up front. In checking on "cscript", it appears to be a Windows XP tool. Can I expect it to work in Windows 2000? Sherwin
Show quote
Hide quote
"sherwindu" <sherwi***@comcast.net> wrote in message I tested it both on my WinXP and Win2000 PCs. If cscript.exe isnews:473F488D.CDDAE111@comcast.net... > > > Pegasus, > > I have assumed that all this discussion pertains to Windows 2000, plus I > mentioned > that is my operating system, up front. In checking on "cscript", it > appears to > be a > Windows XP tool. Can I expect it to work in Windows 2000? > > Sherwin > present then the script will work. Remember that you used cscript.exe in Test #1? Pegasus,
Just a reminder about line 3... "3. Save the file as "c:\Windows\MyName.vbs" Be sure in Notepad you choose All Files in the Save as Type or it will default to a .txt file and will not work. All the best, SG Show quoteHide quote "Pegasus (MVP)" <I.***@fly.com> wrote in message news:OE0B22CKIHA.5860@TK2MSFTNGP04.phx.gbl... > > "sherwindu" <sherwi***@comcast.net> wrote in message > news:473D36E8.CC4B9E52@comcast.net... >>I enter my email address and password to several browsers multiple times a >>day. >> Is >> there some way to set up a 'hot' key that can be used in my Windows 2000 >> operating system to make that job easier? I generally use Internet >> Explorer >> and >> Netscape. Will these browsers recognize a hot key from the operating >> system? >> > > Slight modification to my previous reply. Here it is again: > 1. Open notepad.exe > 2. Enter these lines: > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(500) > ws.sendkeys("John Doe{Tab}MyPassword") > 3. Save the file as "c:\Windows\MyName.vbs" > 4. Create a shortcut on the desktop that invokes this command: > cscript //nologo c:\Windows\MyName.vbs. > 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). > 6. Open notepad.exe. > 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. > 8. Keep a note in a safe place of this procedure so that you remember > one year from now how to modify the name/password. > > Note this: > - Having your password in a text file is an obvious security risk. > - If you wish to delete the desktop shortcut then you must first > cancel the shortcut key. If you don't then you will have a rare > time later on. > > SG wrote:
Show quoteHide quote > Pegasus, The script file is indeed a VBScript file type. That is not the problem.> > Just a reminder about line 3... > "3. Save the file as "c:\Windows\MyName.vbs" > > Be sure in Notepad you choose All Files in the Save as Type or it will > default to a .txt file and will not work. > > All the best, > SG > > "Pegasus (MVP)" <I.***@fly.com> wrote in message > news:OE0B22CKIHA.5860@TK2MSFTNGP04.phx.gbl... > > > > "sherwindu" <sherwi***@comcast.net> wrote in message > > news:473D36E8.CC4B9E52@comcast.net... > >>I enter my email address and password to several browsers multiple times a > >>day. > >> Is > >> there some way to set up a 'hot' key that can be used in my Windows 2000 > >> operating system to make that job easier? I generally use Internet > >> Explorer > >> and > >> Netscape. Will these browsers recognize a hot key from the operating > >> system? > >> > > > > Slight modification to my previous reply. Here it is again: > > 1. Open notepad.exe > > 2. Enter these lines: > > Set ws=CreateObject("WScript.Shell") > > ws.sendkeys("%{Tab}") > > wscript.sleep(500) > > ws.sendkeys("John Doe{Tab}MyPassword") > > 3. Save the file as "c:\Windows\MyName.vbs" > > 4. Create a shortcut on the desktop that invokes this command: > > cscript //nologo c:\Windows\MyName.vbs. > > 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). > > 6. Open notepad.exe. > > 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. > > 8. Keep a note in a safe place of this procedure so that you remember > > one year from now how to modify the name/password. > > > > Note this: > > - Having your password in a text file is an obvious security risk. > > - If you wish to delete the desktop shortcut then you must first > > cancel the shortcut key. If you don't then you will have a rare > > time later on. > > > > OK, Pegasus. I just spent over 2 hours looking for a method of calling a
command from the desktop without any success. Also, how do I store this command on my hard drive, and as what type? If I store it properly, I assume I can just set up a shortcut to it. If this solution involves VB scripting, I don't know this technology, so I'm fumbling in the dark. Sherwin Show quoteHide quote "Pegasus (MVP)" wrote: > "sherwindu" <sherwi***@comcast.net> wrote in message > news:473D36E8.CC4B9E52@comcast.net... > >I enter my email address and password to several browsers multiple times a > >day. > > Is > > there some way to set up a 'hot' key that can be used in my Windows 2000 > > operating system to make that job easier? I generally use Internet > > Explorer > > and > > Netscape. Will these browsers recognize a hot key from the operating > > system? > > > > Slight modification to my previous reply. Here it is again: > 1. Open notepad.exe > 2. Enter these lines: > Set ws=CreateObject("WScript.Shell") > ws.sendkeys("%{Tab}") > wscript.sleep(500) > ws.sendkeys("John Doe{Tab}MyPassword") > 3. Save the file as "c:\Windows\MyName.vbs" > 4. Create a shortcut on the desktop that invokes this command: > cscript //nologo c:\Windows\MyName.vbs. > 5. Specify a "Shortcut Key" of Alt+Shift+Z (for example). > 6. Open notepad.exe. > 7. Press Alt+Shift+Z. You should now see "John Doe" on the screen. > 8. Keep a note in a safe place of this procedure so that you remember > one year from now how to modify the name/password. > > Note this: > - Having your password in a text file is an obvious security risk. > - If you wish to delete the desktop shortcut then you must first > cancel the shortcut key. If you don't then you will have a rare > time later on. sherwindu wrote:
> I enter my email address and password to several browsers multiple times a day. Sounds like a somewhat risky thing to do, but I guess you can make your > Is > there some way to set up a 'hot' key that can be used in my Windows 2000 > operating system to make that job easier? I generally use Internet Explorer > and > Netscape. Will these browsers recognize a hot key from the operating system? own decision on that. http://www.keyboardexpress.com/ might answer your needs. Thanks for the two replies.
I spoke to Comcast today about problems using 'AutoComplete' features to sign on to my email with them. They claim it is a Microsoft issue. I tried setting the Auto- complete option from the Internet Explorer toolbar using tools ->internet options ->content ->AutoComplete, setting AutoComplete on for all options, including 'User names and passwords on forms'. I also have a similar problem signing on to Netscape and several other sites I have that require name and passwords. Any idea as to why my AutoComplete feature cannot work? Sherwin sherwindu wrote: Show quoteHide quote > I enter my email address and password to several browsers multiple times a day. > Is > there some way to set up a 'hot' key that can be used in my Windows 2000 > operating system to make that job easier? I generally use Internet Explorer > and > Netscape. Will these browsers recognize a hot key from the operating system? I'm afraid this message may have been buried in another thread,
so I'm repeating it here. I spoke to Comcast today about problems using 'AutoComplete' features to sign on to my email with them. They claim it is a Microsoft issue. I tried setting the Autocomplete option from the Internet Explorer toolbar using tools ->internet options ->content ->AutoComplete, setting AutoComplete on for all options, including 'User names and passwords on forms'. I also have a similar problem signing on my Netscape and several other sites I have that require name and passwords. Any idea as to why my AutoComplete feature cannot work? Sherwin Sherwin,
I had a similar problem with Gmail. If I only put in username then my password it would not remember this. However by putting in usern***@gmail.com then my password then selecting "Remember me on this computer" it work and now when I login all I have to do is type the first letter of my email account and click Sign in. All the best, SG Show quoteHide quote "sherwindu" <sherwi***@comcast.net> wrote in message news:473E40E8.A15B3B53@comcast.net... > I'm afraid this message may have been buried in another thread, > so I'm repeating it here. > > I spoke to Comcast today about problems using 'AutoComplete' features to > sign on > to my email with them. They claim it is a Microsoft issue. I tried > setting the > Autocomplete option from the Internet Explorer toolbar using > tools ->internet > options ->content ->AutoComplete, setting AutoComplete on for all options, > including 'User names and passwords on forms'. I also have a similar > problem > signing on my Netscape and several other sites I have that require name > and > passwords. Any idea as to why my AutoComplete feature cannot work? > > Sherwin SG wrote:
Show quoteHide quote > Sherwin, I always type in my full email address or Usnet through Comcast won''t accept> > I had a similar problem with Gmail. If I only put in username then my > password it would not remember this. However by putting in > usern***@gmail.com then my password then selecting "Remember me on this > computer" it work and now when I login all I have to do is type the first > letter of my email account and click Sign in. > > All the best, > SG > > "sherwindu" <sherwi***@comcast.net> wrote in message > news:473E40E8.A15B3B53@comcast.net... > > I'm afraid this message may have been buried in another thread, > > so I'm repeating it here. > > > > I spoke to Comcast today about problems using 'AutoComplete' features to > > sign on > > to my email with them. They claim it is a Microsoft issue. I tried > > setting the > > Autocomplete option from the Internet Explorer toolbar using > > tools ->internet > > options ->content ->AutoComplete, setting AutoComplete on for all options, > > including 'User names and passwords on forms'. I also have a similar > > problem > > signing on my Netscape and several other sites I have that require name > > and > > passwords. Any idea as to why my AutoComplete feature cannot work? > > > > Sherwin anything else. My sign on to Internet Explorer 6.0 was working with Autocomplete up until a few weeks ago. At that time, Internet Explorer came out with a new user interface, and I suspect it somehow clobered the Autocomplete. I have always had trouble with other web sites. Some worked, and some didn't. If this is an issue with Windows 2000, it should be consistent across all web sites. Sherwin
No longer getting a "preview" of JPG images when viewing a Folder
Control panel - Display Show Desktop does not work Making a directory with a date? Sound Breakup when CPU is utilised Users home folders cmd.exe and others: 0xc0000142 Event ID 16 SOAP error OS Attempts to Install Non-existent Device ???? New Profile Assigned |
|||||||||||||||||||||||