AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AHK executable wont load the program

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Marco Brazil
Guest





PostPosted: Sun Nov 22, 2009 5:52 pm    Post subject: AHK executable wont load the program Reply with quote

It's that simple:

I click the shortcut or even the autohotkey.exe file and it wont load the program.

In fact it loads but instantly closes in less than a split second.

I've have all UAC off and run as admin, nothing seems to work.

Have uninstalled several times, even tried rolled back on the registry to what it was 2 days ago, and nothing.

Using windows 7 x64 fully updated.

Anyone help?
Back to top
MasterFocus



Joined: 08 Apr 2009
Posts: 882
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Sun Nov 22, 2009 6:25 pm    Post subject: Reply with quote

* English *
AHK executable is the interpreter for any .ahk files you wish to run. The interpreter itself does nothing. In fact, you can call Autohotkey.exe and pass a script as a parameter. That will work.

* PT-BR *
O executável é um interpretador pra você rodar os arquivos .ahk. Não existe interface pro interpretador: se você executá-lo sozinho, ele não faz nada. O interpretador é automaticamente executado quando você clica duas vezes em um script (.ahk). Você também pode executar o interpretador através de linha de comando e passar pra ele um script como parâmetro.
_________________
Antonio França
aka MasterFocus aka Tunis
+ My AHK stuff: ~MasterFocus
+ AHK @ irc.freenode.net: #ahk
Contact: PM only !
Back to top
View user's profile Send private message
Marco Brazil
Guest





PostPosted: Sun Nov 22, 2009 7:51 pm    Post subject: Reply with quote

Thanks for the reply.

I've been using AHK for around 3 years or so, and as far as i know there was a tray icon where you were allowed to pause, end and edit scripts.


What's happening to me is: I try to load a scrit or the program and it instantly shutts off.

It simply doesnt show me a task on the task manager, it's like the program loaded and instantly crashed.

I appreciate the help.

-------------------------------

PT-BR

Eu uso AHK por uns três anos, e pelo que que eu lembro tinha um icone na barra do lado direito onde voce executava o programa e podia, clicando no icone, pausar, editar e encerrar scripts.
O que está acontecendo é: eu tento abrir o scrit ou até mesmo o programa pra acessar a interface de edição e ele fecha sozinho instantaneamente.
Simplesmente não aparece o serviço ou tarefa no gerenciador, é como se o programa abrisse e instantaneamente fechasse sozinho.

Obrigado pela ajuda.
Back to top
MasterFocus



Joined: 08 Apr 2009
Posts: 882
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Sun Nov 22, 2009 8:45 pm    Post subject: Reply with quote

Can be caused by the lack of hotstring/hotkeys/#Persistent in your script. PYC

===============

Pode ser que você esteja tentando executar um script que não contenha hotkeys, hotstring, GUI (janela) ou a diretiva #Persistent que é necessária às vezes. Fica mais fácil de descobrir se você postar o código. Não esqueça de usar a tag Code quando for postar.
_________________
Antonio França
aka MasterFocus aka Tunis
+ My AHK stuff: ~MasterFocus
+ AHK @ irc.freenode.net: #ahk
Contact: PM only !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group