8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello everybody,
I am using Windows 10 and cygwin/bash.
I need to write a script in bash which simulates opening of a program and then press some keys such as F5, ENTER and ALT+F4.
I have written a VBScript which does the job
Set WshShell = WScript.CreateObject("WScript.Shell")... (9 Replies)
Discussion started by: supernono06
9 Replies
2. Shell Programming and Scripting
Need shell script to:
1/keep polling a directory "receive_dir" irrespective of having files or no files in it.
2/move the files over to another directory "send_dir".
3/the script should only stop polling upon a file "stopfile" get moved to "receive_dir". Thanks !!
My script:
until
do... (0 Replies)
Discussion started by: iaav
0 Replies
3. Shell Programming and Scripting
I need a script to keep polling "receive_dir" directory till "stopfile" get written in the directory.
This has to run despite empty directory.
So far i have this but fails if receive_dir is empty with no files with "unary operator expected". Help !!
#!/usr/bin/ksh
until
do
for i... (1 Reply)
Discussion started by: iaav
1 Replies
4. Programming
Hi
i need to get the key pressed from the keyboard without focus on the application.
i work under CentOS 5.5 with QtC++ 4.7 and Python Script (0 Replies)
Discussion started by: HanyM.Magdy
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
New user here, I have googled this but found nothing that helps me.
I have a file of data and want to display it to a user from within a "frame/window/screen" that allows the user to pageup/pagedown through the data.
I can do this mostly, but I cannot detect the pressing of the... (6 Replies)
Discussion started by: gcraill
6 Replies
6. Shell Programming and Scripting
I have two BASH shells and would like to send data from one to the other. To achieve this, I have thought the following:
1) Shell #1 runs a script in order to create the file "output.out" with the data.
2) Meanwhile Shell #2 is waiting for "output.out" is created for starting with a second script... (6 Replies)
Discussion started by: hresquivelo
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
My program A updates a log called logA.
I have a shell script S that is responsible to send emails reading from the log.
I want to trigger execution of the script whenever there is an update to the log.
Thanks in advance. (8 Replies)
Discussion started by: cv_pan
8 Replies
8. Programming
How-to use keypress action signals in C?
Is there any nice select or poll functions for that? (1 Reply)
Discussion started by: Esaia
1 Replies