I've found some bugs, but this is the most important: sometimes when I boot I get "No default printer selected" from Hotkeys and it doesn't load the definition file. I could gladly disable the whole printer thing, I don't need it.
Well, somehow I doubt anyone can help me with this. By the way, I'm using Hotkeys 2000 in conjunction with 4NT - I'm doing some additional batch programming in there and that way get some features that aren't working in Hotkeys directly..
Hi all the lucky people blessed with this wonderful program! I guess Mr. Broeze is going straight to heaven, thanks for his generous, kind offer he gifted us with.
I want to execute some hotkeys repeatedly, as in a loop, but canīt do it in Hotkeys2000. It seems to be impossible now that the 'multiple commands' option (mentioned in older versions in this forum) is no longer available. Can anyone suggest me an alternative? I've tried echoing commands in a batch file, 'sendkeys' instructions in VB programs, but nothing works. Hotkeys seem to recognize only real keystrokes in the keyboard.
I use a VBScript that I call "sendkeys.vbs" that allows me to repeat a series of keystrokes. This VBScript can be launched with Hotkeys2000 and will prompt you for the SendKeys() string that you want to perform. In addition, it will let you do something like:
Dim g_shell, g_fso
Dim vArgs
Set g_shell = CreateObject("WScript.Shell")
Set g_fso = CreateObject("Scripting.FileSystemObject")
Dim g_szLastCommandSent, g_szLastCommandLog
g_szLastCommandLog = g_fso.GetSpecialFolder(2).Path & "\SendKeys_LastCommand.log"
Main
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub Main()
Set vArgs = WScript.Arguments
Dim objFile
if vArgs.Count < 1 then
Dim szStringToSend
g_szLastCommandSent = ""
if g_fso.FileExists(g_szLastCommandLog) then
Set objFile = g_fso.OpenTextFile(g_szLastCommandLog)
g_szLastCommandSent = objFile.ReadAll
objFile.Close
Set objFile = Nothing
end if
szStringToSend = InputBox("Please enter the string that you want to use for SendKeys()", "SendKeys VBScript", g_szLastCommandSent)
if trim(szStringToSend) <> "" then
Set objFile = g_fso.OpenTextFile(g_szLastCommandLog, 2, True)
objFile.Write szStringToSend
objFile.Close
Set objFile = Nothing
Dim cmd
cmd = WScript.FullName & " " & chr(34) & WScript.ScriptFullName & chr(34) & " " & szStringToSend
if MsgBox(cmd, vbokcancel) <> vbOK then exit sub
g_shell.Run cmd
exit sub
end if
exit Sub
end if
ProcessArgs vArgs, 1, 0
End Sub
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Function ProcessArgs(vArgs, nStart, nRepeat)
'MsgBox "ProcessArgs"
Dim nIndex
Do
For nIndex = nStart to vArgs.Count
If vArgs(nIndex - 1) = "sleep" then
'MsgBox "Sleeping for " & vArgs(nIndex) & " miliseconds"
WScript.Sleep vArgs(nIndex)
nIndex = nIndex + 1
ElseIf vArgs(nIndex - 1) = "repeat" then
'MsgBox "Repeating for " & vArgs(nIndex) & " times"
' Make sure that we know where to continue
nIndex = ProcessArgs(vArgs, nIndex + 2, vArgs(nIndex))
Else
'MsgBox "Sending keys: " & vArgs (nIndex - 1)
g_shell.SendKeys vArgs(nIndex - 1)
End If
Next
will Hotkeys run from a floppy and insert text clips via hotkeys?
by
I'm looking for a utility I can use to paste small text clips into an application as I am working on somebody else's computer - in other words, without installing it on the computer. It needs to run from a floppy.
Also, I need to be able to assign a hotkey to each text clip (e.g. Ctrl-1 inserts "Congratulations!").
Hello,
I've a Windows XP Home system with Hotkeys 1.51 installed.
Why I could not send CTRL N keystroke.
If I try my system play a sound like if I press an erroneous key.
If I send any other key combination all seems to be fine.
I've very new to this great program and have a simple question. I have a hotkey for starting IE. I then want to send it ALT-D so the address bar is highlighted and awaiting my input.
However, I'm not sure how to do to this in hotkeys. Do I set three hotkeys, load IE, alt D, and then the one that puts them together. This does not seem right.
Any help would be appreciated. I've read through the help and am still confused.
When I highlight multiple files, I used to press CTRL key hold it down while I move on to highlight other files. Now, it does not work; I can only highlight one file each time. I use Microsoft Wireless Optical Mouse and keyboard.
I am desperate and am not sure of this forum can help. If not appropriate, I aplogize. If someone can help, thanks a million.
hi,
there's a game (writen in java) in which you use the arrows keys to move a canon. the longer you keep the arrow button down, the more the canon moves.
unfortunately my arrow keys arent working right so i tryed setting other keys as if they were the arrow keys, using the "send keystrokes---->left/right arrow" option but it doesnt work as expected the canon wouldnt move smoothly nor fast enough when i hit the key (just in case you wanna try the game which is quite simple but fun : http://www.trolls.levillage.org/marbleworld/marble.html )
in case anyone could help : guibmie@hotmail.com
thanx for your time