| View previous topic :: View next topic |
| Author |
Message |
David TAILLANDIER Guest
|
Posted: Tue Jun 15, 2004 9:00 pm Post subject: The 'send' command have some problems under Windows NT 4.0 |
|
|
Two bugs found when using Windows NT 4.0 server freshly installed (with SP6a + MSIE 5.0 and every hotfixes).
With Windows 98 and Windows 2000, this is ok.
Note that I use AutoHotKey to automate the post-installation of Windows. Only the 'scripting' behaviour of AutoHotKey is used. It is launched for a batch file and terminate a few seconds later.
First problem : when I change the 'start page' of internet explorer I use
Send, http://mysite.com
but AutoHotKey type http:/:mysite.com The second '/' is replaced by a ':'.
I tryed Send, http:////mysite.com
and AutoHotKey typed http:/:/:mysite.com if I remember well.
I then tryed into notepad.exe and the behaviour is the same. Every '//' is typed as '/:'.
I then used Send, http:/x{BACKSPACE}/mysite.com
Second problem : found when modifying the screen-history length of the console.
The default is 25, I want to set it to 1000.
Send, !n ; to access to right place
Send,1000 ; to type the desired value
But instead it types 1 followed by some strange things. The final result is... 25.
Want more info ?
d.taillandier@apoxxxgea.net remove the 'xxx' |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Tue Jun 15, 2004 9:26 pm Post subject: |
|
|
I tested both of these on NT Workstation 4.0 SP6a and NT Sever 4.0 SPa, and both worked without a problem.
thanks,
beardboy |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Wed Jun 16, 2004 12:18 am Post subject: |
|
|
| Yeah those are some pretty strange results. Could it be something specific to that one machine? Perhaps a specific driver, software conflict, or unusual hardware configuration. |
|
| Back to top |
|
 |
David TAILLANDIER Guest
|
Posted: Wed Jun 16, 2004 2:53 pm Post subject: Specific drivers |
|
|
The Windows NT 4.0 server machine where the bugs have been seen contains no driver, expect for the network card.
Nothing for the video nor the keybord nor anything else.
This is a freshly installed machine without any software.
I also tested on two other Windows NT 4.0 machines, different hardware, and containing drivers and softwares.
The result is the same.
Also tested on VMWare. Same result.
To test I a 3 line script and launch notepad :
==========
Sleep, 3000
Send, http:\\mysite.com{ENTER}
Send, 1000{ENTER}
========== |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Wed Jun 16, 2004 4:43 pm Post subject: |
|
|
Is it possible that your test script has been saved in some format other than text (e.g. Unicode)? If so, it may contain extra characters that the Send command tries to reproduce.
If you have any doubt, cut & paste the test script you posted above into a new notepad window and save it as a .ahk script. Then try running that specific file.
If that doesn't solve it, I'm not sure what else it could be, especially since it works on beardboy's NT4 machines. |
|
| Back to top |
|
 |
|