Search found 483 matches
- 31 May 2024, 04:22
- Forum: Ask for Help (v1)
- Topic: pixelsearchdoes not find the pixel and freezes the script Topic is solved
- Replies: 3
- Views: 434
Re: pixelsearchdoes not find the pixel and freezes the script Topic is solved
RussF and Boiler, thank you. "Fast RGB" solved both problems
- 28 May 2024, 09:17
- Forum: Ask for Help (v1)
- Topic: pixelsearchdoes not find the pixel and freezes the script Topic is solved
- Replies: 3
- Views: 434
pixelsearchdoes not find the pixel and freezes the script Topic is solved
debug("Starting pixelsearch " strtime()) Pixelsearch, X,Y,1400,300,1410,1000, 0x58DFEF el:=errorlevel, debug("Errorlevel " el " at " strtime()) In addition to not finding a pixel in that region of the screen, the script remains completely freezed for two minutes (the taskbar icon does not even reac...
- 26 May 2024, 06:10
- Forum: Ask for Help (v1)
- Topic: check if utube video is playing
- Replies: 4
- Views: 467
Re: check if utube video is playing
A less elegant but straightforward solution search img to find youtube icon and trumpet pattern of chrome. Thank you for this suggestion. It won't work exactly this way, because often I leave the computer after pausing a video that remains on the screen, but i can capture a part of the screen where...
- 26 May 2024, 06:07
- Forum: Ask for Help (v1)
- Topic: check if utube video is playing
- Replies: 4
- Views: 467
- 25 May 2024, 17:21
- Forum: Ask for Help (v1)
- Topic: check if utube video is playing
- Replies: 4
- Views: 467
check if utube video is playing
Hi! Is it possible for a script to know whether a youtube video (or maybe any video) is currently running on the computer? I would like to perform some tasks when the computer is idle, but I don't want AHK to interrupt when I am watching a video (in that case, mouse and keyboard may be idle for an e...
- 27 Jun 2023, 11:16
- Forum: Ask for Help (v1)
- Topic: How to verify if file is of a certain type
- Replies: 18
- Views: 720
Re: How to verify if file is of a certain type
What do you want to happen if there are several files matching one of the types?
- 27 Jun 2023, 11:11
- Forum: Ask for Help (v1)
- Topic: Titlematchmode
- Replies: 1
- Views: 196
Titlematchmode
Hi!
Is it possible somehow to use differnt titlematchmodes for different #ifwinactive commands in the same script?
Is it possible somehow to use differnt titlematchmodes for different #ifwinactive commands in the same script?
- 05 Dec 2022, 12:13
- Forum: Ask for Help (v1)
- Topic: Accesss firefox bookmarks through ahk
- Replies: 4
- Views: 398
Re: Accesss firefox bookmarks through ahk
Thank you for these helpful links. I have not yot yet started searching for infos, so with these links, maybe I can skip this step
- 04 Dec 2022, 10:48
- Forum: Ask for Help (v1)
- Topic: Accesss firefox bookmarks through ahk
- Replies: 4
- Views: 398
Re: Accesss firefox bookmarks through ahk
Thanky you for your answer. That's about what I feared...
So I'll have to find out what is the structure of the sqlite database and how to access it (I haven't worked with sqlite yet)
So I'll have to find out what is the structure of the sqlite database and how to access it (I haven't worked with sqlite yet)
- 04 Dec 2022, 09:45
- Forum: Ask for Help (v1)
- Topic: Accesss firefox bookmarks through ahk
- Replies: 4
- Views: 398
Accesss firefox bookmarks through ahk
Hi! I have not yet found a way to access the firefox bookmarks: Add or remove an url in some bookmark folder, check if a given title or url is already a bookmark etc
Is that possible with AHK?
Is that possible with AHK?
- 22 Nov 2022, 07:53
- Forum: Ask for Help (v1)
- Topic: RegExReplace, substitution challenge, multiple subpaterns Topic is solved
- Replies: 18
- Views: 2266
Re: RegExReplace, substitution challenge, multiple subpaterns Topic is solved
When I search, for example, for "/s,/s" it replaces with nothing (" , " just disappears) I don't understand what you are exactly looking for. Could you give a complete example: How does the input string look like, what should be the replacement rules, and what is the expected output? you could just...
- 24 Jun 2022, 12:50
- Forum: Ask for Help (v1)
- Topic: Can't calculation of Clipboard, how to let Autohotkey know ( arr1, arr2, arr3, arr4) are the number?
- Replies: 9
- Views: 1244
Re: Can't replace one part of clipboard…
Use msgbox to check if the variables really contain what you expect. I suppose at least one of the variables is null (empty string), then the result of such a calculation also becomes null.
- 23 Jun 2022, 12:33
- Forum: Ask for Help (v1)
- Topic: Develop a point of sale or ERP System using AHK? Topic is solved
- Replies: 7
- Views: 965
Re: Develop a point of sale or ERP System using AHK? Topic is solved
This is the first time I heard about RAD platform and Lazarus, I searched on Google and found that they are a platform for building only the GUI and not the back-end, Is this true? and What programming language is required for the back-end when creating a GUI using Lazarus? No, you got it wrong. La...
- 20 Jun 2022, 04:13
- Forum: Ask for Help (v1)
- Topic: Develop a point of sale or ERP System using AHK? Topic is solved
- Replies: 7
- Views: 965
Re: Develop a point of sale or ERP System using AHK, Is it easy or possible to do؟ Topic is solved
While you can do virtually everything with AHK, the programming language is not designed to do that kind of stuff. Rather use a RAD platform, like for example Lazarus.
- 30 May 2022, 14:06
- Forum: Ask for Help (v1)
- Topic: BEEP when ENABLED (but not when DISABLED)
- Replies: 2
- Views: 389
Re: BEEP when ENABLED (but not when DISABLED)
Code: Select all
~F20:: ;"toggles" script (using pause instead of suspend; not sure if this works properly yet)
Pause, toggle, 1
if not A_IsPaused
SoundPlay, *-1
return
- 25 May 2022, 20:40
- Forum: Ask for Help (v1)
- Topic: Desktop Grid Topic is solved
- Replies: 13
- Views: 957
Re: Desktop Grid Topic is solved
An idea: First minimize all open windows While your mouse is over an icon, the icon borders are displayed in a specific color, I suppose it depends on how you configured the screen colors. Use Window spy to check what color that is. Move the mouse near the left upper corner of the screen, so that it...
- 19 May 2022, 11:16
- Forum: Ask for Help (v1)
- Topic: How do I fire a prefix key only if it's released within a period of time?
- Replies: 2
- Views: 270
Re: How do I fire a prefix key only if it's released within a period of time?
Capslock & j:: send down Justpressed:=true settimer, forgetpressed, -1000 ; one second return forgetpressed: Justpressed := false return #if Justpressed Capslock:: Send, {escape} Justpressed := false return #if
- 19 May 2022, 11:05
- Forum: Ask for Help (v1)
- Topic: If and or expression Topic is solved
- Replies: 4
- Views: 327
Re: If and or expression Topic is solved
This expression will always return true, because part.1 can't be at the same time equal to "abc" and to "aaa" , so at least one subexpression on one side of the or must be true.
- 17 May 2022, 16:54
- Forum: Ask for Help (v1)
- Topic: Url download produces chinese characters Topic is solved
- Replies: 3
- Views: 377
Re: Url download produces chinese characters Topic is solved
Thank you both!
Both ways work fine.
As myip.is shows the IP address and in addition the host name, I will use teadrinkers function.
Both ways work fine.
As myip.is shows the IP address and in addition the host name, I will use teadrinkers function.
- 17 May 2022, 11:31
- Forum: Ask for Help (v1)
- Topic: Url download produces chinese characters Topic is solved
- Replies: 3
- Views: 377
Url download produces chinese characters Topic is solved
Hi, I use the following funtion with code that I found here in the forum, and that normally works: UrlDownload(Url) { whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("GET", Url, true) whr.Send() ; Using 'true' above and the call below allows the script to remain responsive. whr.WaitForRes...