| View previous topic :: View next topic |
| Author |
Message |
scottjl
Joined: 08 Mar 2010 Posts: 4
|
Posted: Mon Mar 08, 2010 11:10 pm Post subject: Problem installing and running in Windows 7 Pro x64 |
|
|
Hi all,
I'm trying to install AHK on my desktop, the installer runs just fine but when I launch AHK it just doesn't run. If I watch I can see it briefly flash in my system tray but it just starts and stops. It doesn't even make it to the task manager (my refresh isn't high enough I'm sure).
Any ideas? I'd really like to use it. Any way to log the launch so I might see why it's crashing out so quickly?
UAC is disabled too.
Thanks!
Scott |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 4652 Location: AHK Forum
|
|
| Back to top |
|
 |
DeWild1
Joined: 30 Apr 2006 Posts: 358 Location: Shigle Springs
|
Posted: Tue Mar 09, 2010 6:33 pm Post subject: Re: Problem installing and running in Windows 7 Pro x64 |
|
|
| scottjl wrote: | Hi all,
I'm trying to install AHK on my desktop, the installer runs just fine but when I launch AHK it just doesn't run. If I watch I can see it briefly flash in my system tray but it just starts and stops. It doesn't even make it to the task manager (my refresh isn't high enough I'm sure).
Any ideas? I'd really like to use it. Any way to log the launch so I might see why it's crashing out so quickly?
UAC is disabled too.
Thanks!
Scott |
Autohotkek.exe is the back end program.
Make a text file, that has this in it "msgbox, Hello world!" and save it as myfirstscript.ahk then double click it, then read the help file.
Welcome to a whole new world. _________________ CPULOCK.com
virusSWAT.com
Computer Repair Computer Service.com
911PCFIX.com |
|
| Back to top |
|
 |
scottjl
Joined: 08 Mar 2010 Posts: 4
|
Posted: Wed Mar 10, 2010 4:08 am Post subject: |
|
|
Hi, I guess I should have been a little more specific. I've used AHK for a few years now on XP just fine. And I have an AutoHotKey.ahk startup file in My Documents folder (which runs just fine on my netbook's installation). My problem is specific to my desktop system which is running Win 7 Pro x64, so I was wondering if there is any sort of conflict with that version of Windows? AHK installs (and uninstalls) just fine, but when it is launched it just quickly flashes and exits. So it looks like the application is starting and immediately exiting. Actually this happens no matter where I try to launch a .ahk file from, and if I try to launch AHK from a command shell (/f and /ErrorStdOut seem to have no effect either).
I'll add in too, if I launch it with no .ahk file present it will create the sample one in My Documents folder, and quit out as always.
Thanks again for any assistance. |
|
| Back to top |
|
 |
scottjl
Joined: 08 Mar 2010 Posts: 4
|
Posted: Wed Mar 10, 2010 4:12 am Post subject: |
|
|
| Nevermind. I solved the issue. I was running the installer with administrator rights thinking that might solve the issue. It didn't. But when I set compatibility mode on the AHK.exe itself to run as an admin, now it launches and runs just fine. Is this a normal requirement? I didn't see it mentioned anywhere. |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 7293 Location: Australia
|
Posted: Wed Mar 10, 2010 6:37 am Post subject: |
|
|
| Quote: | | Is this a normal requirement? | Short answer: no.
If you've got UAC disabled and you're an admin, turning on that option generally should have no effect. Admin rights should never be necessary merely for the script to run, but when UAC is enabled might be necessary to interact with apps which run as admin, write to secured files, etc. Also, if some other, non-admin process is closing AHK as it opens, running AHK as admin would disallow that... but I guess UAC must be enabled for that to be possible.
I've installed AHK on XP and Vista 32-bit and Windows 7 x64 (beta, RC and RTM), and never had to do anything more than run the installer. Some times I was automatically prompted by UAC (i.e. because I wasn't admin and/or had UAC enabled) to install, but certainly didn't have to change compatibility settings. |
|
| Back to top |
|
 |
scottjl
Joined: 08 Mar 2010 Posts: 4
|
Posted: Wed Mar 10, 2010 2:33 pm Post subject: |
|
|
Hmm. Strange. I do have an admin account and UAC is disabled. I have no issues installing anything else.
Could virus protection be interfering? I have Windows Defender and AntiVir Premium both running.
I've got it running, so I'm happy, but I'd like to try and figure out what is blocking it in the first place. Is there anywhere to see logging? |
|
| Back to top |
|
 |
|