How about this (simulated your osascript with random sleep).
Things strange in your script:
1. shift command does nothing usefull
2. extra done one end
3. should refresh windows at top of loop to trap finished sub-processes
Last edited by Chubler_XL; 06-15-2012 at 01:14 AM..
I was in the middle of transferring a file over a slow link (768k) using 'scp'. The system on this end got rebooted by an overzealous co-worker... I've got 500+ megs of the file here and 725 megs to go. I'd really hate to start over. I fear that the answer to my question is that I will have to... (3 Replies)
The following code for search a pattern in file name (or entire file name) and look at its size, code is derived from an ebook about scripting. It is working in HP Unix but I am unable to run in Linux (Ubuntu) Please advise me what is wrong for Linux?
And besides , how can I get rid of errors in... (7 Replies)
I want to print entire row of file
awk '{print $0}' inputfile
but sometime before every row have space characters. Example:
" HVLR is not in service on AP 54"
How can i print entire row without space characters ?
thanks (3 Replies)
Are you sure you want to continue connecting (yes/no) need a way to pass in the value yes without use the except command.
I am creating a script to send down files to an application servers every time it reboots as it picks up the newest image. I do not want to manual connect to each server... (1 Reply)
How can I get a script to complete a update, varifiy completion, resboot, and continue with script?
Is it possbile to get script to add itself to the "startup application" list
#!/bin/bash
clear
sudo apt-get update
#Verify/test the update completed
#Reboot
#Start/comtinue... (9 Replies)
Hi,
I have two sh file. a.sh and b.sh b.sh is command and used by other sh's. I want to add below line to b.sh. When it is done with b.sh I want to continue to process a.sh. But when I use exit 0 in b.sh it is exit from b.sh and a.sh
How can I make it to continue to process?
a.sh ... (2 Replies)
Okay so I am having trouble understand what the computer will do with a code like this
if ; then
echo
echo "Found the file"
blah blah blah
for i in `blah blah blah` ; do
... (2 Replies)
i have script which get Input via READ value and compare it from file.
when found do some stuff...if not found again ask for Input until you dont enter Right value.
#!/bin/ksh
echo "SID must be in oratab file"
echo "Enter ORACLE_SID of Database:\c "
read ORACLE_SID
x=`cat /etc/oratab|... (3 Replies)
Dear Help,
Is it possible to continue the loop by going to the next available value, if the 'expected value' is not found. I have a list of values which might not get incremented by fixed value and hence the loop could break and the script could terminate.
Any suggestion is appreciated.
... (1 Reply)
I have a case statement. IS "continue" working in case?
for file in ls dir/*
case $file in
a)
do something
continue
;;
b)
do something
continue
;;
esac
It is a Bourne shell (13 Replies)
Discussion started by: digioleg54
13 Replies
LEARN ABOUT DEBIAN
xunmapwindow
XUnmapWindow(3) XLIB FUNCTIONS XUnmapWindow(3)NAME
XUnmapWindow, XUnmapSubwindows - unmap windows
SYNTAX
int XUnmapWindow(Display *display, Window w);
int XUnmapSubwindows(Display *display, Window w);
ARGUMENTS
display Specifies the connection to the X server.
w Specifies the window.
DESCRIPTION
The XUnmapWindow function unmaps the specified window and causes the X server to generate an UnmapNotify event. If the specified window is
already unmapped, XUnmapWindow has no effect. Normal exposure processing on formerly obscured windows is performed. Any child window will
no longer be visible until another map call is made on the parent. In other words, the subwindows are still mapped but are not visible
until the parent is mapped. Unmapping a window will generate Expose events on windows that were formerly obscured by it.
XUnmapWindow can generate a BadWindow error.
The XUnmapSubwindows function unmaps all subwindows for the specified window in bottom-to-top stacking order. It causes the X server to
generate an UnmapNotify event on each subwindow and Expose events on formerly obscured windows. Using this function is much more efficient
than unmapping multiple windows one at a time because the server needs to perform much of the work only once, for all of the windows,
rather than for each window.
XUnmapSubwindows can generate a BadWindow error.
DIAGNOSTICS
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO XChangeWindowAttributes(3), XConfigureWindow(3), XCreateWindow(3), XDestroyWindow(3), XMapWindow(3)XRaiseWindow(3)
Xlib - C Language X Interface
X Version 11 libX11 1.5.0 XUnmapWindow(3)