Search found 508 matches

by noname
18 Jan 2019, 09:05
Forum: Ask For Help
Topic: Can't get ImageSearch working
Replies: 3
Views: 176

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...
by noname
14 Apr 2018, 07:35
Forum: Ask For Help
Topic: my script do not work anymore Topic is solved
Replies: 1
Views: 182

Re: my script do not work anymore Topic is solved

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...
by noname
14 Apr 2018, 06:52
Forum: Ask For Help
Topic: Show Timer, Continue After 10 seconds
Replies: 5
Views: 377

Re: Show Timer, Continue After 10 seconds

ひみつ !! 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...
by noname
13 Apr 2018, 06:59
Forum: Gaming
Topic: need help with a color finder
Replies: 1
Views: 197

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...
by noname
13 Apr 2018, 05:50
Forum: Ask For Help
Topic: Show Timer, Continue After 10 seconds
Replies: 5
Views: 377

Re: Show Timer, Continue After 10 seconds

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 ...
by noname
06 Apr 2018, 12:47
Forum: Ask For Help
Topic: Fault code when installing AHK
Replies: 5
Views: 424

Re: Fault code when installing AHK

You could try to unzip the AutoHotkey_1.1.28.01.zip and manually running the installer.ahk.
by noname
06 Apr 2018, 11:36
Forum: Ask For Help
Topic: Mouse_event in a loop
Replies: 1
Views: 197

Re: Mouse_event in a loop

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
by noname
06 Apr 2018, 10:14
Forum: Ask For Help
Topic: What is the best way to have a %variable% auto update text and progress bar in GUI
Replies: 3
Views: 320

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...
by noname
26 Mar 2018, 09:21
Forum: Ask For Help
Topic: Pixelsearch problem?? Topic is solved
Replies: 10
Views: 928

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 *...
by noname
25 Mar 2018, 13:31
Forum: Ask For Help
Topic: How to do gdi pixel search with this color Topic is solved
Replies: 6
Views: 533

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...
by noname
24 Mar 2018, 03:08
Forum: Ask For Help
Topic: How to do gdi pixel search with this color Topic is solved
Replies: 6
Views: 533

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...
by noname
23 Mar 2018, 16:04
Forum: Ask For Help
Topic: Pixelsearch problem?? Topic is solved
Replies: 10
Views: 928

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...
by noname
23 Mar 2018, 11:38
Forum: Ask For Help
Topic: Pixelsearch problem?? Topic is solved
Replies: 10
Views: 928

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...
by noname
20 Mar 2018, 07:00
Forum: Ask For Help
Topic: GDI+ Gdip_AlphaMask() not preserving png transparency
Replies: 6
Views: 546

Re: GDI+ Gdip_AlphaMask() not preserving png transparency

LinearSpoon has compiled it to 64bit and you also source code here:
https://autohotkey.com/boards/viewtopic.php?f=5&t=39077
by noname
20 Mar 2018, 05:29
Forum: Ask For Help
Topic: GDI+ Gdip_AlphaMask() not preserving png transparency
Replies: 6
Views: 546

Re: GDI+ Gdip_AlphaMask() not preserving png transparency

Maybe you could create a suitable path and the use "Gdip_SetClipPath(pGraphics, Path, CombineMode=0)" before drawing the image.Transparency is kept but getting the path correct need some serious thinking........... There is an example by nnnik but it did not work when i tried it (the clipped corners...
by noname
18 Mar 2018, 13:24
Forum: Ask For Help
Topic: Multiple progress bars/loops
Replies: 1
Views: 209

Re: Multiple progress bars/loops

I guess a settimer would solve it if the timing is not too critical. example: Gui, Main: New Gui, Main: Show, w450 h450 Gui, 1: +parentMain Gui, 1: Color, c292929 Gui, 1: Add, Progress, x0 y0 w300 h20 cGreen +Border vGreen Gui, 1: Show, x5 y5 w300 h20 Gui, 2: +parentMain Gui, 2: Color, c292929 Gui, ...
by noname
17 Mar 2018, 07:11
Forum: Ask For Help
Topic: GUI add Image/Picture hard code
Replies: 2
Views: 230

Re: GUI add Image/Picture hard code

[v1.1.23+]: A bitmap or icon handle can be used instead of a filename. For example, HBITMAP:%handle%.
You can include the logo bitmap in the ahk code and use the hbitmap option to set it in the GUI.

https://autohotkey.com/board/topic/9329 ... r-scripts/
by noname
21 Feb 2018, 11:06
Forum: Ask For Help
Topic: Check if connection to server and do something Topic is solved
Replies: 10
Views: 898

Re: Check if connection to server and do something Topic is solved

My bad MyGiG for not reading your post properly.I am so used to have UPS with usb that i assumed it was the PC lacking a spare one :oops:
Greetings
by noname
21 Feb 2018, 07:50
Forum: Ask For Help
Topic: Multi GUI Image Refresh?
Replies: 4
Views: 347

Re: Multi GUI Image Refresh?

You are absolutely right BoBo it only works with bmp filetypes , by coincidence i used a bmp to test it ......... :oops: Using gdip you can use other filetypes but it makes a lot more code or you need to include Tic's gdip library.But i think it is worthwhile apart from using layered windows it is t...

Go to advanced search