Search found 933 matches

by hasantr
23 Mar 2022, 09:25
Forum: Ask for Help (v1)
Topic: How to create and name a new document file(.docs) in a selected folder?
Replies: 6
Views: 806

Re: How to create and name a new document file(.docs) in a selected folder?

How about copying and renaming the empty word file you have stored somewhere on disk?
by hasantr
23 Mar 2022, 08:59
Forum: Ask for Help (v1)
Topic: Capture All Regexp Groups Topic is solved
Replies: 2
Views: 415

Capture All Regexp Groups Topic is solved

Text := "SQL DB File (*.DB)||SQL DB File (*.SQLITE)|SQL DB File (*.SQLITE3)|SQL DB File (*.DB3)" RegexpExpression := "\(\*\K(\.\w*)" m := RegExMatch(Text ,"O)\(\*\K(\.\w*)",SubPat) MsgBox % SubPat[1] " " SubPat[2] " " SubPat[3] " " SubPat[4] I have tried many ways with RegexMatch but without succes...
by hasantr
22 Mar 2022, 08:54
Forum: Ask for Help (v1)
Topic: Understanding C++ Data Types Topic is solved
Replies: 4
Views: 324

Re: Understanding C++ Data Types Topic is solved

To understand the bits, I'll go back to the beginning and go over it again.

Thank you so much @jNizM
by hasantr
22 Mar 2022, 08:17
Forum: Ask for Help (v1)
Topic: Understanding C++ Data Types Topic is solved
Replies: 4
Views: 324

Understanding C++ Data Types Topic is solved

vNum1 := NumGet(&vData, 0, "UChar") ;16 ;read the 1st byte vNum2 := NumGet(&vData, 0, "UShort") ;4112 ;read the 1st 2 bytes Why 4112 with UShort while UChar gives the value 16. I tried hard to figure this out but I can't figure it out. Is there a mathematical explanation? Or shouldn't I be stuck wi...
by hasantr
22 Mar 2022, 02:39
Forum: Scripts and Functions (v1)
Topic: Fastest Pixel Search - 1.6x faster than built in PixelSearch
Replies: 35
Views: 10682

Re: Fastest Pixel Search - 1.6x faster than built in PixelSearch

Thanks for the function. How are you sending the color information to the function? It throws me a color not found error. I tried doing it in every color format.
by hasantr
22 Mar 2022, 01:24
Forum: Scripts and Functions (v1)
Topic: AHK DllCall Terminator v5.6 - A tool to automatically generate dllcall code
Replies: 22
Views: 4002

Re: AHK DllCall Terminator - A tool to automatically generate dllcall code

For novices like me to learn to use DLL Call. looks like a good job. Thank you.
by hasantr
20 Mar 2022, 14:35
Forum: Scripts and Functions (v1)
Topic: FormatBytes()
Replies: 31
Views: 14314

Re: FormatBytes()

Does this help? n:=9223372036854775807 ; B = 7,99 EB ;n:=200 x:= FormatBytes(n) m:= FormatStringToByte(x) tooltip, % n " B = " x " = " m " B" sleep,4000 return FormatStringToByte(unitstrg){ Units := {B:0, Bytes:0, KB:10, MB:20, GB:30,TB:40, PB:50, EB:60} RegExMatch(unitstrg, "im)(\d+,?\d{0,})\s{0,}...
by hasantr
20 Mar 2022, 00:28
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 247311

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

@LAPIII
Thanks. I think I was too careless.
by hasantr
19 Mar 2022, 15:30
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 247311

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

joedf wrote:
16 Mar 2022, 21:48
@robmar-zl Thanks for sharing! that's neat. I am sad that rocketdock had to go :sad:
Did you manage to get it working? I couldn't see the interface. I wonder what am I missing.
by hasantr
19 Mar 2022, 15:14
Forum: Scripts and Functions (v1)
Topic: FormatBytes()
Replies: 31
Views: 14314

Re: FormatBytes()

I made a Function to reverse this operation but it doesn't work on small numbers. If you have a better one, it would be great if you could share it. :) ToByte(SizeAndSpaceAndUnit){ ;by hasantr static Units := {KB:1,MB:2,GB:3,TB:4} SplitN := StrSplit(SizeAndSpaceAndUnit,A_Space,"`n") Loop % Units[Spl...
by hasantr
14 Mar 2022, 14:45
Forum: Scripts and Functions (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 249
Views: 91018

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

Hello. I am using Runcmd to run an external script with AHKh.Exe. (Because I see that it reacts faster.) But the script causes constant CPU usage. CPU usage is normal when run with normal cmd command. Any idea? Thanks. ScriptfileH := A_ScriptDir . "\dizinizleAHKh.ahk" ExeFileH := A_ScriptDir . "\Wat...
by hasantr
09 Mar 2022, 07:12
Forum: Ask for Help (v1)
Topic: Small previews of open windows
Replies: 0
Views: 215

Small previews of open windows

viewtopic.php?t=66585

Hello. I would like to open all open windows in small previews using this class. Is it suitable for a multi-window preview? It is not important to have live preview.
by hasantr
20 Feb 2022, 06:57
Forum: Scripts and Functions (v1)
Topic: Brightness and Temperature Fast Control
Replies: 20
Views: 7450

Re: Brightness and Temperature Fast Control

@hasantr Hi, This script is the best out of the lot!! I've tried them all, f.Lux, Tigerlily etc.... thankyou! Its speed and scroll wheel ability is Super Fast. Although .... now I have a 2nd monitor it doesn't work :( I only want it to work on my Primary main monitor. Is there a function to get thi...
by hasantr
15 Oct 2021, 10:29
Forum: Scripts and Functions (v2)
Topic: [v2] ZeeGrid class
Replies: 17
Views: 5973

Re: [v2] ZeeGrid class

Hi Is There A Way To Provide Corrections to V2? Does not work in recent versions.
by hasantr
15 Oct 2021, 10:21
Forum: Scripts and Functions (v1)
Topic: WatchFolder() - updated on 2021-10-14
Replies: 152
Views: 90300

Re: WatchFolder() - updated on 2021-10-14

How VATCHFOLDER V2 Works with Beta
by hasantr
12 Oct 2021, 08:55
Forum: Ask for Help (v1)
Topic: Regexp Help Topic is solved
Replies: 6
Views: 515

Re: Regexp Help Topic is solved

Thanks @teadrinker .

I should have used "\p{L}". So many problems happened because of this. I've always tried to go with "\w".
Thanks for the example. I guess without the loop ReexMatch won't return all the results.
by hasantr
12 Oct 2021, 08:13
Forum: Ask for Help (v1)
Topic: Regexp Help Topic is solved
Replies: 6
Views: 515

Re: Regexp Help Topic is solved

@hasantr It's unclear, what the output you need to get. I rewrote the pattern. No ok. I took a long hiatus from messing around with regex, I must be doing some silly things. But I wonder. Can I get all results in object. Only one result appears here. Texts = "Istrancalar" "Ağr ıDağı" "Bolu Dağı" "V...
by hasantr
12 Oct 2021, 07:21
Forum: Ask for Help (v1)
Topic: Regexp Help Topic is solved
Replies: 6
Views: 515

Re: Regexp Help Topic is solved

Hallo, Texts = "Ağrı Dağı" "Bolu Dağı" "Van Gölü" "Istrancalar" RegExMatch(Texts,"\s?[^\^]\K\x22\w*?[ıI]\w*?\x22\*?",UO) MsgBox,% UO ; "Istrancalar" "Istrancalar" is extracted here. What should the RegEx do? I'm trying to catch words in quotes containing the letters I and ı. "Van Gölü" Should recei...
by hasantr
12 Oct 2021, 06:38
Forum: Ask for Help (v1)
Topic: Regexp Help Topic is solved
Replies: 6
Views: 515

Regexp Help Topic is solved

Code: Select all

Texts = "Ağrı Dağı" "Bolu Dağı" "Van Gölü" "Istrancalar"
RegExMatch(Texts,"\s?[^\^]\K\x22\w*?[ıI]\w*?\x22\*?",UO)
Why does not work. That stole my time too much. :(
Regexp.PNG
Regexp.PNG (9.43 KiB) Viewed 515 times
by hasantr
25 Sep 2021, 13:50
Forum: Scripts and Functions (v1)
Topic: PaddleOCR - probably the best OCR tool available
Replies: 75
Views: 30581

Re: PaddleOCR - probably the best OCR tool available

malcev wrote:
24 Sep 2021, 00:04
You can get hbitmap from pdf like this (win10)
viewtopic.php?p=368404#p368404
Thanks malcev. :angel:

Go to advanced search