Search found 25 matches

by sooyke_
02 Jan 2023, 07:31
Forum: Ask for Help (v1)
Topic: ahk source code
Replies: 2
Views: 324

Re: ahk source code

Thank you , much appreciated .
by sooyke_
02 Jan 2023, 06:15
Forum: Ask for Help (v1)
Topic: ahk source code
Replies: 2
Views: 324

ahk source code

How do i find the source code used for Menu ,tray ,tip ,text ? There are so many files does anyone have a hint in with file(s) to look ?

https://github.com/AutoHotkey/AutoHotkey
by sooyke_
27 Nov 2022, 13:48
Forum: Ask for Help (v1)
Topic: Need Help With Audacity Script
Replies: 3
Views: 390

Re: Need Help With Audacity Script

Audacity have build in macro function , there are several examples to chain functions for audio processing . You can use ahk to start the macro.
by sooyke_
15 Oct 2022, 07:35
Forum: Ask for Help (v1)
Topic: part of number
Replies: 4
Views: 349

Re: part of number

@safetycar

:thumbup: very nice ! Thank you .
by sooyke_
15 Oct 2022, 07:25
Forum: Ask for Help (v1)
Topic: part of number
Replies: 4
Views: 349

Re: part of number

Thanks , it also means i have to write my own function . I hoped there was something like Abs() . :facepalm:
by sooyke_
15 Oct 2022, 06:43
Forum: Ask for Help (v1)
Topic: part of number
Replies: 4
Views: 349

part of number

Code: Select all

z:=34.78511 

msgbox % z - floor(z)
Is there a better way of getting 0.78511 ( as a number )
by sooyke_
02 Aug 2022, 03:08
Forum: Ask for Help (v1)
Topic: Auto Correction conflict with Windows 11 Built-in Auto Correction
Replies: 6
Views: 1042

Re: Auto Correction conflict with Windows 11 Built-in Auto Correction

The links you gave do not work it gives both that hotlinking is not allowed . The Setting for disabling the autocorrect also works for my wireless keyboard so just try it . I have no idea why they mention touch screen maybe it is more annoying ?
by sooyke_
02 Aug 2022, 00:40
Forum: Ask for Help (v1)
Topic: Auto Correction conflict with Windows 11 Built-in Auto Correction
Replies: 6
Views: 1042

Re: Auto Correction conflict with Windows 11 Built-in Auto Correction

What happened? The owner of this website (image.jagole.com) does not allow hotlinking to that resource (/images/2022/08/01/ApplicationFrameHost_8HPfwWWDz3.jpg). You can use the attachment tab to include a file but i am not sure if a recent user have this permission or has to wait a few days .... btw...
by sooyke_
01 Aug 2022, 08:39
Forum: Ask for Help (v1)
Topic: Auto Correction conflict with Windows 11 Built-in Auto Correction
Replies: 6
Views: 1042

Re: Auto Correction conflict with Windows 11 Built-in Auto Correction

Yes , same problem in Mail but disabling autocorrect in Settings Time & Language / typing solved it . So you have the choice which autocorrect to keep .
by sooyke_
19 Oct 2021, 04:29
Forum: Ask for Help (v1)
Topic: Gdip_PixelSearch Wont Work :(
Replies: 36
Views: 5858

Re: Gdip_PixelSearch Wont Work :(

You can use imagesearch that has more options and a needle bitmap of 1 pixel. example ( only 32bit ahk ! ) #include *i gdip_all.ahk If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system ExitApp } ;---------------- create dem...
by sooyke_
10 Aug 2021, 13:05
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 14266

Re: GridGUI

Thank you for sharing :) Capn Odin
by sooyke_
01 Aug 2021, 10:07
Forum: Ask for Help (v1)
Topic: hBitmap problem - custom slider Topic is solved
Replies: 7
Views: 858

Re: hBitmap problem - custom slider Topic is solved

Min := new CustomSlider("x10 y20 w400 h5 BackGround0x454C5F Range0-10 c0x66CCFF vMin altsubmit", MinD, hBitmap) Do you not have the link to the original post ? I guess the options avaiable should be mentioned there ? You can see the Range option extracted here in the code : if RegExMatch(Options, "...
by sooyke_
31 Jul 2021, 02:38
Forum: Ask for Help (v1)
Topic: hBitmap problem - custom slider Topic is solved
Replies: 7
Views: 858

Re: hBitmap problem - custom slider Topic is solved

It seems you cannot use the pointer to the image object twice . I also change the " Image2Include " creation of hbitmap code ( removed the if hbitmap condition ) Gui, Color, 0x282D41 HBITMAP:=Create_sliderthumb_png() HBITMAP2:=Create_sliderthumb_png() Gui, Add, Pic, yp+20 x10 w15 h15 HWNDhBtn, % "HB...
by sooyke_
09 Jul 2021, 05:40
Forum: Ask for Help (v1)
Topic: How to remove hidden end of line (EOL) in text
Replies: 15
Views: 1210

Re: How to remove hidden end of line (EOL) in text

Hi Garry Sorry , i misunderstood your question , i thought leaving only the last CRLf ............. Thanks for the example creating a test file with those CR and LF and EOF characters ! Added to my collection ! The AscToHex is an old one , i used it often .It was created by Laszlo ( wonder if he is ...
by sooyke_
08 Jul 2021, 11:39
Forum: Ask for Help (v1)
Topic: How to remove hidden end of line (EOL) in text
Replies: 15
Views: 1210

Re: How to remove hidden end of line (EOL) in text

Code: Select all

FileRead, myFile,text.txt
myfile:=regexreplace(myfile,"s)\n(?=.*\n)")

tooltip, % myfile ; instead of msgbox to see a long line

MsgBox % myfile "`n" AscToHex(myfile) 


AscToHex(str) {
  Return str="" ? "":Chr((Asc(str)>>4)+48) Chr((x:=Asc(str)&15)+(x>9 ? 55:48)) AscToHex(SubStr(str,2))
}
by sooyke_
07 Jul 2021, 06:19
Forum: Ask for Help (v1)
Topic: How to remove hidden end of line (EOL) in text
Replies: 15
Views: 1210

Re: How to remove hidden end of line (EOL) in text

Code: Select all

FileRead, myFile,text.txt
myfile:=regexreplace(myfile,"\R")

tooltip, % myfile ; instead of msgbox to see a long line

FileAppend,%myfile%,remove_eol.txt
     
msgbox saved in remove_eol.txt
to see non printable characters thanks to Gregster :
https://www.soscisurvey.de/tools/view-chars.php
by sooyke_
03 Jun 2021, 07:06
Forum: Ask for Help (v1)
Topic: Is it possible to capture only the color you want in the gdip library capture tool?
Replies: 1
Views: 140

Re: Is it possible to capture only the color you want in the gdip library capture tool?

I guess the only thing you can do is to replace the colors different than black . If you are using it for text extraction then this will not work because text contains a variation of greys and little real black color . Just to try it out : f3:: If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus Erro...
by sooyke_
04 May 2021, 05:58
Forum: Scripts and Functions (v1)
Topic: Mouse over the file (do not need click) to preview the contents. Support ahk,txt,ini,jpg,jpeg,png,bmp,tif format.
Replies: 21
Views: 5369

Re: Mouse over the file (do not need click) to preview the contents. Support ahk,txt,ini,jpg,jpeg,png,bmp,tif format.

@tuzi

try if (WinClass = "CabinetWClass" && CtrlClass = "DirectUIHWND3")

It works if i remove : CtrlClass = "DirectUIHWND3" from the condition
by sooyke_
02 May 2021, 01:28
Forum: Scripts and Functions (v1)
Topic: Mouse over the file (do not need click) to preview the contents. Support ahk,txt,ini,jpg,jpeg,png,bmp,tif format.
Replies: 21
Views: 5369

Re: Mouse over the file (do not need click) to preview the contents. Support ahk,txt,ini,jpg,jpeg,png,bmp,tif format.

Does not work for me too , can it be a language problem ? Some function name that is not in an english version of win10 ?
I do no get any error , it just does not do anything .

Go to advanced search