Search found 190 matches

by lblb
26 Apr 2016, 20:17
Forum: Ask for Help (v1)
Topic: Help with COM and PowerPoint
Replies: 5
Views: 3001

Help with COM and PowerPoint

Hi, I'm trying to learn COM to control PowerPoint and I'm having a few issues. I've looked into the following very useful docs: https://autohotkey.com/boards/viewtopic.php?f=7&t=8978&p=49871&hilit=powerpoint#p49871 https://autohotkey.com/board/topic/56987-com-object-reference-autohotkey-v11/ but am ...
by lblb
26 Apr 2016, 01:02
Forum: Ask for Help (v1)
Topic: Help with unhooking WinEventHook Messages
Replies: 2
Views: 1325

Re: Help with unhooking WinEventHook Messages

Hi qwerty12, Once again, thanks a lot for your thoughtful reply. I still don't know what the problem was with the original version as your suggestions didn't lead to a more reliable script. However, cyruz's library works like a charm! So thanks a lot for the suggestion, it's really helped push my sc...
by lblb
26 Apr 2016, 00:40
Forum: Ask for Help (v1)
Topic: Help with deleting PowerPoint slides with COM
Replies: 2
Views: 1186

Re: Help with deleting PowerPoint slides with COM

Hi Capn Odin,
Thanks for the quick answer. For my use, Abs(A_LoopField) will work best. Thanks a lot for the suggestion, I would have never thought of trying that! Cheers!
by lblb
25 Apr 2016, 20:12
Forum: Ask for Help (v1)
Topic: Help with deleting PowerPoint slides with COM
Replies: 2
Views: 1186

Help with deleting PowerPoint slides with COM

Hi, Using the code below, pressing F8 or F9 successfully deletes slide 3 of a PowerPoint presentation. As the F9 code shows, a variable can be used for the slide number to delete. However, pressing F10 where the slide number variable comes from parsing a comma-delimited list fails (an error pops up ...
by lblb
25 Apr 2016, 19:44
Forum: Ask for Help (v1)
Topic: Help with unhooking WinEventHook Messages
Replies: 2
Views: 1325

Help with unhooking WinEventHook Messages

Hi, I'm having problems exiting and reloading a script that uses WinEventHook Messages from here: https://autohotkey.com/board/topic/32662-tool-wineventhook-messages/ The script works well for its purpose (described below) but most of the time it crashes AutoHotkey ANSI 32 bit 1.1.23.01 (on Windows ...
by lblb
25 Apr 2016, 01:53
Forum: Scripts and Functions (v1)
Topic: Simple GDI Class
Replies: 17
Views: 19644

Re: Simple GDI Class

Hi GeekDude,

Sorry for the late reply as I just got back into this. Thanks a lot for modifying the GDI.ahk and for modifying my script. I really appreciate it. I'll look into what you wrote and will write back here if I encounter any issues. Thanks a lot!
by lblb
25 Apr 2016, 01:42
Forum: Scripts and Functions (v1)
Topic: [Class] ImageButton - 1.5.00.00 - 20201230
Replies: 190
Views: 103413

Re: [Class] ImageButton

Hi just me, Sorry for the late reply as I just found time to get back into this. Unfortunately, what you suggested doesn't improve the rendering of the text (and indeed I was talking about rounded buttons). I guess the real problem is that the transparency relies on "Winset, Transcolor" and that thi...
by lblb
15 Apr 2016, 03:11
Forum: Scripts and Functions (v1)
Topic: Simple GDI Class
Replies: 17
Views: 19644

Re: Simple GDI Class

Hi Geekdude, Thanks a lot for your help. I think I'm getting close to what I need. Here is the code I have so far: #Include GDI.ahk #SingleInstance, Force Gui, +LastFound -Resize +HwndhGuiMain +AlwaysOnTop -Caption -dpiscale +ToolWindow +E0x08000000 Gui, Color, 0x000000 Gui, Margin, 50, 50 Winset, T...
by lblb
14 Apr 2016, 23:52
Forum: Scripts and Functions (v1)
Topic: Simple GDI Class
Replies: 17
Views: 19644

Re: Simple GDI Class

Hi Geekdude, Thanks a lot for the quick reply and for the info, much appreciated. I'm willing to work on it but this is quite new to me. So before I invest some time into this, maybe I should ask if you think it would be possible to reach my objective. What I am trying to do is to have individual fl...
by lblb
14 Apr 2016, 23:29
Forum: Scripts and Functions (v1)
Topic: Simple GDI Class
Replies: 17
Views: 19644

Re: Simple GDI Class

Hi Geekdude, This is cool and simple! Thanks for your work. Is there any way that this could be adapted to make circular buttons? There are ellipse functions in Tic's Gdip library so I'm guessing it may be possible, but adding it to your class is way over my head. Thanks in advance for the help you ...
by lblb
14 Apr 2016, 13:45
Forum: Ask for Help (v1)
Topic: IsNull's Custom GDI Controls?
Replies: 0
Views: 541

IsNull's Custom GDI Controls?

Hi all,

I'm looking into adding controls onto a GDI GUI. Anyone have a copy of IsNull's Custom GDI Controls (seems like v. 0.7 is the most recent version) as the download link is dead?

https://autohotkey.com/board/topic/6218 ... ogressbar/

Thanks much!
by lblb
14 Apr 2016, 12:06
Forum: Scripts and Functions (v1)
Topic: [Class] ImageButton - 1.5.00.00 - 20201230
Replies: 190
Views: 103413

Re: [Class] ImageButton

Hi just me, Thanks for the quick reply. Ok then, I'll just have to install the font on the system when the user runs the installer for my program. On a different topic: Do you know if it's possible to affect the antialiasing of the button's border and font. Specifically, after creating an ImageButto...
by lblb
14 Apr 2016, 02:04
Forum: Scripts and Functions (v1)
Topic: [Class] ImageButton - 1.5.00.00 - 20201230
Replies: 190
Views: 103413

Re: [Class] ImageButton

@just me and @Roflcoopter:

Since you last discusses, have you found a way to use custom fonts in combination with ImageButton? It would really make my life easier if it were possible. Thanks in advance for any info and help you may be able to provide.
by lblb
14 Apr 2016, 00:55
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

qwerty12 wrote: I think the DPI can be adjusted by ....
Wow, thanks a lot for all that information qwert12. This is really great and is really going to help me learn about this kind of stuff. Your help and detailed explanations are much appreciated. Now let's study this!
by lblb
11 Apr 2016, 13:36
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

No need to change the code. You should be able to just copy the whole code that I put in my post (https://autohotkey.com/boards/viewtopic ... 437#p79437), paste it in a ahk file, then double-click that file to toggle taskbar autohide.
Does that work?
by lblb
11 Apr 2016, 11:14
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

@qwerty12: Your code is great! I'll have to dig more into it, but thanks a lot for your work. I'll have to see if I can adapt it in some way to adjusting the scaling factor. I'm really just getting into COM and dllcalls, so there is much in your code that is mysterious to me and I am puzzled as to h...
by lblb
08 Apr 2016, 18:02
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

Hi whitewater, The registry TabletMode value does change but there is a short delay. So if you needed it, you could introduce a delay before reading the value. Or better yet, don't introduce a delay and read the value right away knowing that the value that is read corresponds to the previous mode th...
by lblb
08 Apr 2016, 17:10
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

@johnnyzero and @whitewater, Thanks for confirming that it also works for you. This information will be very useful as I am currently updating various scripts from the Win 7 era dedicated to tablet PC's that I have shared at other places (see for example: http://forum.tabletpcreview.com/threads/apps...
by lblb
07 Apr 2016, 03:03
Forum: Scripts and Functions (v1)
Topic: Tablet Mode toggle for Windows 10
Replies: 33
Views: 18343

Re: Tablet Mode toggle for Windows 10

Working off johnnyzero's code, here is the best I could do to improve the reliability (with Winwait, controlsend, and winclose) and the intrusiveness (on my system, you barely see the Settings window on the taskbar; you may have to adjust the sleep delays for your system) to toggle between tablet an...

Go to advanced search