Announcement

Collapse
No announcement yet.

CTRL -V paste in console...bind to another key?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CTRL -V paste in console...bind to another key?

    Anyone know the code/ command behind the ctrl-v paste function in the console ?? I wanna try and bind this to a single key or make an alias which fakes the ctrl and v key pressed down and bind that alias to a key. Any ideas / help would be appreciated

    like alias paste "+ctrl; +v" or something
    bind p "paste"

  • #2
    I'm almost certain that isn't possible to do.

    There for sure is no documented alias for CTRL-V (and I'm assuming you are using ProQuake) and CTRL-V only works when the console is down, anyway.

    I've seen nothing in the ProQuake docs regarding an alias for CTRL-V

    "When CTRL+V is pressed in the console or in messagemode, the contents of the windows clipboard will be pasted." <--- doesn't say anything about there being an alias.

    (And trying your idea won't work, that wouldn't simulate keystrokes)

    http://proquake.planetquake.gamespy.com/features.html

    pq_timer (0/1)
    pq_teamscores (0/1)
    pq_scoreboard_pings (0/1)
    pq_lag (0-400)
    pq_drawfps (0/1)
    pq_maxfps (default 72)
    ping +N equivalent to "
    pq_spam_rate (default 1.5)
    pq_spam_grace (default 10)
    pq_haverl
    pq_needrl
    pq_needrox
    pq_quad
    pq_pent
    pq_ring
    pq_weapons
    pq_noweapons
    pq_moveup (0/1)
    pq_waterblend (0.0 - 1.0)
    pq_quadblend (0.0 - 1.0)
    pq_pentblend (0.0 - 1.0)
    pq_ringblend (0.0 - 1.0)
    pq_suitblend (0.0 - 1.0)
    pq_fullpitch (0/1)
    pq_timestamp (0/1/2)
    pq_confilter (0/1)
    pq_dequake (0/1)
    net_connecttimeout (default 10)
    pq_password
    rcon_password
    rcon_server
    gl_doubleeyes (0/1)
    pq_cheatfree (0/1)
    pq_tempmute (0/1)
    pq_removecr (0/1)
    r_polyblend (0/1)
    You MIGHT be able to get the effect you want by using Logitech MouseWare's mouse tools and defining that for a 3rd or 4th mouse button.
    Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

    So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

    Comment


    • #3
      I wrote the QuakeSrc.org tutorial on windows clipboard paste, which is the method most engines now use for this feature. The answer, as Baker said, is no. The function monitors the input directly, there's no way ro script it within Quake, but you could use a macro program to achieve a similar effect.

      Comment


      • #4
        so your saying if I make a hotkey or something to do paste w/ one button quake would recognize that?

        Comment


        • #5
          Proquake supports CTRL+V pasting. It's impossible to do with binds and aliases. It's what the engine allows so you can either use proquake (or another engine that allows it) or create your own quake engine. Choice is easy

          Comment


          • #6
            Originally posted by sycophant234
            so your saying if I make a hotkey or something to do paste w/ one button quake would recognize that?
            You might be able to make that work with Logitech Mouseware because you can define a mouse button to do almost anything. I've not tried this.

            What are you trying to do, btw? Maybe there is another way to achieve what you want.
            Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

            So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

            Comment

            Working...
            X