Sending keystrokes to clients
I've been using the UNIX command to send keystrokes to client machines to get various things done. Although I'm sure there are more efficient ways of doing this, what would be the correct syntax for using modifier keys, etc? For example, if I want to send a keystroke with "command+Q" or something like that? Thanks.
To quit a specific app:
osascript -e 'tell application "Safari" to quit'
To quit the front most app (and any subsequent apps; just keep resending the command):
osascript -e 'tell application "System Events"' -e 'keystroke "q" using command down' -e 'end tell'
To bring an app to the foreground:
osascript -e 'tell application "Safari" to activate'
Similar Messages
-
Send XML to client: message box
Hi,
In a BPM workflow I'm putting together, I need to open a message box for information
(title, message, OK button). In the documentation, I found that I should send
an XML document to a client that looks like this:
<message-box title="title" style="information" options="ok">
<actionid>"1013679664318"</actionid>
</message-box>
Which I did: I added a "Send XML to client" action in the "True" part of a decision
node with a message-box element and its attributes, and actionid as a nested element.
When I trigger the workflow, it goes through all the expected steps but the window
does not pop up at all. I could not find the reason why anywhere. So has anyone
experienced the same problem ? If yes, how did you solve it ?
Cheers,
YannHi Sudhar.
I don't think your workflow will execute the next node before you mark the current
node as done. Conseqently setting the done in the decision box isn't possible.
Giora
"Sudhar" <[email protected]> wrote:
>
After I do the Send XML to Client from the exeucte tab of an action...instead
of
marking the task as done on the call back actions...i try to mark the
same task
as done in the next task after a decision box....it doesnt seem to work?
any ideas? should you always mark a task as done on the same task? -
Struggling with Send XML to client
Hi,
I am using WL Process Integrator 2.1 with WL 6.1.
I am trying to do do an example of the "Client Call Addin Response DTD" i.e. pass
an XML document to an external java
program.
As given in docs :
http://e-docs.bea.com/wli/docs70/devclient/appa.htm#1120726
1. I have created a template definition
2. Defined a XML doc. (as per the Client Callin Request DTD) and attached to ActionSendXMLToClient
event as shown below.
<call-addin name="mywlpi.addinimpl" mode="async">
<actionid>959395846210</actionid>
<parm>itemNumber</parm>
</call-addin>
3. "mywlpi.addinimpl" is a java program I created
4. Now, the problem I run into is when I run from Worklist (Swing client program),
it errors out saying it cannot find this
class file:
ClassNotFoundException: mywlpi.AddInImpl
java.lang.ClassNotFoundException: mywlpi.AddInImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
5. I have included the class file in a .jar and included in the
SVRCP of startWebLogic.cmd file. Also, when I create a Business
Operation from Studio, I can locate this Java class. So, I am
not sure what is missing. The strange part is when I run from the
Worklist JSP page, it errors out saying :
"Cannot execute this task, because it is already done." The task
is not yet done.
Is there someone who can help me here? Any suggestions
appreciated!!
Thanks,
SLNHi Sudhar.
I don't think your workflow will execute the next node before you mark the current
node as done. Conseqently setting the done in the decision box isn't possible.
Giora
"Sudhar" <[email protected]> wrote:
>
After I do the Send XML to Client from the exeucte tab of an action...instead
of
marking the task as done on the call back actions...i try to mark the
same task
as done in the next task after a decision box....it doesnt seem to work?
any ideas? should you always mark a task as done on the same task? -
Unable to send keystrokes and Mouse strokes in during WinPE phase with iDRAC7
Primary Site running SCCM 2012 R2
Unable to send keystrokes and Mouse strokes in during WinPE phase. The system is awaiting response "password" on Task Sequence step however the machine won't accept keyboard and mouse inputs. This happens with iDRAC7 Version1.0.
Trying to image Dell servers with SCCM 2012 R2. The desktops work fine and able to image.Download and install iDRAC7 firmware to revision 1.57.57 or later.
-
Sending message across clients
Hello,
wanted to know how to send message across clients. Suppose I have 2 XI servers : one is XI other is PI. I want to send message from PI to XI. how will we configure this scenario? what adapters will be used and what is the message flow ?
Thank you.Hi,
Check my thread it may be helpful
XI adapter
Regards,
Prakash -
Jsp worklist in 7.02 - send xml to client
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task list application.
Thanks, HalA co-worker of mine got the sendxmlclient to work with the worklist web
application. It works the same way it does for the swing tasklist
application, it just wasn't in the documentation that I could find. I must
have missed a step the first time I tried it. Anyway, it appears to work.
Maybe the query.jsp you mention that the docs refer to should actually be
the setvariables.jsp.
Hal
"Alex Thomas" <[email protected]> wrote in message
news:[email protected]..
My guess is that it's not quite there yet. As you say, message.jsp isthere
and the docs(http://e-docs.bea.com/wli/docs70/devclient/intro.htm#1052730)
refer to a query.jsp but it isn't in 7.02. We're currently using the
lightweight client sample for an equivalent mechanism but can't really
recommend this as it's deprecated and disappearing in 8.1
cheers
Alex
On Fri, 28 Mar 2003 18:22:12 -0500, "Hal Deadman" <[email protected]>
wrote:
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear
about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task listapplication.
>>
Thanks, Hal -
BPM Studio Task Send XML to Client Actions
After I do the Send XML to Client from the exeucte tab of an action...instead of
marking the task as done on the call back actions...i try to mark the same task
as done in the next task after a decision box....it doesnt seem to work?
any ideas? should you always mark a task as done on the same task?Hi Sudhar.
I don't think your workflow will execute the next node before you mark the current
node as done. Conseqently setting the done in the decision box isn't possible.
Giora
"Sudhar" <[email protected]> wrote:
>
After I do the Send XML to Client from the exeucte tab of an action...instead
of
marking the task as done on the call back actions...i try to mark the
same task
as done in the next task after a decision box....it doesnt seem to work?
any ideas? should you always mark a task as done on the same task? -
Worklist send-xml-to-client functionality
Hi there
Quick question on wli 8.1. I have made extensive use in the past of the
send xml to client business operation in WLI 7. Is there any sort of
equivalent/how would this be achieved. Does the new worklist actually
support this kind of functionality?
RegardsA co-worker of mine got the sendxmlclient to work with the worklist web
application. It works the same way it does for the swing tasklist
application, it just wasn't in the documentation that I could find. I must
have missed a step the first time I tried it. Anyway, it appears to work.
Maybe the query.jsp you mention that the docs refer to should actually be
the setvariables.jsp.
Hal
"Alex Thomas" <[email protected]> wrote in message
news:[email protected]..
My guess is that it's not quite there yet. As you say, message.jsp isthere
and the docs(http://e-docs.bea.com/wli/docs70/devclient/intro.htm#1052730)
refer to a query.jsp but it isn't in 7.02. We're currently using the
lightweight client sample for an equivalent mechanism but can't really
recommend this as it's deprecated and disappearing in 8.1
cheers
Alex
On Fri, 28 Mar 2003 18:22:12 -0500, "Hal Deadman" <[email protected]>
wrote:
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear
about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task listapplication.
>>
Thanks, Hal -
Send XML to Client: call-program cannot pass ampersand in parameter
In WLI Studio, I have tried to use the action "Send XML to Client" with
following information:
<call-program mode="async" name="IEXPLORE.EXE">
<actionid>1027425345078</actionid>
<parm>http://pttserver:7001/pttWebApp/Test.jsp?First=a&Second=b&Third=c</par
m>
</call-program>
The problem is that the ampersand (&) of call-program parameter will always
shift three character right on any program (e.g., IE, Notepad, etc.).
From the above example, IE can be called correctly, but its parameter -- a
string
"http://pttserver:7001/pttWebApp/Test.jsp?First=a&Second=b&Third=c", will be
passed as
"http://pttserver:7001/pttWebApp/Test.jsp?First=aSec&ond=bThi&rd=c".
I have also tried to use the string "&" instead of an ampersand, and the
parameter was passed as
"http://pttserver:7001/pttWebApp/Test.jsp?First=aamp&;Second=bamp&;Third=c".
What should be used in order to pass the ampersand character correctly?
If it is a bug, can any one suggest the workaround?
Thankyou in advance,
Suwanee SuwanapongIf you think you're encountering URL length issues make sure you are using POST and not GET, although it looks like there may be additional issues: http://www.javaworld.com/community/node/2307
-
I need a fillable form that I can send to my clients and have them fill out and return via e-mail
I need a fillable form that I can send to my clients, have them fill it out and return via e-mail
Hi,
You can save your form as a submission-enabled PDF form, send the PDF form to your clients and ask them not to submit the data using the submit button in the form but send you the PDF form after they fill it out. "Save Submission-Enabled PDF" button can be found in the Distribute tab of the form.
Thanks,
Wenlan -
How to send keystrok thru program
hi,
can anyone tell me, how to send keystroke event to my application programatically. I have to send 'F1' key event.
thanks in advance
debashis royReply 10 of this thread shows you how to send a Ctrl-F1 Keystroke to a component.
http://forum.java.sun.com/thread.jsp?forum=31&thread=224581
To just send F1 to the component I think you just replace "KeyEvent.CTRL_MASK" with 0. -
Sending keystrokes with keys held down
Hello,
I am trying to develop a program which will allow me to send keystrokes to another application (possibly not Java) based on a programmatically produced script. Similar to a macro program.
Ideally, I would like to be able to send keystroke combinations including periods where 1 or more keys are held down (other than normal control keys such as SHIFT and ALT). For example, I would like to be able to send keystrokes to another program to mimic this script:
KEY "a": hold down for 10 seconds, do nothing for 5 seconds, tap once.
KEY "b": do nothing for 12 seconds, tap, wait one second, tap, tap.
KEY "c": hold down for 5 seconds, pause 10, hold down for 5 seconds
Key "d": pause 5 seconds, hold down for 10 seconds, pause for 5
etc
...where each key's script is run simultaneously, ie, the 3rd second of the script will see key "a" being held down, and key "c" held down. The 12th second will see the "b" key tapped once while the "d" key was held down.
My intention is to use such a program to drive others which use the keyboard for input, but not as typed keys, but rather as buttons.
Does anyone have any ideas on how this could be done?I'm not sure, but could the Robot class work for you?
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html -
MultiClient servers: Send to all clients and only certain ones?
I've got Multiclient servers down as far as the Sun Java tutorials go, but I'm having some trouble figuring out how to be able to have the server be able to send to both all clients listening, and be able to send to a certain client, identifiable by some name (I'm guessing by IP address or something). My main problems:
I don't really know how to identify the threads.
I can't seem to think of a way to be able to send to every client, or to send to one client.
I don't really need any long code blocks, just an overview of the process and maybe steps.Every time a client 'logs on' you create a new instance of your client handler which holds the socket information etc. Maintain a map in the main server that maps user names to the client handlers and add a client handler to the map as it is created. To sent a message to all, send to all client handlers registered in the map. To send a message to one, lookup the associated client handler in the map and sent the message to that client.
-
I m having the ip address of client machine in admin panel.
when ever the admin clicks on admin it will send pop to client.
how can i do this using javascript.softprb wrote:
Hi gimbal2,
Thanks for your reply. I just want to know how to open a popup screen at client side automatically from the server side during a reply given by a logged-in user in a chat program.By this type of answer, I think it's safe to assume you have not written any code yet. And since you are already worrying about such details, I think it's also safe to assume you have very little experience with programming, and/or Java.
I therefore recommend you do some basic tutorials instead of writing a chat-client, which is no trivial task! Of course, if my assumptions are incorrect, feel free to ask a specific question. Note that a specific question is not "how do I make a pop-up" or "where do I start building a chat application".
Good luck. -
i had free adobe reader and i scanned a doc to send to a client and as of last night i could not send as an attachment thru my email. So I paid for the 89.99 year adobe pkg and it still wont let me email a scanned and saved doc. it says 'an unknown error occurred'?
What exactly means "could not"?
And what Adobe product/service did you pay for?
Maybe you are looking for
-
Search report - error-no data found when printing to csv format
Hi all, I have a search report, I have 4 select list and two text field and two date field to search for the result. I have even put the computation for the select list items in on load - before header ie setting the items to default value. Still whe
-
Send email with microsoft word attachment
Hi, I need to send the microsoft word as an attachment to external email. When I send an email using transaction SBWP to external email, the recipient will receive the attachment in Microsoft word format. But when I send the attachment to external
-
hello, I need to modify a dunnig letter, how can i make that posible. I searched for the name but i never found it. By the way do the dunnniig use smartforms or sapscripts. Any step by step will be great help. thanks.
-
Still no crossfade in Director 11
In more than ten years have the creators of Director not been able to provide a decent crossfade transition. It is hard to believe that even in Director 11 the transitions panel has been left untouched. It looks like Director 4. Of course I know how
-
Dynadock w. DVI, phase 2
Hello, looking through the dynadock manual (available online for download on the Toshiba homepage) I could not quite figure out whether Dynadock will be able to transmit the resolution of 1400 x 1050 (SXGA+) to an external monitor. Our Notebook would