I can't find in the Tutorial how to start my AHk definitions automatically. I put a file.ahk with some scripts in Windows Startup in All Programs, but it doesn't work. I have Windows 7. Can anybody tell me what to do?
Thanks
How to start my AHk definitions automatically
Re: How to start my AHk definitions automatically
Assuming UAC is the culprit, you'll have to create a special shortcut to bypass UAC for your script. You can try following the guide in this page: http://www.technorms.com/253/create-sho ... -uac-check
Re: How to start my AHk definitions automatically
Thank you for your reaction. I put the ahk file in the taskscheduler to run when I start Windows. It is there but it mentions something as "couldn't run this because user is not connected to internet." Did I anything wrong?
Isn't there a more simple way to start the AHk définitions?
Isn't there a more simple way to start the AHk définitions?
Re: How to start my AHk definitions automatically
I just use the Startup directory in the Start Menu and it works fine. UAC privileges should not be necessary.
Something might be disabled to prevent this happening. To verify, press Windows+R and type "msconfig.exe". In the window that opens, go to the Startup tab and check to see if all the boxes are checked. Otherwise I don't know what's happening.
Something might be disabled to prevent this happening. To verify, press Windows+R and type "msconfig.exe". In the window that opens, go to the Startup tab and check to see if all the boxes are checked. Otherwise I don't know what's happening.
- tomoe_uehara
- Posts: 213
- Joined: 05 Oct 2013, 12:37
- Contact:
Re: How to start my AHk definitions automatically
Running an AHK script doesn't require the user to connect to the internet
Re: How to start my AHk definitions automatically
I checked the Startup Tab, it's allright.
That's what I thought it doesn't need internet, but the remark is there.
That's what I thought it doesn't need internet, but the remark is there.
- tomoe_uehara
- Posts: 213
- Joined: 05 Oct 2013, 12:37
- Contact:
Re: How to start my AHk definitions automatically
Maybe it's the script that does the internet check, you can inspect the script manually.
Re: How to start my AHk definitions automatically
I suppose it can't be the script. There are only some emailadresses which I use frequently. Lik this:
#m::
send email@test.nl
return
#m::
send email@test.nl
return
Re: How to start my AHk definitions automatically
@Colombe: I can't fix your original problem, but I thought I'd mention that if your hotkey is only one line long, you can do it like this:
This can be quite handy if you have a lot of them.
Code: Select all
#m::Send, email@example.net
Re: How to start my AHk definitions automatically
I use windows 7 i put a shortcut (not the actual .ahk file) in my startup directory and it runs on startup fine.
make sure you are using the correct startup folder. press windows key + r and type %appdata% (with the percentage signs) then go to the folder Microsoft -> Windows -> Start Menu -> Programs -> Startup and copy the shortcut there.
make sure you are using the correct startup folder. press windows key + r and type %appdata% (with the percentage signs) then go to the folder Microsoft -> Windows -> Start Menu -> Programs -> Startup and copy the shortcut there.
Re: How to start my AHk definitions automatically
I've got the same problem but macro runs and wait till i press F3.. i want to macro run on time without my attention.
Re: How to start my AHk definitions automatically
You could try converting ahk to exe...Sergey wrote:I've got the same problem but macro runs and wait till i press F3.. i want to macro run on time without my attention.
Everything is possible!
Re: How to start my AHk definitions automatically
put ahk script's shortcut / link here
see A_VARIABLES, start folder with doubleclick
http://ahkscript.org/boards/viewtopic.php?f=6&t=6480
Code: Select all
a=%a_startupcommon%
run,%a%
return
http://ahkscript.org/boards/viewtopic.php?f=6&t=6480