Method to check if file changed?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
KilliK
Posts: 255
Joined: 10 Mar 2016, 21:19

Method to check if file changed?

24 Dec 2018, 14:17

Hello.

I have created some registry tweaks in Windows 10 for the Chrome browser. Unfortunately, whenever the browser updates those registry tweaks get lost and I need to re-add them. I was thinking of having AHK to automatically re-apply them after Chrome updates.

My question is if there is some method which will keep checking all the time if Chrome's chrome.exe file has changed. I need it to be as less cpu intensive as possible (avoid file check repetition with settimer, etc).

any ideas?
User avatar
lmstearn
Posts: 694
Joined: 11 Aug 2016, 02:32
Contact:

Re: Method to check if file changed?

25 Dec 2018, 08:05

Chrome won't update until it's restarted, so the most straight forward approach is to set up a "batch" styled script to launch the browser, followed by the (re-)application of the reg. edits from the same script a few seconds later.
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 87 guests