Search found 515 matches
- 31 Dec 2023, 09:08
- Forum: Ask for Help (v1)
- Topic: AHK Wallpaper Change doesn't persist
- Replies: 1
- Views: 172
Re: AHK Wallpaper Change doesn't persist
You can try to use 0x0003 as last parameter (fWinIni), this is the script i use on win10/11 . DllCall("SystemParametersInfo", uint, 0x0014, uint, 0x0000, str, sfile, uint, 0x0003) https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa?redirectedfrom=MSDN SPIF_SE...
- 30 Dec 2023, 04:42
- Forum: Scripts and Functions (v1)
- Topic: gdip / bass.dll radio stream player
- Replies: 41
- Views: 11393
Re: gdip / bass.dll radio stream player
Hope this link works ( i am not on discord...)
https://drive.google.com/file/d/1bno1EnO0-0QFNkRf10YTY3LNBL_H1eMk/view?usp=sharing
I use this version so it already has the updated url for chilltrack .
update: forgot you can attach a file to the post !
https://drive.google.com/file/d/1bno1EnO0-0QFNkRf10YTY3LNBL_H1eMk/view?usp=sharing
I use this version so it already has the updated url for chilltrack .
update: forgot you can attach a file to the post !
- 20 Nov 2023, 12:18
- Forum: Scripts and Functions (v1)
- Topic: gdip / bass.dll radio stream player
- Replies: 41
- Views: 11393
Re: gdip / bass.dll radio stream player
Chilltrack changed its url some days ago , you need to update the code if you want to use it .
file := "https://streamssl3.chilltrax.com/:9000"
file := "https://streamssl3.chilltrax.com/:9000"
- 01 Nov 2022, 09:54
- Forum: Scripts and Functions (v1)
- Topic: trim and merge 4k video lossless
- Replies: 7
- Views: 3486
Re: trim and merge 4k video lossless
If you are looking for an app i would use VLC media player . It is the most versatile and include a converter . The code from this post will convert it to mp4 if you open it in Potplayer . The ffmpeg that is used in it will convert almost anything and the code luckily just get the video filename wit...
- 01 Nov 2022, 00:17
- Forum: Ask for Help (v1)
- Topic: List of all current hotkeys in Windows
- Replies: 4
- Views: 528
- 16 Dec 2020, 10:03
- Forum: Tips and Tricks (v1)
- Topic: Switching between images without Flicker (GDIP)
- Replies: 2
- Views: 3919
Re: Switching between images without Flicker (GDIP)
You can take a look here: https://www.autohotkey.com/boards/viewtopic.php?t=77668
No need for using gdip and bitbild if you just want changing images without flickering.
No need for using gdip and bitbild if you just want changing images without flickering.
- 30 Jul 2019, 05:31
- Forum: Ask for Help (v1)
- Topic: Confused In Gdi
- Replies: 5
- Views: 1588
Re: Confused In Gdi
Maybe it is worth trying a function made by Millimeter-Git , it does not rely on the "printwindow" call but uses Bitbild .
https://github.com/Millimeter-Git/AhkGdip_ImageSearchForChrome/blob/master/Gdip_BitmapFromHWND_EX.ahk
https://github.com/Millimeter-Git/AhkGdip_ImageSearchForChrome/blob/master/Gdip_BitmapFromHWND_EX.ahk
- 18 Jan 2019, 09:05
- Forum: Ask for Help (v1)
- Topic: Can't get ImageSearch working
- Replies: 3
- Views: 2729
Re: Can't get ImageSearch working
Your code seems to work with the image you provided . Gui, add,picture,,default_large.png Gui, show sleep 3000 ImageSearch, X, Y, 0, 0, a_ScreenWidth, A_ScreenHeight, default_large.png If Errorlevel = 0 msgBox Works else if ErrorLevel = 1 msgBox Doesn't work update : i see scripter already gave a re...
- 14 Apr 2018, 07:35
- Forum: Ask for Help (v1)
- Topic: my script do not work anymore
- Replies: 1
- Views: 854
Re: my script do not work anymore
I tried it and it worked ( fullscreen moves 5sec with mousescroll ) Here is the code with tooltip ( only shows if fullscreen ) to get dimensions of window versus screen maybe there is a difference? #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enab...
- 14 Apr 2018, 06:52
- Forum: Ask for Help (v1)
- Topic: Show Timer, Continue After 10 seconds Topic is solved
- Replies: 5
- Views: 1825
Re: Show Timer, Continue After 10 seconds Topic is solved
ひみつ !! I send the link to your inbox . If you want to create a circular avatar you can use this: https://autohotkey.com/boards/viewtopic.php?t=29825 I had the image ( grayscaled ) as wallpaper when i wrote the code so it was my first test ( with a mesmerizing result.....) . Thanks for another exampl...
- 13 Apr 2018, 06:59
- Forum: Gaming Help (v1)
- Topic: need help with a color finder
- Replies: 1
- Views: 933
Re: need help with a color finder
There are a lot of reasons for pixelsearch not giving the result , on win10 i cannot use "slow" it stalls the code. Make sure the color is correct , try the code from the documentation for pixelgetcolor to verify the color ( if it is a game maybe it will never work) Be aware that the coordinates are...
- 13 Apr 2018, 05:50
- Forum: Ask for Help (v1)
- Topic: Show Timer, Continue After 10 seconds Topic is solved
- Replies: 5
- Views: 1825
Re: Show Timer, Continue After 10 seconds Topic is solved
Try a "settimer" and move the restore clipboard to the timer label ? #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance, Force #InstallKeybdHook SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir ...
- 06 Apr 2018, 12:47
- Forum: Ask for Help (v1)
- Topic: Fault code when installing AHK
- Replies: 5
- Views: 1770
Re: Fault code when installing AHK
You could try to unzip the AutoHotkey_1.1.28.01.zip and manually running the installer.ahk.
- 06 Apr 2018, 11:36
- Forum: Ask for Help (v1)
- Topic: Mouse_event in a loop Topic is solved
- Replies: 1
- Views: 874
Re: Mouse_event in a loop Topic is solved
Take a look at the "sleep" documentation (see the remarks),i think it contains the answer to your question.
https://autohotkey.com/docs/commands/Sleep.htm
https://autohotkey.com/docs/commands/Sleep.htm
- 06 Apr 2018, 10:14
- Forum: Ask for Help (v1)
- Topic: What is the best way to have a %variable% auto update text and progress bar in GUI
- Replies: 3
- Views: 1247
Re: What is the best way to have a %variable% auto update text and progress bar in GUI
You can use a settimer to update the GUI. Gui, Add, Picture, x2 y-1 w550 h200 , %a_temp%/image.png Gui, Add, Button, x132 y105 w380 h30 , ON/OFF(F7) Gui, Add, Button, x132 y136 w380 h30 , Language-Reference Gui, Add, Button, x132 y167 w380 h30 , Forum/Suggest-Acronym Gui, Add, Text, x2 y210 w550 h20...
- 26 Mar 2018, 09:21
- Forum: Ask for Help (v1)
- Topic: Pixelsearch problem?? Topic is solved
- Replies: 11
- Views: 4642
Re: Pixelsearch problem?? Topic is solved
Hi MaxAstro , it only needs gdip library (gdip_all.ahk) .The gdip_imagesearch.ahk in my post is needed because it gives the comparison in speed between pixelsearch and imagesearch ( using a 1 pixel bitmap). Here is an example i posted on another post , the hotkey to start search is ctrl+p #include *...
- 25 Mar 2018, 13:31
- Forum: Ask for Help (v1)
- Topic: How to do gdi pixel search with this color Topic is solved
- Replies: 6
- Views: 3354
Re: How to do gdi pixel search with this color Topic is solved
Because the bitmap is from the screen ,the coordinates are referenced to the screen. Only for ahk 32bit version ! demo example: #include *i gdip_all.ahk SetWorkingDir, %A_ScriptDir% SetBatchLines, -1 If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure yo...
- 24 Mar 2018, 03:08
- Forum: Ask for Help (v1)
- Topic: How to do gdi pixel search with this color Topic is solved
- Replies: 6
- Views: 3354
Re: How to do gdi pixel search with this color Topic is solved
If you are not familiar with using libraries like gdip i would stay with the ahk pixelsearch which is fast and easy to use.Only looking for a lot of pixels in one go or hidden window/offscreen would give an advantage to gdip. Yesterday by coincidence ? the topic got discussed if you are still intere...
- 23 Mar 2018, 16:04
- Forum: Ask for Help (v1)
- Topic: Pixelsearch problem?? Topic is solved
- Replies: 11
- Views: 4642
Re: Pixelsearch problem?? Topic is solved
Now i am confused :? Do you mean this code: PixelColor := Gdip_GetPixel(pHaystack, aX, aY) ; This function works just like PixelSearch but requires a GDI+ bitmap to search I scanned your libraries that are attached but did not find a "pixelsearch" in it ( are my editor is fooling me :) ) The functio...
- 23 Mar 2018, 11:38
- Forum: Ask for Help (v1)
- Topic: Pixelsearch problem?? Topic is solved
- Replies: 11
- Views: 4642
Re: Pixelsearch problem?? Topic is solved
MaxAstro FYI there is a gdip pixelsearch made by Tic , here is a comparison i made between gdip imagesearch and gdip pixelsearch both searching for 1 pixel. Greetings ; downloading gdip library ; https://www.dropbox.com/s/0e9gdfetbfa8v0o/Gdip_All.ahk ; see Tic's post https://autohotkey.com/board/top...