Search found 27 matches

by pro100andrik94
23 Jul 2020, 02:36
Forum: Помощь
Topic: Помогите сделать лёгкий скрипт
Replies: 3
Views: 2128

Re: Помогите сделать лёгкий скрипт

Code: Select all

F1::
T := 1
start:
send e
send {Space}
sleep 500
if (T = 1) 
goto start
else
return

F12::
T := 0
return
by pro100andrik94
24 Sep 2018, 05:42
Forum: Ask for Help (v1)
Topic: gui submit for specific variable Topic is solved
Replies: 3
Views: 1046

gui submit for specific variable Topic is solved

can i use some variable in my script from dropdownlist when i'm choose it without saving all variables by using gui submit? or is it a solution for submit only one variable?
by pro100andrik94
18 Sep 2018, 14:54
Forum: Scripts and Functions (v1)
Topic: Soundplay. Program to play sounds from you microphone
Replies: 0
Views: 2061

Soundplay. Program to play sounds from you microphone

You can troll your friends with random sounds playng from your microphone just using this script and VLC player with virual audio cables. HOW TO USE After running program you must click right mouse button in tray icon and choose "Settings" and first thins first configure vlc device (description unde...
by pro100andrik94
01 Sep 2018, 06:11
Forum: Ask for Help (v1)
Topic: Sound play on a certain channel
Replies: 1
Views: 826

Sound play on a certain channel

I need to play audio to my speakers when my default sound device is headphones.
Something like this

Code: Select all

F1::SoundPlay, sound.wav
But it will play to default device which is a headphones. Can it be played on speakers when speakers is not default device?
by pro100andrik94
17 Aug 2018, 03:12
Forum: Ask for Help (v1)
Topic: How to check if a window is centered before centering?
Replies: 3
Views: 1058

Re: How to check if a window is centered before centering?

It's because you'r code is little wrong. CenterWindow(WinTitle) { WinGetPos,xx,yy, Width, Height, %WinTitle% x1 := xx + Width/2 y1 := yy + Height/2 loop 2 { y1 := yy + Height/2 loop 2 { if ((A_ScreenWidth/2 == x1) && (A_ScreenHeight/2 == y1)) { msgbox all goto end } else y1 := y1 + 0.5 } x1 := x1 + ...
by pro100andrik94
16 Aug 2018, 06:22
Forum: Ask for Help (v1)
Topic: Runned program not visible
Replies: 3
Views: 861

Re: Runned program not visible

Code: Select all

Run, C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe
WinWait, ahk_exe C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe , , 30
if ErrorLevel
{
    MsgBox, WinWait timed out.
    return
}
else
    WinRestore
    return
by pro100andrik94
15 Aug 2018, 09:16
Forum: Ask for Help (v1)
Topic: Hangul/English toggle with right Alt key Topic is solved
Replies: 13
Views: 4330

Re: Hangul/English toggle with right Alt key Topic is solved

It might take a while to figure it out. I can try to deal with this, but I do not guarantee that I will do anything. And if you are going to send several keys in a row then you need to write it as you wrote. But if you need to press one and then another and release them then you need to write that w...
by pro100andrik94
15 Aug 2018, 08:26
Forum: Ask for Help (v1)
Topic: Hangul/English toggle with right Alt key Topic is solved
Replies: 13
Views: 4330

Re: Hangul/English toggle with right Alt key Topic is solved

Maybe there is a way. I do not know anything about this program. It is better for you to create a new topic just about this program and ask this question.
by pro100andrik94
15 Aug 2018, 08:15
Forum: Ask for Help (v1)
Topic: Hangul/English toggle with right Alt key Topic is solved
Replies: 13
Views: 4330

Re: Hangul/English toggle with right Alt key Topic is solved

It's not a code problem. This is windows problem that the input method cannot switch when textbox disabled. Code just simulate pressing key.
by pro100andrik94
15 Aug 2018, 08:07
Forum: Ask for Help (v1)
Topic: Hangul/English toggle with right Alt key Topic is solved
Replies: 13
Views: 4330

Re: Hangul/English toggle with right Alt key Topic is solved

I just take code of key and send it :) P.S. First I was try sc138 but it's dont work and than i use vk code. You can use this code if you need to know another codes of keys Menu, Tray, Icon, Shell32.dll, 45 ; клавиши дополнительной клавиатуры и Pause, sc которых ф-ция MapVirtualKey не определяет ScV...
by pro100andrik94
15 Aug 2018, 03:48
Forum: Ask for Help (v1)
Topic: Error: ELSE with no matching IF
Replies: 3
Views: 858

Re: Error: ELSE with no matching IF

;Key binds key_select:="F1" key_Other:="F2" key_Other2:="F3" key_Other3:="F4" key_ScriptPause:="F5" key_ScriptTerminate:="F6" Loop { Sleep 1 if GetKeyState(key_select) { PFeedLoop:=true Other:=false Other2:=false Other3:=false } if GetKeyState(key_Other) { PFeedLoop:=false Other:=true Other2:=false...
by pro100andrik94
13 Aug 2018, 02:38
Forum: Ask for Help (v1)
Topic: Selecting, copying, and pasting text conveniently
Replies: 9
Views: 12762

Re: Selecting, copying, and pasting text conveniently

For copying selected word you can use this script.
For pasting text this

Code: Select all

~MButton::
click
send ^v 
return
by pro100andrik94
13 Aug 2018, 02:07
Forum: Ask for Help (v1)
Topic: ahk request
Replies: 9
Views: 2021

Re: ahk request

Code: Select all

loop
{
if GetKeyState("w") or GetKeyState("a") or GetKeyState("s") or GetKeyState("d")
blockinput mousemove
else 
blockinput mousemoveoff
}
return
by pro100andrik94
13 Aug 2018, 01:54
Forum: Ask for Help (v1)
Topic: Freeze/Disable Mouse&keyboard movement
Replies: 3
Views: 1106

Re: Freeze/Disable Mouse&keyboard movement

This will not work because you miss return ^s:: ; Ctrl+S KeyWait Control ; waiting that controll wil relese to not have "stuck down" BlockInput, On ; Disable keyboard and mouse input return ; missed that return in first code $~esc:: BlockInput Off And if Escape key didn't work you allways can disabl...
by pro100andrik94
13 Aug 2018, 01:21
Forum: Ask for Help (v1)
Topic: WheelUp/Down do not work.
Replies: 3
Views: 911

Re: WheelUp/Down do not work.

First thing first put your code in code case, not to spoiler.
by pro100andrik94
13 Aug 2018, 01:06
Forum: Gaming Help (v1)
Topic: Auto combination script. Need help to add image search...
Replies: 15
Views: 3281

Re: Auto combination script. Need help to add image search...

Break means exit from current loop and go to next operator which is nxt If you need num++ after "if errorlevel = 1" you can put it there, BUT only if after the last sending space you have no pixels found in all cases. If once after last sending space script will found pixel he will go same job again...
by pro100andrik94
10 Aug 2018, 07:02
Forum: Ask for Help (v1)
Topic: Script Advice
Replies: 1
Views: 633

Re: Script Advice

+\:: ;{ don't need here at all BlockInput, On SetKeyDelay, 0, -1 ; you can use parameters like "SetDefaultMouseSpeed, SetMouseDelay, CoordMode Mouse and SetKeyDelay" at the begin and it will be work for all script and you dont need to repeat it all the time SetDefaultMouseSpeed, 0, SetMouseDelay, 0...
by pro100andrik94
10 Aug 2018, 06:43
Forum: Gaming Help (v1)
Topic: Auto combination script. Need help to add image search...
Replies: 15
Views: 3281

Re: Auto combination script. Need help to add image search...

I guess I understand you not to the end correctly or you have not explained correctly after which space you need to skip work. I thought that the checking image/pixel should be in the job, and the space clicking function should be sent without conditions. In this case that you explain now, the code ...

Go to advanced search