02-24-2009
webinject - dealing with popups
Hello
We have a webapp that launches a link in a popup. We need to use webinject to check the content of that popup but have been so far unsuccessful. We use webinject as a nagios plugin.
Does anyone have any experience of using/configuring webinject and know if this is possible or not?
Otherwise, does anyone know of another (free?) tool that can do the same job?
Thanks
Steve.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am readinga file lin by line and based craeting a arry of unique elemenst from the second column of the line. However when i coem out of the while loop my array becomes empty , can eny one tell me what I would be doing wrong
#!/bin/bash
logfile="./mylog.dat"
begin=100
end="$(( $begin +... (5 Replies)
Discussion started by: jojan
5 Replies
2. Shell Programming and Scripting
I am having trouble with a script that is supposed to :
a)take all the jpg pictures in a given directory/parameter and create thumbnails of it in a directory on the desktop.
e.g
from /here/are/the/files.jpg to ~/Desktop/parser-the/files.png
this is my script: all the individual parts... (2 Replies)
Discussion started by: orochinagi
2 Replies
3. Programming
I'm currently making a card dealing program, it is suppose to display a list of cards like this:
"Ace of Heart, is red"
"Two of Heart, is red"
.
.
"Ace of Spade, is black"
and so on for all suits and numbers.
here is my current code:
#include <stdio.h>
#include <stdlib.h>
#include... (3 Replies)
Discussion started by: Izzy123
3 Replies
4. UNIX and Linux Applications
Geany : Home Page, the text editor, sometimes crashes and leaves a geany.core file. This is a binary file and supposedly contains all unsaved work and possibly some other information. Does anyone know how to deal with this file? (2 Replies)
Discussion started by: figaro
2 Replies
5. Shell Programming and Scripting
Korn Shell
I have hundreds of small files like below created every day. A midnight cron job moves them to the location /u04/temp/logs
But sometimes I have to manually move these files based a certain dates or time.
I have two basic requirements
1.Using mv command I want to move all .dat... (2 Replies)
Discussion started by: kraljic
2 Replies
6. Shell Programming and Scripting
I would like to know
Is it possible to get a notification as pop-up in linux
when a folder with extension '.aqs' written
a popup should come
as " The folder has been written "
Thank you in advance (5 Replies)
Discussion started by: bal_nair
5 Replies
7. Slackware
Recently I have been trying to boot into slackware on a new laptop that came preinstalled with windows 8. I have successfully installed slackware and Lilo, but I have had great difficult attempting to boot into it. Since the laptop contains no optical drive, I have been attempting to boot into... (2 Replies)
Discussion started by: a sandwhich
2 Replies
8. UNIX for Dummies Questions & Answers
I have file input
1/1/2013 1AS030A 0 1083 CHINA
1/1/2013 1AS030B 0 675 KOREA
1/1/2013 1AS035A 162 662 CHINA
1/1/2013 1AS035B 51 799 INDIA
1/1/2013 1AS035C 0 731 CHINA
1/2/2013 1AS073A 10 1375 KOREA... (5 Replies)
Discussion started by: radius
5 Replies
9. Shell Programming and Scripting
I have an edge-list with nodes, edge.txt
A B
B J
J H
C A
G H
G A
A C
K G
I have another file which tells me which of these nodes are important, input.txt
G
C
A (3 Replies)
Discussion started by: Sanchari
3 Replies
10. Programming
I'm writing my own simple XML parser as an experiment. It's a lot more complicated than it's supposed to be.
Things supposedly forbidden in XML comments happen all the time in the wild. You're never, ever supposed to find -- inside <!-- xml comments --> but in practice, you don't just find... (2 Replies)
Discussion started by: Corona688
2 Replies
XtPopup() XtPopup()
Name
XtPopup - map a popup shell.
Synopsis
void XtPopup(popup_shell, grab_kind)
Widget popup_shell;
XtGrabKind grab_kind;
Inputs
popup_shell
Specifies a shell widget returned by XtCreatePopupShell().
grab_kind Specifies how user events should be constrained. (Can be one of XtGrabNone, XtGrabNonexclusive, XtGrabExclusive.)
Description
XtPopup() calls the functions registered on the shell's XtNpopupCallback list and pops up the shell widget (and its managed child). The
"Algorithm" section below explains this process in more detail.
If grab_kind is XtGrabNone, the resulting popup is "modeless", and does not lock out input events to the rest of the application. If it is
XtGrabNonexclusive, then the resulting popup is "modal" and locks out input to the main application window, but not to other modal popups
that are currently popped up. If it is XtGrabExclusive, then the resulting popup is modal and locks out input to the main application win-
dow and all previous popup windows. For more details on XtGrabNonexclusive and XtGrabExclusive, see XtAddGrab().
Usage
By default, XtPopup() maps its window to the upper-left corner of the display. You will generally want to position the shell by setting
its XtNx and XtNy resources before calling XtPopup().
The Intrinsics also provide convenience routines to popup a shell. To perform a pop up from a callback list, register one of the functions
XtCallbackNone(), XtCallbackNonexclusive(), or XtCallbackExclusive(). To do so from a translation table, use the XtMenuPopup action.
Widgets can be popped down with XtPopdown(), the XtCallbackPopdown() callback function, or the XtMenuPopdown action.
If you are using the Motif widget set, you will generally never need to call XtPopup() or XtPopdown(). The Motif XmDialogShell widget
automatically pops up when its child is managed, and pops down when its child is unmanaged.
Algorithm
The XtPopup() function performs the following:
o Calls XtCheckSubclass() to ensure popup_shell's class is a subclass of shellWidgetClass.
o Raises the window and returns if the shell's popped_up field is already True.
o Calls the callback procedures on the shell's XtNpopupCallback list, specifying a pointer to the value of grab_kind as the call_data
argument.
o Sets the shell popped_up field to True, the shell spring_loaded field to False, and the shell grab_kind field from grab_kind.
o If the shell's XtNcreatePopupChildProc resource is non-NULL, XtPopup() calls the specified procedure with popup_shell as the parameter.
o If grab_kind is either XtGrabNonexclusive or XtGrabExclusive, it calls:
XtAddGrab(popup_shell, (grab_kind == XtGrabExclusive), False)
o Calls XtRealizeWidget() with popup_shell specified.
o Calls XMapRaised() with the window of popup_shell.
Structures
The XtGrabKind type is defined as follows:
typedef enum {XtGrabNone, XtGrabNonexclusive, XtGrabExclusive} XtGrabKind;
See Also
XtAddGrab(1), XtCallbackExclusive(1), XtCallbackNone(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtCreatePopupShell(1), XtMenuPop-
down(1), XtMenuPopup(1), XtPopdown(1), XtPopupSpringLoaded(1).
Xt - Pop Ups XtPopup()