Good grief. :-(
In the interest of what Tek-Tips means to me, here is a solution to my original question (with thanks to other technical forums out there):
It seems that SendInput does something that SendKeys does not, and calls to it are detected by screen saver routines as mouse activity...
Ahhhhh....... nothing is ever easy.
1. Yes, screensaver (5 mins) is greater than delay (30 secs) between automated mouse pointer movements using setcursorpos.
2. I'm not trying to break into any banks. If you believe that circumventing a screensaver activation is a worthy of a "then I can't...
Hello,
I would like to create a small app that keeps the WinXP screensaver from activating. There are many posts with the same suggestions: send keys, move the mouse pointer. I've done both using sendkeys() and setcursorpos(). I get the desired effect on the screen, BUT the screensaver still...
My problem is how to cluster a win2003 server with modems. I've got 6 phone lines - all calls are incoming. The primary server (with IIS app) has 6 modems. I wish to have a second server, with 6 modems also, and cluster the two servers. Should the PRIMARY server fail, the SECONDARY one will...
Haha!! I love it when someone knows the exact answer, and it is so clean. I spent HOURS testing different variations of this, all to no avail.
Many thanks PHV!
I've written a simple expect script to automate an sftp transfer to a remote server (shared keys not an option - must use password). It works great, except for the first time! This is because the local ssh-key file must be created.
Here is the script:
expect <<EOF
spawn sftp $USER@$HOST...
Hello,
I'm looking for a VB6 method of reading EXIF tags in JPEG files (on WinXP). Much surfing has turned up several 3rd party custom controls and DLLs, all offering much more that I need. On every WinXP system I have used, Windows Explorer can read these tags (Properties | Summary), so the...
Thanks MillerH,
This does exactly as I had hoped - awesome!
p.s. Sorry for the misunderstanding - My old Perl book doesn't use the term 'hash' for %array, but rather Associative Array.
Cheers - The Foreign Kid
Hello,
The items in my array all looks like "nnn/xxx" where nnn is a number with 1 to 5 digits, and xxx is a string. I wish to sort this array numerically. Using sort {$a <=> $b} %array does sort as desired, but outputs a TON of warnings about my argument not being numeric. I don't want to...
I have a small device (USB PC LOCK) that is essentially a USB HID. It's driver is unsatisfactory, and I wish to create my own. I have been searching for some sample code that detects when a new USB HID device shows up. I can find lots of .Net code, but nothing yet for VB6. Also, I've found...
Hello,
I need to write a cgi that returns a PDF file to the browser (as if they had clicked on a PDF link). My cgi can open the raw PDF file easily enough and push the data. What I'm not sure about is the pre-amble bits that preceed the actual PDF data stream (and possible post-amble bits)...
I have a worksheet formatted like a report, with many levels of indenting. I need the numerical values to overflow into the next cell, instead of displaying "#####" for columns too narrow. Below is a simplified version, to display the desired output.
data 9999
data 9999
data 9999
data...
I've got a notebook with Office XP. It was a Network Installation from a server that no longer exists - and won't be coming back (the company no longer exists, but the software was legally licensed at the time).
I would like to apply SP2 to Office on this notebook. Microsoft states that it...
Thanks for the reply.
Indeed you cannot copy a running system to/from dissimilar disk hardware. Heck, if one single parameter of the disk system (i.e. geometry) has changed, there is a good chance your kernel will panic. The SCO Openserver kernel is *very* annoying in that it wants to rebuild...
Hello,
I have SCO 5.0.7 installed on a RAID5 system (Intel SATA SRCS14L, 4 disks). I need to reconfigure this array to RAID10 for better performance (I know I'll lose some useable disk space - doesn't matter). System does not have a tape drive.
The process I'm considering is as follows:
-...
Hello,
I've got a string that looks like this:
[blah]A1-18[blah]n.n.n.n[blah]
where [blah] is one or more chars and n is one or more digits. This string lives in a file called 'status' (on Linux 2.4). I need to return only the IP from this string. Here's what I've got so far:
sed -n...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.