Search found 140 matches
- 22 Aug 2017, 11:43
- Forum: Ask for Help (v1)
- Topic: Ampersand in Gui,Add,Button fails to underline character "Continued"
- Replies: 7
- Views: 1726
Ampersand in Gui,Add,Button fails to underline character "Continued"
This is an update to an old post. https://autohotkey.com/boards/viewtopic.php?f=14&t=5761&sid=d1bc1087e43bc47eefe26736f2c33f15 After reading it I have come to the conclusion that: send, {Alt} won't work. As you can see from my requirements at the bottom of the old post, I do need to show the undersc...
- 21 Aug 2017, 17:07
- Forum: Bug Reports
- Topic: Ampersand in Gui,Add,Button fails to underline character
- Replies: 16
- Views: 5871
Re: Ampersand in Gui,Add,Button fails to underline character
Most, even "lexikos", in this old thread were of the opinion that this issue was not a "bug" but a feature. I agree with him. I am simply looking for a workaround for something that was well defined in this old thread. I am also pointing out that this [Alt] situation goes beyond the initial undersco...
- 21 Aug 2017, 08:49
- Forum: Bug Reports
- Topic: Ampersand in Gui,Add,Button fails to underline character
- Replies: 16
- Views: 5871
Re: Ampersand in Gui,Add,Button fails to underline character
1stly, I would not want to force the users make special changes. 2ndly, I have a form that is sometimes used to just take a quick view of a variable and is then immediately hotkey closed. 3rdly, I would very much like to have the underscore visible for ease of use and clarity sake. 4thly, I would no...
- 20 Jul 2017, 10:12
- Forum: Other Utilities & Resources
- Topic: Code signing certificates for AHK compiled scripts
- Replies: 6
- Views: 8878
Re: Code signing certificates for AHK compiled scripts
Hi, I was looking for cheapest solutions for this and I came across K Software with free ksign companion program. They are a Comodo reseller. http://codesigning.ksoftware.net/ https://www.raymond.cc/blog/cheapest-code-signing-certificate-and-walkthrough-in-getting-it I would want to use it for signi...
- 01 Oct 2016, 20:42
- Forum: Ask for Help (v1)
- Topic: Get HWND ID of hidden COM window
- Replies: 2
- Views: 1530
Re: Get HWND ID of hidden COM window
Thanks tank,
myHWND := Qwb.hwnd
That hits the spot.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
myHWND := Qwb.hwnd
That hits the spot.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
- 01 Oct 2016, 20:05
- Forum: Ask for Help (v1)
- Topic: Get HWND ID of hidden COM window
- Replies: 2
- Views: 1530
Get HWND ID of hidden COM window
Hi, I just need the HWND ID, like you get with WinGet or WinExist for a hidden COM window. Qwb := ComObjCreate("InternetExplorer.Application") ;create a IE instance Qwb.Visible := False Get the HWND ID here? Qwb.Navigate("about:blank") While Qwb.readyState!=4 || Qwb.document.readyState!="complete" |...
- 14 Sep 2016, 11:17
- Forum: Ask for Help (v1)
- Topic: VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
- Replies: 7
- Views: 1409
Re: VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
Thanks lexicos, I have not been able to get the crashing to re-occur. However this morning after having my laptop sleep over night, I did get an old bugaboo to reappear, but now that is also gone too. I think it does bear investigation. I use alternate means now anyway, but the bug is still there. E...
- 12 Sep 2016, 14:43
- Forum: Ask for Help (v1)
- Topic: VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
- Replies: 7
- Views: 1409
Re: VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
Thanks "just me", I use this for many things as I am sure many others do, such as exporting, printing, etc. Anything that presents data in a Listbox. My latest use is to jump upwards (backwards) in listbox menus, to the previous (current) hit letter in the menu. I use a "Space" hotkey to go backward...
- 12 Sep 2016, 03:30
- Forum: Ask for Help (v1)
- Topic: VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
- Replies: 7
- Views: 1409
VarSetCapacity - ControlGet, myX, List,, ListBox1, myMenu
Hi, I use this in many places in one of my apps. Unicode AHK_L Version v1.1.24.00 ControlGet, myX, List,, ListBox1, myMenu These menus can be quite long. (Thousands of lines). Generally it is followed with: Loop, Parse, myX, `n ... Sometimes my AHK crashes after a few keystrokes on long ListBox1 men...
- 31 May 2016, 16:22
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Hi ShadowPhoenix, Your code to get default browser: RegRead, BrowserProgKey, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice, ProgID RegRead, BrowserCMD, HKEY_CLASSES_ROOT, %BrowserProgKey%\Shell\Open\Command MsgBox %BrowserCMD% does not work at all in ...
- 11 May 2016, 12:43
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Thanks Masonjar13, That is what I am now doing. I compare (thanks Xtra) all the registry exe's with my comprehensive list of browser exe names (need new eyeballs). One menu choice will be to use the "active" window though, (for non-installed portable browsers), so I would still like to control that ...
- 10 May 2016, 23:36
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Hi gilliduck, I just need to check if the exe (and path) obtained is a browser program at all, as opposed to some other program that I would not like to run URLs with. (autohotkey.exe for example). So any browser would do. There are 100s of browsers out there. Many are for other countries or languag...
- 10 May 2016, 18:00
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Thanks Masonjar13 and ShadowPhoenix, Those are good ideas. ShadowPhoenix: Could we "ping " or tweak the x browser to see if it can access the port? This might be a less problamatic than running a link in case it is not a browser after all? https://autohotkey.com/board/topic/111086-solved-check-if-co...
- 09 May 2016, 22:49
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Shadowphoenix wrote: "the only real way to programmatically identify if an application is a web browser is to monitor TCP/IP port 80 and see if the application tries to use it." Since the program window in question wound be open and active at the time of it's detection, would it not be using a TCP/I...
- 09 May 2016, 18:19
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Thanks Shadowphoenix, I am just using a very basic: Run, "%myBrowserPath%" "%myURL%",, UseErrorLevel There is no automation going on. I do some with IE, but not with X browsers. Even Firefox and Chrome are basically a pain for that. I like to think it is somewhat more than "simply" and "frequently"....
- 09 May 2016, 13:32
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Thanks Shadowphoenix, What I was planning was to have the user simply run their "pet" browser, and press a hothey while it is active. Then I get the: WinGet, myBrowserName, ProcessName, A WinGet, myBrowserPath, ProcessPath, A and use those vars until they exit program, or reset it so it that my defa...
- 09 May 2016, 10:34
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Re: Determine if exe or path is a valid browser?
Thanks Xtra, That is helpful, but not what I'm stuck on. Sorry if I was not clear enough. What I am doing is letting the users use my library of URLs with ANY browser. I don't have the comprehensive list for your "progList" This is how I get the (hopefully valid) browser path that is active. WinGet,...
- 09 May 2016, 03:09
- Forum: Ask for Help (v1)
- Topic: Determine if exe or path is a valid browser?
- Replies: 18
- Views: 3486
Determine if exe or path is a valid browser?
Hi,
If I know the full path & (exe name), is there any way to verify that it is from
a valid browser? There are hunderds of browsers over many years possible.
If not, I could use a comprehensive list of browser exe names. For example:
iexplore.exe, firefox.exe, chrome.exe ...
Thanks
If I know the full path & (exe name), is there any way to verify that it is from
a valid browser? There are hunderds of browsers over many years possible.
If not, I could use a comprehensive list of browser exe names. For example:
iexplore.exe, firefox.exe, chrome.exe ...
Thanks
- 12 Apr 2016, 21:41
- Forum: Ask for Help (v1)
- Topic: Close or Reload 1st tab in Firefox or Google Chrome
- Replies: 0
- Views: 518
Close or Reload 1st tab in Firefox or Google Chrome
Hi, I often want to shutup (1st tab) audio ads while watching Flash fullscreen videos in the 2nd, or third tabs. I need a solution for Firefox and Google Chrome. In IE I use this: (myHWND is HWND used for my created browser windows.) refreshFirstTab() { Global myHWND for wb in ComObjCreate("Shell.Ap...
- 12 Apr 2016, 21:22
- Forum: Ask for Help (v1)
- Topic: Detect Flash player is full screen in Chrome or Firefox
- Replies: 2
- Views: 1231
Re: Detect Flash player is full screen in Chrome or Firefox
Thanks Capn Odin, I learned a lot from this. Right now I am just looking for x=0 y=0 in WinGetPos. I was thinking that if I could detect if F11 fullscreen is on (without using simple WinGetPos), I could know pretty much know if it's Flash full screen or just F11 full screen. Actually, right after I ...