Search found 31 matches

by titep
24 May 2020, 11:35
Forum: Ask for Help (v1)
Topic: script to open Screen Sketch on Win10
Replies: 6
Views: 1987

Re: script to open Screen Sketch on Win10

@gregster @vsub

Thanks. You two's simple method works like a charm. :) :thumbup:
by titep
22 May 2020, 04:48
Forum: Ask for Help (v1)
Topic: script to open Screen Sketch on Win10
Replies: 6
Views: 1987

Re: script to open Screen Sketch on Win10

How could we run it in maximized windows ?

Code: Select all

Run, ms-penworkspace://Capture,, Max, Hwnd
doesn't work; Hwnd gives me a blank value :shock:
by titep
09 May 2019, 02:27
Forum: Ask for Help (v1)
Topic: Gdiplus screenshot gets black screen with Chrome only
Replies: 2
Views: 1655

Gdiplus screenshot gets black screen with Chrome only

:shock:

That's really weird. I'm using Gdip_BitmapFromHWND to capture Window. Everything goes well except for Chrome.

Is there anybody encounter this problem?

Code: Select all

MouseGetPos,,, MouseWin
pImage := Gdip_BitmapFromHWND(MouseWin)
Thanks
by titep
17 Jul 2018, 21:31
Forum: AutoHotkey_H
Topic: showGif()
Replies: 8
Views: 3977

Re: showGif()

The example script return error , even added #Include Gdip.ahk --------------------------- ShowGif.ahk --------------------------- Error: Call to nonexistent function. Specifically: GdiplusStartup(getvar(token:=0), &GdiplusStartupInput, 0) Line# 003: VarSetCapacity(GdiplusStartupInput,3*A_PtrSize,0)...
by titep
26 Jun 2017, 03:06
Forum: Ask for Help (v1)
Topic: [Help] [Gdip] How to add Caption to a Picture ?
Replies: 6
Views: 1756

Re: [Help] [Gdip] How to add Caption to a Picture ?

@Capn Odin:

The following happens when the text is too long : :(

Image
by titep
25 Jun 2017, 10:33
Forum: Ask for Help (v1)
Topic: [Help] [Gdip] How to add Caption to a Picture ?
Replies: 6
Views: 1756

Re: [Help] [Gdip] How to add Caption to a Picture ?

Thank you, noname

Your code is really clean and work like a charm !

How did you learn gdip ?
by titep
25 Jun 2017, 06:54
Forum: Ask for Help (v1)
Topic: [Help] [Gdip] How to add Caption to a Picture ?
Replies: 6
Views: 1756

[Help] [Gdip] How to add Caption to a Picture ?

I am practicing using gdip library by tic.

Original picture :

Image

How can I add an text OUTSIDE and BELOW THE BOTTOM of an image like this :

Image

Thank you in advance!
by titep
28 Apr 2017, 10:21
Forum: Scripts and Functions (v1)
Topic: Sort dense arrays or matrices
Replies: 5
Views: 3497

Re: Sort dense arrays or matrices

great ! Helget.
by titep
17 Apr 2017, 01:52
Forum: Scripts and Functions (v1)
Topic: Sort dense arrays or matrices
Replies: 5
Views: 3497

Error Report !

line 35 should be : If (Not IsObject(Arr[1])) instead of : If (Not IsObject(Arr(1))) the example 1 give the result : --------------------------- Example --------------------------- 5,4,3,2,1, Butterfly,Cat,Animal,Zebra,Elephant, ———-> is not sorted according to aG, B,C,A,Z,E, ———-> is not sorted acc...
by titep
17 Apr 2017, 00:37
Forum: Ask for Help (v1)
Topic: [Help] RegExMatch : How to escape "-" character
Replies: 2
Views: 860

Re: [Help] RegExMatch : How to escape "-" character

thank wolf_II

I am waiting for the answer for the whole yesterday !

Thanks
by titep
16 Apr 2017, 00:01
Forum: Ask for Help (v1)
Topic: [Help] RegExMatch : How to escape "-" character
Replies: 2
Views: 860

[Help] RegExMatch : How to escape "-" character

My AHK CODE PosMatch := RegExMatch(string,"class=""meta-author hidden-xs""><span>") it matches : 0 - <cite class="meta-height hidden-xs"> 1 - <span class="meta-weight"> 2 - <span class="meta-name"> 0 is the only what I need RegExMatch match. I figure it out that the character "-" in RegExMatch cause...
by titep
26 Jan 2016, 20:36
Forum: Ask for Help (v1)
Topic: ahk and non-conventional file/folder name
Replies: 0
Views: 723

ahk and non-conventional file/folder name

:shock: path=D:\who? FileGetAttrib, attribute, %path% MsgBox % "attribute=" attribute return in attribute=NULL :( the directory named "who?", certainly, cannot be created by Microsoft Windows Explorer, but Linux can do that. Stupid users like me, of course, do weird things, for instance, using space...
by titep
23 Dec 2015, 07:36
Forum: Scripts and Functions (v1)
Topic: Super Morse Code :D
Replies: 3
Views: 2641

Super Morse Code :D

:D It's today when I have first contributed my first function to the ahk community. First of all, I would like to express my appreciation to all admins, mods, and members here. You are great guys! When I have any problems with ahk and ask for help, it seems that someone will be there to help me, and...
by titep
19 Dec 2015, 19:00
Forum: Ask for Help (v1)
Topic: [SOLVED] Hotkey ! and a letter don't be blocked!
Replies: 4
Views: 1509

Re: [SOLVED] Hotkey ! and a letter don't be blocked!

Thanks, that works!
-------------------------
"The $ prefix forces the keyboard hook to be used to implement this hotkey, which as a side-effect prevents the Send command from triggering it. The $ prefix is equivalent to having specified #UseHook somewhere above the definition of this hotkey."
by titep
18 Dec 2015, 23:18
Forum: Ask for Help (v1)
Topic: [SOLVED] Hotkey ! and a letter don't be blocked!
Replies: 4
Views: 1509

Re: Hotkey ! and a letter don't be blocked!

Exaskryz, the problem is SOLVED now! I found it. It's not because of AHK but because of how I press a double-key. Let's see: My habit when do it is like this: 1-Press ALT(left) --> Firefox don't show menubar 2-Press F --> ToolTip % "!f is held." happens 3-Release ALT(left) --> Firefox show menubar 4...
by titep
18 Dec 2015, 21:47
Forum: Ask for Help (v1)
Topic: [SOLVED] Hotkey ! and a letter don't be blocked!
Replies: 4
Views: 1509

[SOLVED] Hotkey ! and a letter don't be blocked!

!f:: ToolTip % "!f is held." Sleep 3000 ToolTip Return :( The above code is tried about 10 times with Firefox activated and failed to block default hotkey. Sorry if I often ask basic question about AHK. I has used AHK for about 3 months and been really pleased with it :superhappy: , except some sma...
by titep
17 Dec 2015, 10:21
Forum: Ask for Help (v1)
Topic: [SOLVED] AutoHotKey_U64 and Unicode support
Replies: 9
Views: 2849

Re: AutoHotKey_U64 and Unicode support

IMEime, it works @@
I use Microsoft Notepad to save it in UTF-8 and it works. Silly me.
I will update #1 so any newbies can find it easily.
Thank IMEime and jNizM again ^^
by titep
17 Dec 2015, 09:56
Forum: Ask for Help (v1)
Topic: [SOLVED] AutoHotKey_U64 and Unicode support
Replies: 9
Views: 2849

Re: AutoHotKey_U64 and Unicode support

Thank jNizM for your quick response I did and do it again after seeing your reply.... ===> https://youtu.be/UUQovu7b7G4 Life seems always easy to some intelligent people but hard to me. IMEime, don't quit, return to this topic someday! In the future you may encounter the same thing! Unicode is extre...
by titep
17 Dec 2015, 08:39
Forum: Ask for Help (v1)
Topic: [SOLVED] AutoHotKey_U64 and Unicode support
Replies: 9
Views: 2849

Re: AutoHotKey_U64 and Unicode support

IMEime wrote:Works for me(2).

Solved ?
OR
Not ?
===> https://youtu.be/6kY6ih6c6Bc
:roll: more valuable and clear than my 1000 words
===> my test.ahk: https://www.mediafire.com/?nhwrblvgaagme28
by titep
17 Dec 2015, 07:21
Forum: Ask for Help (v1)
Topic: [SOLVED] AutoHotKey_U64 and Unicode support
Replies: 9
Views: 2849

Re: AutoHotKey_U64 and Unicode support

I save it in UTF-8 using Notepad++, too.
Maybe I did something wrong, so Mr. Luck hates me ಠ_ಠ <--- However, I use AHK to insert this symbol , it works...
My OS is Windows 10 x64 and my AHK is U64 newest version.

Go to advanced search