Ahk

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: Ahk

Re: Ahk

by vmech » 29 Oct 2023, 08:21

@kekil96

Code: Select all

#Requires Autohotkey v2
trigger := 0
=::
{
	global trigger ^= 1
	send('y')
	send(trigger ? '1:0' : '2:0')
}

Re: Ahk

by boiler » 29 Oct 2023, 04:41

@kekil96 — Please only post in Russian in this Russian section of the forum, where your topic was moved.

Ahk

by kekil96 » 29 Oct 2023, 04:36

Всем здравствуйте , у меня появилась проблема , я хочу написать скрипт в котором при первом нажатии на кнопку выполняется одно действие а при повторном нажатии на кнопку уже другое, в моем случае мне нужно при нажатии на + чтобы скрипт нажал на "Y" а потом написал цифры 1:0, а при повторном нажатии тоже нажал на "Y" и написала уже 2:0.

Надеюсь вы поможете мне решить данную проблему и спасибо за внимание


[Mod action: Moved topic from the main section, which is for English only.]

Top