Keypress Problem

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Keypress Problem

Post by JP5 » Wed Aug 18, 2004 7:32 pm

/keypress Ctrl
returns
Invalid mappable command or key combo 'Ctrl'

What is wrong?
/keypress forward hold works as an example.

What I want is to be able to.. in essence.. have my Ctrl key pressed down, so that I always select single items.
Appendix B: /keypress list

ESC

F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12

`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace

Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\

Caps Lock
A
S
D
F
G
H
J
K
L
;
'
Enter


Shift
Z
X
C
V
B
N
M
,
.
/
Shift

Ctrl <----------------------------------------------
Alt
Space
Right-Alt
Right-Ctrl
/keypress name [hold] [chat]
keypress does not actually emulate the key being pressed and therefore will not interfere if you're typing.

You are able to use all keys and mapped keys in the EQ client.

When using the chat option, you must activate the text location you want to enter text in with the /notify command, then use

/keypress name chat

to enter the text. /keypress can be used to type in ANY text entry, not just a chat window.

See Appendix B for the list of mapped key names, or use the /bind command to see them in game

Examples

/keypress jump
Taps the key mapped as the jump key

/keypress forward hold
Holds down the mapped forward key

/keypress forward
Releases the mapped forward key after /keypress forward hold

/keypress a chat
Enters the letter a in the chat window or text entry location that was activated

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Post by JP5 » Wed Aug 18, 2004 7:42 pm

/ctrl command
Execute a command while telling the window manager that the ctrl key is pressed. Can also be used together with /alt and/or /shift, as in
/ctrl /alt /shift command
This is the only other thing I can think of, but I can't think of a command linked to /ctrl. If i'm wrong tell me.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 18, 2004 7:44 pm

Code: Select all

/keypress Ctrl hold
Did you try that? Pretty much out of the manual.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Post by JP5 » Wed Aug 18, 2004 8:29 pm

Same error applies for that. The Error is with 'Ctrl', not hold.

Could you try /keypress Ctrl in game to see if it returns the same error I have?

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 18, 2004 9:05 pm

Looking back, I appologise for my post.

I saw that you posted part of the manual but that did not register. What registered was what you typed out yourself and that did not include the hold.

I'll try something really fast and see what happens.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 18, 2004 9:21 pm

Ok 2 things of note.

If not running in a macro I get an error saying that it is not a mappable key, or key combo. When /keypress Ctrl.

However, when run in a short macro no such problem comes up.

Code: Select all

#include ExpReport.inc 

Sub Main 
    /declare IniFileName string outer aChallenged1.ini

    /call  StartExpTrack 

  :DaLoop 
    /doevents
    /delay 1s
    /goto :DaLoop 
    /keypress Ctrl
    /return
That fires off pretty often with the keypress.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Post by JP5 » Wed Aug 18, 2004 11:13 pm

Thanks a lot for info AC1 ;)

Pretty soon I will be coming out with something I don't think people have done before--a combine macro where you press a key combo (for instance, Ctrl+X) to combine the items set in the macro.

If keypress hold doesn't work as well as I want, I can use /notify to change the Quantity to 1, and to accept the quantity.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 18, 2004 11:16 pm

Good luck to you. :D
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Post by JP5 » Thu Aug 19, 2004 12:38 am

See my new thread--that's the macro I drafted during RZTW raid tonight. (/yawn)

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Aug 19, 2004 12:48 am

Um, AC...you DO realize that the /keypress is never actually reached in that endless loop, right?

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Aug 19, 2004 7:35 am

Actually, no I didn't... crap. hmmmm
:oops:

Was tired and had taken my pain meds a few hours back.

Put it outside the actual loop, I'll recheck it. Thanks.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Sorry
orc pawn
orc pawn
Posts: 20
Joined: Thu Oct 26, 2006 6:18 pm

Post by Sorry » Sun Nov 05, 2006 12:48 pm

I just had the same problem as the OP and found the solution.

First, MQ2 has a handy command called /binds that tells you what key combos are tied to what EQ commands. This list comes from the EQ client itself so if Sony ever changes the syntax, we all have to change our macros. Use "/binds eqlist" for a complete list of key combination/command bindings.

I needed to close the dynamic zone window which is mapped to Alt-Z for me. Using the bind list, I found that the proper syntax is:

/keypress alt+Z

There is no binding for just the control key on its own, so you won't find it in the list. The control key as a modifier is not a command on its own so /keypress won't work with it.

Also usefull is that if you want to skip the whole keybinding problem, you can use /keypress <command> with one of the commands from the bind list. This will allow your macro to run even if you are using custom key bindings. To do the same as above using the command would be:

/keypress CMD_TOGGLE_DYNAMIC_ZONE_WIN

FrankJScott
naggy
naggy
Posts: 2349
Joined: Sun Feb 19, 2023 7:11 am

Recommended Info To Deciding On Selling Your Car

Post by FrankJScott » Tue Mar 14, 2023 8:07 am

In response to the guy asking about sell my car for money, sell your car fast for cash, used porsche turbo s for sale, google cars for sale, cheap cars for sale under 500 near me, old benz cars for sale, sell car for junk near me, sell my junk car top dollar, good cash for junk cars, toyota corolla 2013 for sale, sell old car for cash near me, I highly recommend this get redirected here about car selling site and don't forget hyundai verna for sale, good place to buy used cars, sell my wrecked car for cash, trade your car in online, sell car loan not paid off, get cash for my used car, 4 sale cars, trade in car parts for cash, sell car without registration, best way to sell your car online, cheap old cars for sale, sell broken vehicle, honda nsx 1999 for sale, cash for junk cars pick up today, sell car from trade, look at this go here about car selling forum and don't forget sell my car for cash today, sale your car, used mini vans for sale, advertise your car for sale free, car sale value, sell your ride, ford ecosport second hand for sale, used vehicles for sale, ebay used cars for sale, sell my car with bad engine, porsche macan used for sale, look at cars for sale online, sell my car on facebook, take my scrap car, sell buy car online, try this listen to this podcast about car selling url for sell your car for top dollar, sell old car, suv cars for sale, sale junk car near me, nearest junk car buyer, mitsubishi outlander 2017 for sale, hummer sut for sale near me, online car sales, sell my luxury car, toyota glanza for sale, online places to sell cars, . See More Handy Advice For Picking Disposable Vapes 3ce3c8d

FrankJScott
naggy
naggy
Posts: 2349
Joined: Sun Feb 19, 2023 7:11 am

Handy Tips To Deciding On Free Software Keygen

Post by FrankJScott » Mon May 22, 2023 11:13 am

To the person inquiring about pdf download free for windows 7 32 bit, bitdefender total security crack keygen, ms word free download for windows 7, mocha pro free download with crack, software download sites, coreldraw 2022 free download, I highly recommend this great site for free software keygen advice or 4k youtube downloader crack, sketchup 2022 download with crack 64 bit, anydesk key free, youtube videos downloader for windows 10, screen recorder windows 10 free download, adobe acrobat reader free download for windows 11, on top of this more helpful hints about free software keygen details not to mention superantispyware free edition, google chrome free download for windows 7, avast premium security crack, ulead video studio 11 free download with crack, download idm full patch, idm free download for lifetime, alongside all this more on free software keygen url which is as good as lossless scaling free download, download delphi 7 full crack, whatsapp marketing software free download with crack, download foxit pdf editor full crack, winrar full version, download matlab crack 64 bit, on top of our site for free software keygen url and don't forget avast premium licence key, pdf reader free download for windows 10, utorrent crack download, ashampoo pro crack 1.0 4.8 activation key mac free, wps office premium crack for windows 10, google docs free download, and don't forget this get redirected here about free software keygen details alongside all best mp3 converter for pc, itools activation key, www p30download com free download, acdsee software free download with crack, corel draw x8 crack download, filmora cracked version for 64 bit, and don't forget helpful site for free software keygen tips which is about coreldraw 2018 free download full version with crack, spss 24 free download full version with crack 64 bit, download free pdf reader, download poweriso 64 bit with crack, bartender crack download, artcam 2008 crack free download, on top of this go here about free software keygen blog as well as pdf freeware, solidworks 2015 crack download, dslrbooth serial key, youtube downloader full crack, sam broadcaster 4.2 2 free download full version crack, pc games download free windows 7 offline, and don't forget this on front page on free software keygen site and don't forget sprint layout 6.0 full crack download, any video downloader for pc, microsoft word free download for windows 7, itools crack download, crack sketchup 2016, wondershare pdf password remover crack keygen, on top of killer deal for free software keygen site alongside all best pdf reader for windows 10, teamviewer keygen, download full software crack serial, itop screen recorder download, itop vpn crack download, swifdoo pdf pro crack, which is also great. Finally, have a look at this see page on free software keygen advice with coreldraw download full crack, bulk whatsapp sender crack full version free download, lossless scaling free download, best crack software site for pc, free zip program, adobe reader 64 bit windows 10, for good measure. Check more @ Handy News On Deciding On Business Trip Massage b3ce3c8

FrankJScott
naggy
naggy
Posts: 2349
Joined: Sun Feb 19, 2023 7:11 am

New Google Details

Post by FrankJScott » Tue Aug 01, 2023 12:01 am

I suggest you google it :)