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 

Use "enter" key at the same time in two windows
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 3:08 pm    Post subject: Use "enter" key at the same time in two windows Reply with quote

I'm a new user of Autohotkey and i want if posible a script that do this effect " Use "enter" key in the same time in two different window " without using enter=)alt+tab=)enter ,Thanks for all

[Title edited. Please write descriptive titles for your topics. ~jaco0646]
Back to top
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 3:19 pm    Post subject: Need Script please ^^ Reply with quote

Can someone reply plz,this is really important for me
Back to top
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Fri Mar 27, 2009 3:30 pm    Post subject: Reply with quote

ControlSend is what you are looking for.

http://www.autohotkey.com/docs/commands/ControlSend.htm
_________________
~BigVent
Back to top
View user's profile Send private message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 5:19 pm    Post subject: Need Script please ^^ Reply with quote

I really dont know how to do it... I need Someone who can write the script for me ,i dont think its difficult for an old user of autohotkey ,So please helpp me^^ "how can i use "enter" key in two different programs or windows at the same time?"
Back to top
aCkRiTe



Joined: 21 Jul 2006
Posts: 555

PostPosted: Fri Mar 27, 2009 5:28 pm    Post subject: Re: Need Script please ^^ Reply with quote

Shbayr wrote:
I really dont know how to do it... I need Someone who can write the script for me ,i dont think its difficult for an old user of autohotkey


And neither did the "old users" when they first started, but we had to start somewhere. You will find that most AHK users will be more willing to help you if they see that you have put some effort in yourself to try and solve your own problem or at least post some piece of code.
_________________

HTH...
Back to top
View user's profile Send private message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 5:38 pm    Post subject: Need Script please ^^ Reply with quote

By saying an old user can help =) i mean an advanced used ^^ ,Its my first Use Of Autohotkey Today and i'm really Far far away from writing a script of athotkey, And i'm inneed of this script so i really beg u To help me
Back to top
aCkRiTe



Joined: 21 Jul 2006
Posts: 555

PostPosted: Fri Mar 27, 2009 5:57 pm    Post subject: Reply with quote

I clearly understand what you meant by "old users" and understand that this might be your first day with AHK(and a warm welcome btw), but all Im saying is that you need to start somewhere as did all other users of AHK. This is a good starting point - Quick-start Tutorial

BigVent also suggested a good starting point as well.
_________________

HTH...
Back to top
View user's profile Send private message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 6:26 pm    Post subject: Need Script please ^^ Reply with quote

By posting in your forum i was hoping That someone could help without any problems ,Because i've never use to perform something with autohotkey of something like that ,i'm very primal ,I really need this script before 8pm ,hope i didnt make u Angry :d
Back to top
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 6:48 pm    Post subject: Need Script please ^^ Reply with quote

please i need help ,can someone write the script fo me ,i really need it thx all
Back to top
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Fri Mar 27, 2009 6:53 pm    Post subject: Re: Need Script please ^^ Reply with quote

Shbayr wrote:
please i need help ,can someone write the script fo me ,i really need it thx all


It's hard to write the script for you... firstly, we do not know the windows in which you want to send commands to.

Happy Friday...

Use the spy to gain the window information

Code:
#s::   ;win + s = start script
ControlSend, , abc, Untitled - Notepad  ;Untitled - Notepad = window to send command to
ControlSend, , abc, hey.txt - Notepad ;hey.txt - Notepad = see above
return

#x::ExitApp ;win+x = exit application

_________________
~BigVent
Back to top
View user's profile Send private message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 6:56 pm    Post subject: Need Script please ^^ Reply with quote

Thx a lot for your help man
Back to top
aCkRiTe



Joined: 21 Jul 2006
Posts: 555

PostPosted: Fri Mar 27, 2009 6:59 pm    Post subject: Re: Need Script please ^^ Reply with quote

Shbayr wrote:
please i need help ,can someone write the script fo me ,i really need it thx all


How do you expect someone to just write you a script when you have not provided any information at all! Do you just expect someone to know the window title, control name, classNN, etc.... As I stated earlier, if you put a little effort in yourself, Im sure someone would be more than welcome to help you.
_________________

HTH...
Back to top
View user's profile Send private message
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Fri Mar 27, 2009 7:01 pm    Post subject: Reply with quote

You are welcome.

Also, please read what aCkRiTe suggested. A little effort in here will get you a very LONG way!


aCkRiTe wrote:
This is a good starting point - Quick-start Tutorial

_________________
~BigVent
Back to top
View user's profile Send private message
Shbayr
Guest





PostPosted: Fri Mar 27, 2009 7:09 pm    Post subject: Need Script please ^^ Reply with quote

This Is the information that you need to help me?
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
2007-09-18a kRO Sakexe
ahk_class 2007-09-18a kRO Sakexe

>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen: 807, 551 (less often used)
In Active Window: 599, 485

>>>>>>>>>( Now Under Mouse Cursor )<<<<<<<<

Color: 0xF0F0F0 (Blue=F0 Green=F0 Red=F0)

>>>>>>>>>>( Active Window Position )<<<<<<<<<<
left: 208 top: 66 width: 1030 height: 794

>>>>>>>>>>>( Status Bar Text )<<<<<<<<<<

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<<<

>>>>>>>>>>>( Hidden Window Text )<<<<<<<<<<<

>>>>( TitleMatchMode=slow Visible Text )<<<<

>>>>( TitleMatchMode=slow Hidden Text )<<<<
anyway Could you help me? ^^
Back to top
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Fri Mar 27, 2009 7:12 pm    Post subject: Reply with quote

Shocked
_________________
~BigVent
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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