Presionar tecla cada cierto tiempo.

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Presionar tecla cada cierto tiempo.

Re: Presionar tecla cada cierto tiempo.

by ositoMalvado » 17 Oct 2023, 12:02

Code: Select all

F12::
  toggle := !toggle ;encender / apagar
  if toggle ;si esta apagado
    SetTimer, presionar1, % 1000 * 120 ;encender timer. (120 segundos pasados a milisegundos)
  else ;sino
    SetTimer, presionar1, Off ;apagar timer
return

;label de nuestro timer
presionar1:
  Send, 1 ;enviamos 1
return ;chau

Presionar tecla cada cierto tiempo.

by Sirkerox » 06 Oct 2023, 13:17

Busco ayuda, no soy muy habil y queria saber si es posible un script presionando "uno" automaticamente cada 2 minutos de manera indefinida. Adjunto imagen de la tecla en cuestion, seria la que esta arriba de la "Q" y no el del teclado numerico. Muchas gracias y disculpen las molestias.
Attachments
uno teclado.png
uno teclado.png (5.23 KiB) Viewed 759 times

Top