Search found 299 matches

by RickC
20 Dec 2018, 13:34
Forum: Ask for Help (v1)
Topic: Can A Script Do Something Depending On Whether it Finds Something?
Replies: 4
Views: 1469

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 (v1)
Topic: The CPU Loads from all processes Topic is solved
Replies: 6
Views: 1960

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 (v1)
Topic: Regwrite doest work
Replies: 10
Views: 2739

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 (v1)
Topic: Replace list of 'else if' with array from external file?
Replies: 2
Views: 688

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 (v1)
Topic: Replace list of 'else if' with array from external file?
Replies: 2
Views: 688

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: 2476

Re: Show/Hide [spoiler] tags not working

Many thanks, @swagfag, for the workaround.
by RickC
06 Nov 2018, 08:02
Forum: Forum Issues
Topic: Show/Hide [spoiler] tags not working
Replies: 8
Views: 2476

Re: Show/Hide [spoiler] tags not working

Thanks for the confirmation, @gregster.
by RickC
06 Nov 2018, 07:49
Forum: Forum Issues
Topic: Show/Hide [spoiler] tags not working
Replies: 8
Views: 2476

Show/Hide [spoiler] tags not working

For example: https://autohotkey.com/boards/viewtopic ... 445#p12445

I've tried in 4 different browsers/2 devices/2 OS' so the issue is consistent. I use 'Simplicity' as board style.

I guess this is the same issue as with codeboxes?
by RickC
18 Oct 2018, 16:16
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 42692

Re: Feedback: phpBB forum interface switch

Sorry but... I have no interest in finding out how to re-configure my PC or browser or whatever in order to revert from the new 'grey on grey' theme back to what was eminently readable. It's bad enough dealing with my dyslexia and having to re-read and re-read again everything I post so I don't soun...
by RickC
18 Oct 2018, 04:18
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 42692

Re: Feedback: phpBB forum interface switch

3 days now and new 'grey text on grey backgound' theme hasn't yet been switched back to previous eminently readable theme. What the heck is going on?
by RickC
15 Oct 2018, 14:38
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 42692

Re: Feedback: phpBB forum interface switch

Hmmm... grey text on a grey background. Not helpful to these tired old eyes. :(
by RickC
07 Jul 2018, 11:46
Forum: Ask for Help (v1)
Topic: i need a ahk for pressing z fast
Replies: 1
Views: 544

Re: i need a ahk for pressing z fast

Code: Select all

Loop
{
Send z
msgbox I can't be bothered to try working it out myself.
}
by RickC
04 Jun 2018, 10:58
Forum: Ask for Help (v1)
Topic: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch
Replies: 6
Views: 1467

Re: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch

Here's an article by Microsoft Fellow Mark Russinovich about tracking down the cause of a random and unwanted malware process (similar to your scenario), in this case the use of ftp.exe: https://blogs.technet.microsoft.com/markrussinovich/2012/10/28/the-case-of-the-unexplained-ftp-connections/ It ma...
by RickC
03 Jun 2018, 11:23
Forum: Ask for Help (v1)
Topic: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch
Replies: 6
Views: 1467

Re: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch

At least we now know - from the other thread - that you're talking about Windows 10. Your first post shows "The average technician spends 25 minutes tracking down the process that caused IE to launch. Some AV will catch it , some won't, but those scans take time too." (My emphasis) Surely this means...
by RickC
03 Jun 2018, 06:44
Forum: Ask for Help (v1)
Topic: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch
Replies: 6
Views: 1467

Re: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch

So, 1) I wasted my time replying because you didn't provide sufficient information about what you had already tried and 2) you're cross-posting... but you haven't let us know the other forum nor the results, so - once again - we have no idea what's already been suggested.

Best of luck...
by RickC
03 Jun 2018, 06:38
Forum: Ask for Help (v1)
Topic: Autohotkey for Mac
Replies: 28
Views: 164964

Re: Autohotkey for Mac

Unfortunately AutoHotkey cannot be used in macOS . In terms of ease of use vs complexity and capability, have a look at 2 built-in programs - Automator and AppleScript . After the debacle of Windows 10 I'm trying to wean myself off Windows now in favour of macOS (and Linux Mint Cinnamon ) and have j...
by RickC
02 Jun 2018, 20:25
Forum: Ask for Help (v1)
Topic: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch
Replies: 6
Views: 1467

Re: Help Desk Call Center Need Urgent Help Identifying Cause of Process Launch

Instead of Process Explorer , I suggest you use Process Monitor (ProcMon) instead on a test machine. Process Monitor will let you filter on iexplore.exe so you can examine the events immediately preceeding the firing of each new IE process. Just be warned... ProcMon generates a huge amount of info v...
by RickC
29 May 2018, 09:06
Forum: Ask for Help (v1)
Topic: Best practice for a 'SysInfo' script
Replies: 0
Views: 546

Best practice for a 'SysInfo' script

I'm involved in another Windows forum and we are forever asking for the same details, e.g. what SKU (Home/Pro/Enterprise/Education), what build, what bitness, is System Protection enabled, has SMB1 been disabled, is network access private or public, what version of XYZ installed... blah, blah, blah....
by RickC
22 May 2018, 12:08
Forum: Ask for Help (v1)
Topic: Registry changes not being recognised
Replies: 4
Views: 1223

Re: Registry changes not being recognised

After your first RegRead I would add, temporarily, a MsgBox %reg1% to check you have some data.

If the MsgBox doesn't show any data then have a look at the use of SetRegView (for using 32-bit AHK in a 64-bit environment and vice versa).

Hope this helps...
by RickC
17 May 2018, 04:23
Forum: Ask for Help (v1)
Topic: Run script on program startup, and then turn off script on program shutdown
Replies: 2
Views: 853

Re: Run script on program startup, and then turn off script on program shutdown

Do it the other way round, i.e. have the script run the photo editing software then use process, exist to check for when the photo editing software is no longer running to close the script.

Hope this helps...

Go to advanced search