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 

Send command doesn't work

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





PostPosted: Mon May 17, 2004 7:37 pm    Post subject: Send command doesn't work Reply with quote

Hello

I have a problem with the send command.

When I type "send, exit{enter}",
the only thing which is shown on the screen is Euro-symbol.
the {enter}command isn't followed, too. (the cursor keeps beeing in the same line)
If I use for example {ASC 88} it works and theletter is shown.

I have a germen windows xp home edition, a german key-board and well I think a german Englisch Wink (I hope you can understand it Rolling Eyes )

Might the german windows not be able to communikate corectlie with autohotkey?

PS: I want to use the exit{enter} to close a cmd window

Sorry for my bad englisch and I hope somebody can help me
Back to top
NEMOEGOSUm
Guest





PostPosted: Mon May 17, 2004 7:46 pm    Post subject: Reply with quote

Just to correct some off my mistakes Embarassed

Might the german windows not be able to communicate correctly with autohotkey?
[/b]
Back to top
PenP



Joined: 14 May 2004
Posts: 10
Location: The Netherlands

PostPosted: Mon May 17, 2004 9:23 pm    Post subject: Reply with quote

You have to be sure that the window that your sending the command to is active!
Maybe this will work,

Code:
WinActivate, C:\WINDOWS\System32\cmd.exe,
Send, exit{enter}


Grtz, PenP
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Mon May 17, 2004 9:25 pm    Post subject: Reply with quote

Perhaps you could post the part of the script that has the problem.

I'm not sure why it would fail to work. The following is an example that works in Windows 98:

run, %comspec%
WinWait, MS-DOS
WinActivate
send, exit{enter}
return
Back to top
View user's profile Send private message Send e-mail
NemoEgoSum
Guest





PostPosted: Tue May 18, 2004 11:31 am    Post subject: Reply with quote

I tested a few script, and it worked in every other script.
So I'm searchingmy script for errors.

thx for your help

If I'll find the rison of this problem I'll post it
Back to top
Guest






PostPosted: Tue May 18, 2004 11:35 am    Post subject: Reply with quote

It seems that it was a Problem of my windows.
I tested it with the same source again and now (after a reboot) it works.
Mad

Smile
Back to top
Soldier3570



Joined: 30 Aug 2006
Posts: 10

PostPosted: Mon Sep 18, 2006 7:13 am    Post subject: Reply with quote

also when you type in enter make sure they are caps {ENTER} for some reason my computer can only identify these type of commands only under caps
e.g. {SHIFTUP}{SHIFTDOWN}{ENTER}{SPACE}{ALTDOWN}{ALTUP}
_________________
Soldier3570
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