Search found 125 matches

by yfjuu6
12 May 2024, 07:12
Forum: Ask for Help (v2)
Topic: How to wait for the key "AltGr" to be pressed down or released ?
Replies: 2
Views: 199

How to wait for the key "AltGr" to be pressed down or released ?

How to wait for the key "AltGr" to be pressed down or released ?
Something like this :

Code: Select all

F12:: {
    if KeyWait("AltGr", "d") {
        MsgBox("AltGr")
    }
}
by yfjuu6
24 Apr 2024, 06:13
Forum: Ask for Help (v2)
Topic: KeyWait for multiple keys ?? Topic is solved
Replies: 8
Views: 464

Re: KeyWait for multiple keys ?? Topic is solved

@ntepa
How to send a listed key if pressed e.g :
something like this :

Code: Select all

if Key_Wait_Multi("a{SC34}{F12}") {
      if "a" is pressed send("a")
      if "SC34" is pressed send("{SC34}")
      if "F12" is pressed send("{F12}")
      etc ...
}
else
     MsgBox("you didn't press any of the listed keys")
by yfjuu6
11 Apr 2024, 11:32
Forum: Ask for Help (v2)
Topic: Program still running in Task manager when close It using ProcessClose() Topic is solved
Replies: 10
Views: 396

Re: Program still running in Task manager when close It using ProcessClose() Topic is solved

@mikeyww
Always, at startup of the PC, LilySpeech starts running in Task manager, But it is not actually running.
I always want when start the PC, LilySpeech to be always closed from Task manager.
Could you make this script wait for LilySpeech to be running in task manager then close It?
by yfjuu6
06 Apr 2024, 13:59
Forum: Ask for Help (v2)
Topic: Hotkey AltGr strange behaviour ?
Replies: 1
Views: 66

Hotkey AltGr strange behaviour ?

I assinged the key AltGr as a hotkey :

Code: Select all

~<^RAlt::{
    KeyWait "LCtrl"
    if A_ThisHotkey = ThisHotkey {
    send("abc")
}
Sometimes when I press AltGr It sends an emoji with that text "☺abc".
This happens sometimes with AltGr only.
How do I get rid of that emoji?
by yfjuu6
02 Apr 2024, 06:26
Forum: Ask for Help (v2)
Topic: Program still running in Task manager when close It using ProcessClose() Topic is solved
Replies: 10
Views: 396

Program still running in Task manager when close It using ProcessClose() Topic is solved

I have a program called LilySpeech, Its Process name is "LilySpeech64-1.exe" I got It from Window Spy. The problem : When I exit the program from the program Itself or by the AHK command ProcessClose("LilySpeech64-1.exe") It closes but still running in Task Manager knowen that this doesn't happen wi...
by yfjuu6
01 Apr 2024, 13:38
Forum: Scripts and Functions (v2)
Topic: [v2] FindText - Capture screen image into text and then find it
Replies: 41
Views: 16297

Re: [v2] FindText - Capture screen image into text and then find it

@feiyue
Yes, when removed "+AlwaysOnTop", that blank window dissapeared, Thanks !
I want to check whether a specific text appears in a window or not.
The problem is when resize the window, It doesn't find the specified text.
Should the window dimensions be fixed to find the specified text?
by yfjuu6
01 Apr 2024, 08:06
Forum: Ask for Help (v2)
Topic: Simple Hotkey question ?
Replies: 2
Views: 115

Simple Hotkey question ?

I want when pressing AltGr only { MsgBox("AltGr only") } when pressing AltGr + RButton { MsgBox("<^>!RButton") } I tried this : ~*LCtrl Up:: { if A_PriorKey = "RAlt" { MsgBox("AltGr only") } } <^>!RButton:: { MsgBox("<^>!RButton") } The problem is when I press <^>!RButton the MsgBox("<^>!RButton") a...
by yfjuu6
23 Mar 2024, 14:47
Forum: Ask for Help (v2)
Topic: Problem with the script Find_Text.ahk ?
Replies: 0
Views: 200

Problem with the script Find_Text.ahk ?

I have a problem with this script viewtopic.php?t=116471 when the option Ul Acces is checked An empty white window (Always on top) that It does not contain anything, covers a part of the screen, and It is located in the left corner as showen in the image. But If the option Ul Acces is not checked th...
by yfjuu6
23 Mar 2024, 14:42
Forum: Scripts and Functions (v2)
Topic: [v2] FindText - Capture screen image into text and then find it
Replies: 41
Views: 16297

Re: [v2] FindText - Capture screen image into text and then find it

feiyue I have a problem with this script : when the option Ul Acces is checked An empty white window (Always on top) that It does not contain anything, covers a part of the screen, and It is located in the left corner as showen in the image. But If the option Ul Acces is not checked that window doe...
by yfjuu6
22 Mar 2024, 14:09
Forum: Ask for Help (v2)
Topic: Problem with Find_Text.ahk ?
Replies: 5
Views: 187

Re: Problem with Find_Text.ahk ?

@reddyshyam
I've found the problem.
when the option Ul Acces is checked that window appears But If it is not checked that window doesn't appear and the script is not running as admin.
I want it to be checked in order to always run the script as admin.
by yfjuu6
22 Mar 2024, 10:09
Forum: Ask for Help (v2)
Topic: Problem with Find_Text.ahk ?
Replies: 5
Views: 187

Problem with Find_Text.ahk ?

I have a problem with this script https://www.autohotkey.com/boards/viewtopic.php?t=116471 while the script is running, An empty white window (Always on top) that does not contain anything, covers a part of the screen, and It is located in the left corner as showen in the image. But when I tested th...
by yfjuu6
11 Mar 2024, 11:00
Forum: Forum Issues
Topic: Is there a way to change our Username?
Replies: 15
Views: 3670

Re: Is there a way to change our Username?

@joedf
Could you please change my username to yfjuu6 intead of yfjuuju6 ?
by yfjuu6
05 Mar 2024, 15:53
Forum: Ask for Help (v2)
Topic: KeyWait for multiple keys ?? Topic is solved
Replies: 8
Views: 464

Re: KeyWait for multiple keys ?? Topic is solved

Use the V option to allow keys to be sent when InputHook is running. I also added option S to prevent sending the listed keys: Key_Wait_Multi(keys, options := "") { ih := InputHook("L1 " options) ih.KeyOpt(keys, "ES") ih.Start() ih.Wait() return (ih.EndReason = "EndKey") } if Key_Wait_Multi("a{SC34...
by yfjuu6
05 Mar 2024, 10:37
Forum: Ask for Help (v2)
Topic: KeyWait for multiple keys ?? Topic is solved
Replies: 8
Views: 464

Re: KeyWait for multiple keys ?? Topic is solved

#Requires AutoHotkey v2.0 ih := InputHook('I', 'a{SC34}{F12}') ih.OnChar := ih_Char ih.Start(), ih.Wait() MsgBox 'Done!', 'Status', 'Iconi' ih_Char(ih, char) { Static last := '' If char != last SendText char last := char } I don't know how to use It. I want exactly what this function does : Wait_on...
by yfjuu6
04 Mar 2024, 17:11
Forum: Ask for Help (v2)
Topic: KeyWait for multiple keys ?? Topic is solved
Replies: 8
Views: 464

KeyWait for multiple keys ?? Topic is solved

I got this function from here : https://www.autohotkey.com/boards/viewtopic.php?f=82&t=126256 It waits for one or multiple keys to be pressed : Key_Wait_Multi(keys, options := "") { ih := InputHook("L1 " options) ih.KeyOpt(keys, "E") ih.Start() ih.Wait() return (ih.EndReason = "EndKey") } if Key_Wai...
by yfjuu6
29 Feb 2024, 07:19
Forum: Ask for Help (v2)
Topic: How to Search multiple colors in a window ?
Replies: 3
Views: 163

Re: How to Search multiple colors in a window ?

The first one works well.
I know the second one is wrong. But I just want something similar to it.
I want to put the colores in one variable so that I do not have to rewrite PixelSearch again due to the colors are in the same region.
by yfjuu6
29 Feb 2024, 05:22
Forum: Ask for Help (v2)
Topic: How to Search multiple colors in a window ?
Replies: 3
Views: 163

How to Search multiple colors in a window ?

I want to search multiple colors in the same region on a specific window. Is there a way to use the pixel search feature to search more then one color at a time or do I need to cycle the pixel search command over and over again like this : F12:: { if PixelSearch(&Px, &Py, 41, 23, 686, 171, 0xFFFFFF,...
by yfjuu6
27 Feb 2024, 16:13
Forum: Scripts and Functions (v2)
Topic: windows capture, image search and colors search
Replies: 32
Views: 9597

Re: windows capture, image search and colors search

thqby wrote:
11 Oct 2023, 21:27
when I run the script color.ahk those errors appear.
Does anyone know what the problem is ?
by yfjuu6
25 Feb 2024, 10:50
Forum: Forum Issues
Topic: How to to enable notification Pop-Up for this forum?
Replies: 1
Views: 275

How to to enable notification Pop-Up for this forum?

Is there a way to enable notification Pop_Up for this forum?
So, if my topic is answered or someone mentioned me I receive a notification Pop-Up while I'm browsing other web sites or opening other programs on the PC or Android as in Reddit?

Go to advanced search