Search found 42 matches

by F4Jonatas
23 Nov 2020, 05:48
Forum: AutoHotkey v2 Help
Topic: VarSetCapacity to BufferAlloc
Replies: 2
Views: 100

VarSetCapacity to BufferAlloc

Sometimes I can't pass VarSetCapacity to BufferAlloc, when it is a string. Here is a small example. msgbox( fileversioninfo( a_ahkpath, "FileDescription" )) ; Original version: https://autohotkey.com/board/topic/59496-filegetversioninfo-aw/ fileversioninfo( file :="", fileinfo :="" ) { local char :=...
by F4Jonatas
03 Nov 2020, 11:56
Forum: Ask For Help
Topic: Problem with GUI and ActiveX sizing
Replies: 5
Views: 107

Re: Problem with GUI and ActiveX sizing

Therefore, there may be some pre-configuration of iexplorer.
Let's clear these doubts: rotate the scritp and hold the control and rotate the mouse in the middle, to change the page zoom
by F4Jonatas
03 Nov 2020, 11:32
Forum: Ask For Help
Topic: Problem with GUI and ActiveX sizing
Replies: 5
Views: 107

Re: Problem with GUI and ActiveX sizing

Tell us the version of your ahk and pc !? For me it worked the way you expected... -------------------------------------------------------------------------- I made small changes. But I think that may be it. Tell me if it helped you! #NoEnv #SingleInstance Force #Warn, all, stdout #ErrorStdOut #Pers...
by F4Jonatas
27 May 2020, 15:21
Forum: Ask For Help
Topic: Custom Window Frame Using DWM/Aero
Replies: 6
Views: 588

Re: Custom Window Frame Using DWM/Aero

I think I'm lost ... Here I am :?: OnMessage( 0x001, "wndproc" ) ; WM_CREATE OnMessage( 0x006, "wndproc" ) ; WM_ACTIVATE OnMessage( 0x00F, "wndproc" ) ; WM_PAINT OnMessage( 0x083, "wndproc" ) ; WM_NCCALCSIZE OnMessage( 0x084, "wndproc" ) ; WM_NCHITTEST OnMessage( 0x111, "wndproc" ) ; WM_COMMAND fm ...
by F4Jonatas
27 May 2020, 05:37
Forum: Ask For Help
Topic: Custom Window Frame Using DWM/Aero
Replies: 6
Views: 588

Re: Custom Window Frame Using DWM/Aero

BoBo I think this does not apply well, because I want something that is compatible with win7 or win10 My focus is not transparency but free access to the title bar... Added 'Aero' to subject line Helgef This is already starting to improve the result... :) numput( numget( lParam +0, 0, "int" ), lPar...
by F4Jonatas
26 May 2020, 23:48
Forum: Ask For Help
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 3199

Re: Open Context Menu (Function) Topic is solved

Do you understand about structure?
If yes, give me a help in this post :D
by F4Jonatas
26 May 2020, 00:01
Forum: Ask For Help
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 3199

Re: Open Context Menu (Function) Topic is solved

Put those two lines and tell me if it works.

Code: Select all

#Persistent
ShellContextMenu( A_ScriptFullPath )
by F4Jonatas
25 May 2020, 14:06
Forum: Ask For Help
Topic: Custom Window Frame Using DWM/Aero
Replies: 6
Views: 588

Custom Window Frame Using DWM/Aero

Hello to all code lovers! :salute: I was always very curious to create a GUI like this example. https://delphihaven.files.wordpress.com/2010/04/runtime.png?w=584 But I never had much time to read about it, and life went on and I dropped it. Today, with this pandemic, I'm working on all the scripts ...
by F4Jonatas
25 May 2020, 13:37
Forum: Ask For Help
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 3199

Re: Open Context Menu (Function) Topic is solved

Hello @lmstearn!

Did you notice if the script closes when you click properties?

In this case, this is the main problem, but it is possible that we can improve...

Otherwise, we will have to check line by line...

I tested the function and needed #Persistent
by F4Jonatas
04 Aug 2017, 09:16
Forum: Ask For Help
Topic: How to change the background color of unused space tab
Replies: 0
Views: 393

How to change the background color of unused space tab

|Tab1|Tab2|Tab3| { } | | | | | | | | |____________________| I am able to change the backcolor and forecolor of Tab.. but I want to change the color of that { } -- > Empty space is this possible to do that? Original post https://i.stack.imgur.com/DdAny.png
by F4Jonatas
26 Jul 2017, 07:18
Forum: Ask For Help
Topic: Question About COM (IE) Topic is solved
Replies: 4
Views: 1121

Re: Question About COM (IE) Topic is solved

Maybe this can help you. link
by F4Jonatas
25 Jul 2017, 19:06
Forum: Ask For Help
Topic: Question About COM (IE) Topic is solved
Replies: 4
Views: 1121

Re: Question About COM (IE) Topic is solved

It looks like you can not access the site. So we can not find a solution.
by F4Jonatas
21 Jul 2017, 16:28
Forum: Ask For Help
Topic: ActiveX, vBrowser , Shell.Explorer - Move in gui
Replies: 1
Views: 613

Re: ActiveX, vBrowser , Shell.Explorer - Move in gui

Maybe this will help you. Gui Add, ActiveX, VBrowser X0 Y0 W759 H650, Shell.Explorer Browser.Navigate( "https://facebook.com" ) Gui, Add, Tab3, X770 Y5 W200 H646 , Tab1|Tab2 Gui, Add, Button, X826 Y47 W100 H40 Gbutton, Move Browser Window Gui, Show, X0 Y0 H658 W986, testing Return GuiClose: ExitApp ...
by F4Jonatas
15 Jul 2017, 16:13
Forum: Ask For Help
Topic: Tab loses theme Topic is solved
Replies: 3
Views: 1163

Re: Tab loses theme Topic is solved

I found a solution But needs improvement https://www.daniweb.com/programming/software-development/threads/370309/how-do-i-change-background-color-winapi#post1593016 OnMessage( 15, "WM_PAINT" ) Global WinHandle Global Brush := DllCall( "Gdi32.dll\CreateSolidBrush", "UInt", 0x0000FF ) ; Gui, Color, Re...
by F4Jonatas
11 Jul 2017, 17:31
Forum: Ask For Help
Topic: Tab loses theme Topic is solved
Replies: 3
Views: 1163

Re: Tab loses theme Topic is solved

Just a typo ...
Excuse!
by F4Jonatas
11 Jul 2017, 17:17
Forum: Ask For Help
Topic: Tab loses theme Topic is solved
Replies: 3
Views: 1163

Tab loses theme Topic is solved

Code: Select all

Gui, Color, Red ; When to use this, remove the theme
; Gui, Font, S8 CRed ; Or this
Gui, Add, Tab3, w460 h330, Setup||Basic|General|Gameplay|Interface|Detail|View Distance|Foliage
Gui, Add, Text, x30 y54, Hi!
Gui, Show
Any idea?
Thank you!
by F4Jonatas
17 Apr 2017, 12:30
Forum: Scripts and Functions
Topic: ActiveScript - Host VBScript and JScript in-process
Replies: 34
Views: 23489

Re: ActiveScript - Host VBScript and JScript in-process

Hello! I want to know why this is not right!? #NoEnv #Include ActiveScript.ahk #Include JsRT.ahk Gui, +Resize MinSize671x300 Gui, Show, W671 H300, JsRT Gui, Color, Gray Gui, Add, ActiveX, X0 Y0 W671 H300 VIE, "Shell.Explorer" ; Toast notifications from desktop apps can only use local image files. i...
by F4Jonatas
12 Feb 2017, 07:59
Forum: Ask For Help
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 3199

Re: Open Context Menu (Function) Topic is solved

are you aware that Shift+F10 opens the context menu for the currently selected item?
Yes. But what I want is to open the context menu of another app.
Qwerty already solved this for me.
:salute:
by F4Jonatas
10 Feb 2017, 06:36
Forum: Ask For Help
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 3199

Re: Open Context Menu (Function) Topic is solved

Exactly what I was looking for. :salute: I have decided to remove lines 6, 7, 8 and 78. On line 5 I changed the variable "win_hwnd" "WindowProc" function does not work in 32 bits? ShellContextMenu( sPath, win_hwnd = 0 ) { if ( !sPath ) return if !win_hwnd win_hwnd := DllCall( "User32.dll\FindWindow...

Go to advanced search