Hotkeys Discussion Forum

The Hotkeys Discussion Forum is a forum where users of Hotkeys (including the author) can post their experiences with the program, suggestions etc.

Also, any questions regarding the use of the program can be posted here and I'll try to answer them within one working day.

Version 0.9Beta3 can be found here

by

http://www.broeze.com/files/Hotkeys2000b3-1.zip

Or go directly here http://www.broeze.com/files/



Posted on Dec 7, 2004, 7:54 AM

Respond to this message

Goto Forum Home

Hotkeys with Windows xp

by

Does hotkeys work with this OS?
Thanks,
David


Posted on Oct 20, 2004, 12:10 PM

Respond to this message

Goto Forum Home

Yes

by

I use it under XP and works fine (version 2000b3)

Posted on Oct 25, 2005, 12:40 AM

Respond to this message

Goto Forum Home


One Year Answer !

by

I love fast answers ! LOL

Posted on Oct 25, 2005, 12:42 AM

Respond to this message

Goto Forum Home


No default printer selected

by Jim Hoyle

Hi,

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..

Posted on Mar 14, 2004, 1:56 AM

Respond to this message

Goto Forum Home

Multiple commands in Hotkeys2000

by

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.

Is there a solution to this?

Posted on Feb 28, 2004, 10:18 AM

Respond to this message

Goto Forum Home

Re: Multiple commands in Hotkeys2000

by Jake Devenport

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:


sleep 300 "%fx" sleep 50 "Some text" sleep 100 "some time later"


which is helpful for automating certain repetitive tasks that require some "waiting for the OS to catch up" .

You can also use the 'repeat num_reps' args to repeat the series of SendString
commands as in:

repeat 14 "{Down}" sleep 50 "%~" sleep 100 "%ts~" sleep 50


--Jake

Here is the VBScript code:

Option Explicit

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

nRepeat = nRepeat - 1

Loop while nRepeat > 0

ProcessArgs = nIndex
End Function


Posted on Jul 28, 2004, 11:07 AM

Respond to this message

Goto Forum Home


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!").

Will Hotkeys do all of this from me?


Posted on Jan 22, 2004, 10:17 AM

Respond to this message

Goto Forum Home

Windows XP Hotkeys and CTRL N

by Fabrizio

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.



Posted on Jan 19, 2004, 5:37 AM

Respond to this message

Goto Forum Home

Multiple Command Question

by Frosty

Hello everyone,

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.

Regards,

Frosty


Posted on Jan 14, 2004, 1:27 PM

Respond to this message

Goto Forum Home

CTRL key won't highlight

by

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.

Posted on Jan 5, 2004, 2:03 PM

Respond to this message

Goto Forum Home

send keystrokes - arrows

by guib

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

Posted on Oct 21, 2003, 4:54 PM

Respond to this message

Goto Forum Home

hotkeys to IE links

by jim

Does someone know how I could make a hotkey combination a desktop shortcut? It could then be moved to the IE Links on the toolbar.

Posted on Oct 18, 2003, 7:04 AM

Respond to this message

Goto Forum Home

Find more forums on DelphiCreate your own forum at Network54
 Copyright Đ 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement