Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through
Buy Me a Coffee or
Ko-fi . Thank you for helping preserve the EventGhost community.
If you have a question or need help, this is the place to be.
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Wed Nov 19, 2014 3:49 am
Hello,
how to send letters directly to the "notepad" without through window Multitap
window Multitap
Can anyone help us for this cause?
thank
jonib
Plugin Developer
Posts: 1328 Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden
Post
by jonib » Wed Nov 19, 2014 4:43 am
Did you try "Emulate keystrokes" action? I'm possibly not understanding what your after.
jonib
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Wed Nov 19, 2014 7:16 am
current operations:
1. enter characters
2. opening the window Multitap
3. press Enter (lose window Multitap)
4. "EventGhost" send characters input "Notepad"
I want to skip 2 - 3
Last edited by
tommylam on Wed Nov 19, 2014 5:08 pm, edited 1 time in total.
jonib
Plugin Developer
Posts: 1328 Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden
Post
by jonib » Wed Nov 19, 2014 7:40 am
tommylam wrote: 1. enter characters
How do you enter characters?
2. opening the window Multitap
3. press Enter (lose window Multitap)
Why do you need Multitap if you don't use it to enter the characters?
I want to skip 2 - 3
You really need to use more words to describe what you are trying to accomplish.
jonib
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Wed Nov 19, 2014 5:13 pm
tommylam wrote: current operations:
1. enter characters
2. opening the window Multitap
3. press Enter (lose window Multitap)
4. "EventGhost" send characters input "Notepad"
I want to skip 2 - 3
I mean want "Multitap" send letters directly to the "notepad" not through the window "Multitap"
Pako
Plugin Developer
Posts: 2294 Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:
Post
by Pako » Wed Nov 19, 2014 6:07 pm
I still do not get it.
Or maybe you're thinking this ?
Multitap-noOSD.jpg (15.44 KiB) Viewed 5273 times
Pako
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Thu Nov 20, 2014 1:30 am
Pako wrote: I still do not get it.
Or maybe you're thinking this ?
Multitap-noOSD.jpg
Pako
current operations:
1. enter characters
2. opening the window Multitap (
hide )
3. press Enter (lose window Multitap)
4. "EventGhost" send characters input "Notepad"
I want to skip 3
Me would like to enter the same as keyboard
thank
krambriw
Plugin Developer
Posts: 2570 Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:
Post
by krambriw » Thu Nov 20, 2014 5:13 am
Try this in a python script
Code: Select all
eg.plugins.Window.FindWindow(u'notepad.exe', None, u'Notepad', u'', u'Edit', 1, False, 0.0, 0)
eg.plugins.Window.BringToFront()
eg.plugins.Window.SendKeys(u'Type this text in Notepad\n', False)
Pako
Plugin Developer
Posts: 2294 Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:
Post
by Pako » Thu Nov 20, 2014 3:00 pm
tommylam wrote: Me would like to enter the same as phone
1) In EventGhost this can not be done without a plugin ( or a complicated script).
2 ) Exactly this is one of the modes Multitap plugin.
3) This plugin does not fit you.
4 ) I do not understand what you actually want.
Pako
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Fri Nov 21, 2014 4:12 am
reason: "Enter" key Multitap coincide with the key "enter" the application
Pako
Plugin Developer
Posts: 2294 Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:
Post
by Pako » Fri Nov 21, 2014 5:32 am
tommylam wrote: reason: "Enter" key Multitap coincide with the key "enter" the application
1 ) Why you are telling it until now ?
2 ) Can you explain it more (The action
Multitap:Enter this does not mean the
Enter key !) ?
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Fri Nov 21, 2014 6:49 am
My file .xml
<Macro Name="Multitap: Enter" Expanded="True">
<Event Name="Event.Enter" />
<Action Name="Multitap: Enter">
Multitap.Enter()
</Action>
</Macro>
<Macro Name="Key: {Enter}" id="152" Expanded="True">
<Event Name="Event.Enter" />
<Action>
Window.SendKeys(u'{Enter}', False)
</Action>
</Macro>
two identical events
Pako
Plugin Developer
Posts: 2294 Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:
Post
by Pako » Fri Nov 21, 2014 7:02 am
In this way, you can not do it ?
<Macro Name="Multitap: Enter" Expanded="True">
<Event Name="Event.SomeOtherEvent" />
<Action Name="Multitap: Enter">
Multitap.Enter()
</Action>
</Macro>
<Macro Name="Key: {Enter}" id="152" Expanded="True">
<Event Name="Event.Enter" />
<Action>
Window.SendKeys(u'{Enter}', False)
</Action>
</Macro>
Another option is to disable (and to enable) individual macros as needed.
tommylam
Posts: 16 Joined: Fri Aug 01, 2014 7:59 am
Post
by tommylam » Fri Nov 21, 2014 8:06 am
hi pako!
code example??
thank pako