Search found 253 matches

by RickC
14 Jan 2015, 04:40
Forum: Ask For Help
Topic: Ribbon menus
Replies: 4
Views: 2796

Re: Ribbon menus

I've always found that ribbon menus appear to operate faster when I turn off Windows' UI effects and transitions. For example, in Windows 7: Start > Control Panel > System > Advanced system settings > Advanced (tab) > Performance (area) > Settings > Visual effects (tab)... either choose 'Custom' and...
by RickC
14 Jan 2015, 04:19
Forum: Ask For Help
Topic: Windows speech recognition activation keys - how to
Replies: 21
Views: 6843

Re: Windows speech recognition activation keys - how to

I'm a bit confused about the direction this post has taken. I thought, from the original post, that the problem was how to activate Windows Speech Recognition (WSR) using an AHK hotkey: Now this should be a simple process, but in order to activate and deactive the speech engine with keys (Firefox is...
by RickC
13 Jan 2015, 01:33
Forum: Ask For Help
Topic: Windows speech recognition activation keys - how to
Replies: 21
Views: 6843

Re: Windows speech recognition activation keys - how to

I use the following to start Win 7's Speech Recognition using CTRL+Win:

Code: Select all

^LWin::Run, "C:\Windows\Speech\Common\sapisvr.exe" -SpeechUX -Startup
Hope this helps...
by RickC
01 Dec 2014, 05:45
Forum: Ask For Help
Topic: Trying to create a REG file
Replies: 4
Views: 1176

Re: Trying to create a REG file

Perfect! Absolutely perfect... thank you so much. :D
by RickC
01 Dec 2014, 04:05
Forum: Ask For Help
Topic: Trying to create a REG file
Replies: 4
Views: 1176

Re: Trying to create a REG file

Hi Garry, Many thanks for taking a look at it. Your amendments create the full REG file but with a malformed GUID, e.g.: {366729EB-93F6-4412-8827-90002B096E6D}366729EB-93F6-4412-8827-90002B096E6D} I can see the StringSplit and Loop but can't work out why the duplication is happening on re-assembly o...
by RickC
30 Nov 2014, 20:00
Forum: Ask For Help
Topic: Trying to create a REG file
Replies: 4
Views: 1176

Trying to create a REG file

I'm trying to create a REG file (so I can add my favourite utilities as Control Panel applets) and I've run into an issue I don't understand. When I use a test GUID (i.e. with line 3 un-commented) then the REG file is created fine. However, when I comment out line 3 and, instead, un-comment line 2 i...
by RickC
14 Nov 2014, 12:33
Forum: Ask For Help
Topic: Ping Function like autoitscript
Replies: 17
Views: 6426

Re: Ping Function like autoitscript

@Bkid - You're quite right. The code I suggested can be implemented as a much shorter function. However, I was trying to show BankSea a documented example of what he/she was trying to achieve so he/she could perhaps learn what was going on behind the scenes instead of having a solution just presente...
by RickC
14 Nov 2014, 12:24
Forum: Ask For Help
Topic: Ping Function like autoitscript
Replies: 17
Views: 6426

Re: Ping Function like autoitscript

Try amending this to your liking using 'MyVar' as your input variable. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases SendMode Input ; Recommended for new scripts due to its superior speed and reliability SetWorkingDir %A_ScriptDir% ; Ensures a consistent star...
by RickC
14 Nov 2014, 11:58
Forum: Ask For Help
Topic: Ping Function like autoitscript
Replies: 17
Views: 6426

Re: Ping Function like autoitscript

Ummm... if, for example, your router has an IP address of 10.20.24.1 then just amend the script as follows: strComputer := "." strDest := 10.20.24.1 objWMIService := ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\" . strComputer . "\root\cimv2") colPings := objWMIService.ExecQuery("Select * ...
by RickC
14 Nov 2014, 09:46
Forum: Ask For Help
Topic: Ping Function like autoitscript
Replies: 17
Views: 6426

Re: Ping Function like autoitscript

Use WMI? strComputer := "." objWMIService := ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\" . strComputer . "\root\cimv2") colPings := objWMIService.ExecQuery("Select * From Win32_PingStatus where Address = 'www.google.com'")._NewEnum ;or ip address like 192.168.1.1 While colPings[objStatu...
by RickC
15 Jul 2014, 12:41
Forum: Ask For Help
Topic: Determine if connecte to internet
Replies: 8
Views: 2486

Re: Determine if connecte to internet

Will these say "offline" if only connected to router, (but the router is not connected to the internet)? Yes... they'll say 'offline' or 'disconnected' because the ping method won't get an echo from the external URL (or IP) and WinInet won't be able to find a WAN address. (I think WinInet looks for...
by RickC
15 Jul 2014, 08:57
Forum: Ask For Help
Topic: Determine if connecte to internet
Replies: 8
Views: 2486

Re: Determine if connecte to internet

Is this easier? If ConnectedToInternet() Msgbox, 64, WinInet.dll, ONLINE! else Msgbox, 48, WinInet.dll, OFFLINE! Return ; Function: ConnectedToInternet(flag=0x40) { Return DllCall("Wininet.dll\InternetGetConnectedState", "Str", flag,"Int",0) } Alternatively, if you wanted to use a ping method: strCo...
by RickC
27 Oct 2013, 08:42
Forum: Ask For Help
Topic: cannot run .bat file through AHK
Replies: 22
Views: 20464

Re: cannot run .bat file through AHK

Guest 10... what happens if you compile the BAT file and then use AHK to run the resulting executable?

Go to advanced search