Search found 253 matches

by RickC
07 Mar 2019, 13:24
Forum: Ask For Help
Topic: Script to detect if disk is SSD or HDD Topic is solved
Replies: 11
Views: 3777

Re: Script to detect if disk is SSD or HDD Topic is solved

jNizM script for detecting SSD MSFT_PhysicalDisk() { static DiskType := [] static MediaType := { 0: "Unspecified", 3: "HDD", 4: "SDD", 5: "SCM" } try { for objItem in ComObjGet("winmgmts:\root\Microsoft\Windows\Storage").ExecQuery("SELECT * FROM MSFT_PhysicalDisk") { DiskType[A_Index, "FriendlyName...
by RickC
06 Mar 2019, 17:04
Forum: Ask For Help
Topic: Script to detect if disk is SSD or HDD Topic is solved
Replies: 11
Views: 3777

Re: Script to detect if disk is SSD or HDD Topic is solved

Just be a bit careful of WMI queries, commandline (WMIC) or not. I have a Win 7 PC with both an SSD (C:) and an HDD (D:). A WMI query on the Win32_LogicalDisk class in the default root\CIMV2 namespace returns a DriveType of 3 for both drives. According to Microsoft documentation a DriveType 3 just ...
by RickC
06 Mar 2019, 13:47
Forum: Ask For Help
Topic: Script to detect if disk is SSD or HDD Topic is solved
Replies: 11
Views: 3777

Re: Script to detect if disk is SSD or HDD Topic is solved

Just be a bit careful of WMI queries, commandline (WMIC) or not. I have a Win 7 PC with both an SSD (C:) and an HDD (D:). A WMI query on the Win32_LogicalDisk class in the default root\CIMV2 namespace returns a DriveType of 3 for both drives. According to Microsoft documentation a DriveType 3 just m...
by RickC
28 Feb 2019, 10:07
Forum: Ask For Help
Topic: Windows 10 Start button
Replies: 9
Views: 1553

Re: Windows 10 Start button

I see, I think I removed this Task view button somewhere in the options, when I started with Win10 (at least, it is gone now :D ). Perhaps Win10 then re-numbers the buttons... good to know. Or, it's really because of a different version. (I might investigate at a later time...) With Win 10 1803, th...
by RickC
28 Feb 2019, 09:48
Forum: Ask For Help
Topic: Combine PDF using Acrobat
Replies: 6
Views: 2824

Re: Combine PDF using Acrobat

I too use PDFtk in preference to Adobe Acrobat Reader . I built a very simple Source/Destination GUI in AHK to help with the automation: Gui, Add, Text, x25 y10 w170 h20 , Select INPUT folder Gui, Add, Button, x12 y30 w120 h30 , INPUT Gui, Add, Button, x22 y65 w100 h30 , Cancel Gui -SysMenu Gui, Sho...
by RickC
22 Feb 2019, 16:38
Forum: Ask For Help
Topic: Would anyone know if the program "Auto Mouse Click" was written with AutoHotKey?
Replies: 5
Views: 960

Re: Would anyone know if the program "Auto Mouse Click" was written with AutoHotKey?

yeto wrote:
22 Feb 2019, 16:17
Would you know what software was used to write the program?
Sorry but no.

I just pulled the setup.exe (https://www.murgee.com/auto-mouse-click/download/setup.exe) download apart (extracted using 7-Zip) and examined each file for the tell-tale signs of AutoHotkey.
by RickC
22 Feb 2019, 10:55
Forum: Ask For Help
Topic: Would anyone know if the program "Auto Mouse Click" was written with AutoHotKey?
Replies: 5
Views: 960

Re: Would anyone know if the program "Auto Mouse Click" was written with AutoHotKey?

yeto wrote:
22 Feb 2019, 05:59
Would anyone know if the program "Auto Mouse Click" was written with AutoHotKey?

Kind regards,
yeto
No, it's not.
by RickC
12 Feb 2019, 07:24
Forum: Forum Issues
Topic: fix this!!!
Replies: 66
Views: 13266

Re: fix this!!!

I am getting CAPTCHA inside the documentation part of the website, and from search to search, i am now obligated to find traffic lights, signs, shops, and other really stupid things.... Inside the damn documentation! If it wasn't enought to get spammed captcha inside the forum itself, now the docs!...
by RickC
12 Feb 2019, 06:03
Forum: Forum Issues
Topic: fix this!!!
Replies: 66
Views: 13266

Re: fix this!!!

nnnik wrote:
12 Feb 2019, 05:03
It will go from your outbox to sent messages once the recipent received it - as in when the other person read it.
Ahh... that explains it! Many thanks for the explanation, nnnik. I'm more used to vBulletin boards where sent PMs show in the 'Sent' folder immediately.
by RickC
12 Feb 2019, 04:37
Forum: Forum Issues
Topic: fix this!!!
Replies: 66
Views: 13266

Re: fix this!!!

Two days after emailing my IP address as suggested... and still Captcha's. What's going on? I said PM me not send an email. Dunno who your emailing ROFL... apologies, I meant PM, not email. But I can't see the PM in my 'Sent messages' anyway? I'll send it again. EDIT: It's just done it again... now...
by RickC
09 Feb 2019, 09:52
Forum: Forum Issues
Topic: fix this!!!
Replies: 66
Views: 13266

Re: fix this!!!

Two days after emailing my IP address as suggested... and still Captcha's. What's going on?
by RickC
07 Feb 2019, 11:32
Forum: Forum Issues
Topic: fix this!!!
Replies: 66
Views: 13266

Re: fix this!!!

I'm also getting the same Cloudflare Captcha as in the first post. Fine, I confirmed I'm not a robot... so why does it re-appear when I'm navigating the site? So annoying...
by RickC
03 Jan 2019, 03:58
Forum: Ask For Help
Topic: I can't remove AutoHotkey.exe off of my computer? Topic is solved
Replies: 17
Views: 3272

Re: I can't remove AutoHotkey.exe off of my computer? Topic is solved

It's being run from a non-standard startup location so something else must be calling it. Try using Sysinternals/TechNet's Autoruns ( https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns ) to identify how it's being called. Autoruns will also let you disable and/or delete how it's being ...
by RickC
21 Dec 2018, 11:45
Forum: Ask For Help
Topic: How to make a script use the proxy settings that Internet Explorer uses? Topic is solved
Replies: 2
Views: 943

Re: How to make a script use the proxy settings that Internet Explorer uses? Topic is solved

You don't need to. The Windows OS uses IE's 'Internet Options' as a GUI to the proxy settings (stored within the Windows registry) and all apps/scripts use those settings automatically. Do you mean you want to create a script to change the proxy settings instead of using IE's 'Internet Options'? For...
by RickC
20 Dec 2018, 13:34
Forum: Ask For Help
Topic: Can A Script Do Something Depending On Whether it Finds Something?
Replies: 4
Views: 1069

Re: Can A Script Do Something Depending On Whether it Finds Something?

Look in the Commands documentation (https://autohotkey.com/docs/commands/index.htm) for both If and Else for explanations and examples of program flow.
by RickC
19 Nov 2018, 20:48
Forum: Ask For Help
Topic: The CPU Loads from all processes Topic is solved
Replies: 6
Views: 1341

Re: The CPU Loads from all processes Topic is solved

Here's a code snippet I use with Win 7/Win 10, utilising PowerShell wrapped in AHK : SetWorkingDir %A_ScriptDir% psScript = ( Get-Process | sort CPU -descending | Format-Table ProcessName, cpu -AutoSize | Out-File %A_ScriptDir%\processes-sorted-by-cpu-usage.txt ) RunWait PowerShell.exe -Command %psS...
by RickC
16 Nov 2018, 06:42
Forum: Ask For Help
Topic: Regwrite doest work
Replies: 10
Views: 2123

Re: Regwrite doest work

You'll need to run your script with elevated rights to be able to write to HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System because of inbuilt security (otherwise any old script could wreak havoc system-wide). For example, include the following at the top of your script:...
by RickC
15 Nov 2018, 10:39
Forum: Ask For Help
Topic: Replace list of 'else if' with array from external file?
Replies: 2
Views: 621

Re: Replace list of 'else if' with array from external file?

@awel20 - Many thanks for your reply. GuiControl, Focus, Button1 just before Gui, Show did the trick! I've never used GuiControl, Focus before so that was a lesson well learned. As for parsing a text file, I thought it could be done... and will be much easier to maintain as new updates are released....
by RickC
15 Nov 2018, 08:56
Forum: Ask For Help
Topic: Replace list of 'else if' with array from external file?
Replies: 2
Views: 621

Replace list of 'else if' with array from external file?

I've created a script to replace Win 10's winver command, specifically the info shown at a and b in this old screenshot: http://i67.tinypic.com/1r43g4.png It's very simple and just pops a more compact GUI with the same info. I've also added 2 links to it - one to MS' Version info and the other (more...
by RickC
06 Nov 2018, 08:48
Forum: Forum Issues
Topic: Show/Hide [spoiler] tags not working
Replies: 8
Views: 2091

Re: Show/Hide [spoiler] tags not working

Many thanks, @swagfag, for the workaround.

Go to advanced search