Have just updated to V7.0.7 via Help\Check for Updates, and now find My Autohotkey (AH) shortcuts no longer work when inputting dates or text, although I can enter them manually, just not via AH!
AH is sending the text ok, as It is received ok by Notepad, so any ideas why it isn't received by FH?
Any AH text that I enter into Notepad, can be copied and pasted from there into FH, but I can't get AH to paste it directly into FH!
Some of my shortcuts are shown below
^4::
Send, 7 Jun 1841
return
^5::
Send, 30 Mar 1851
return
^6::
Send, 7 Apr 1861
return
* Autohotkey not working in V7.0.7
Autohotkey not working in V7.0.7
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
- jimlad68
- Megastar
- Posts: 921
- Joined: 18 May 2014 21:01
- Family Historian: V7
- Location: Sheffield, Yorkshire, UK (but from Lancashire)
- Contact:
Re: Autohotkey not working in V7.0.7
Just tested all mine and they work fine, and that includes
+NumpadEnter::Send, {Enter}=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-={Enter}
and
#7::
Send, s{Left}{Up 7}{enter}^D
!{space}x
Return
+NumpadEnter::Send, {Enter}=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-={Enter}
and
#7::
Send, s{Left}{Up 7}{enter}^D
!{space}x
Return
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
Re: Autohotkey not working in V7.0.7
Thanks Jim.
Your reply and something I read in new features, prompted me to restart FH, et voila, they now work again
Your reply and something I read in new features, prompted me to restart FH, et voila, they now work again
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Re: Autohotkey not working in V7.0.7 [Solved]
According to Ros at CP, when FH restarts during upgrade, it does so in Admin mode, and it could have been that causing the problem.
My restart opened it in normal mode, hence Autohotkey acted as it usually does!
Thanks Ros
My restart opened it in normal mode, hence Autohotkey acted as it usually does!
Thanks Ros
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
- jimlad68
- Megastar
- Posts: 921
- Joined: 18 May 2014 21:01
- Family Historian: V7
- Location: Sheffield, Yorkshire, UK (but from Lancashire)
- Contact:
Re: Autohotkey not working in V7.0.7
For info I have found that for some programs, standard autohotkey (AHK) does not work; e.g. everything search and ultrasearch, possibly because they themselves need to run as admin. This would concur with "According to Ros at CP, when FH restarts during upgrade, it does so in Admin mode". I think this is only a problem on later versions of Windows, extra security etc. So the only option is to run your AHK script as Admin. I include this in my script:
see this for discussion, note that for me not all options worked, but the above does
https://www.autohotkey.com/boards/viewtopic.php?t=21278
see post 01 Oct 2018, 12:11 by DRocks
Code: Select all
if not A_IsAdmin
Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%"
https://www.autohotkey.com/boards/viewtopic.php?t=21278
see post 01 Oct 2018, 12:11 by DRocks
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68
Re: Autohotkey not working in V7.0.7
Thanks Jim, I’ll bear that in mind for the future, in case it happens again in another program.
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com