---- Original message ----
>Date: Tue, 11 Jul 2006 13:27:43 -0300
>From: "Fernando Gerent" <[EMAIL PROTECTED]>
>Subject: Re: [e-users] E17 Feature request - keybindings
>To: Josh <[EMAIL PROTECTED]>
>Cc: [email protected]
>
> I was just thinking about that.
> It kind of complements this other thing I've been
> planning to do, that's storing my app preferences,
> whenever possible, on scripts, using the command
> arguments, instead of editing the config files. This
> makes it much easier to restore them in a reinstall,
> and overrides any global config file that may be
> changed in an upgrade.
> I just have no idea how I can check if a program is
> running, althought I'm pretty sure it can be done.
ps w -eo 'comm' | grep -qE "^${PROGNAME}$"
that will return successfully if ${PROGNAME} is running and
with a failure code if it is not (no guarantees on the
portability of that... I know it works on Linux).
> As for the focus, it's probably possible, maybe I
> can use the signal used by "mouse click on window
> title" or "Alt+Tab" to bring up the program. Maybe
> someone around here could help me find exactly what
> it is.
The problem isn't in sending the signal... that would be
fairly trivial (as you mentioned, clicks and alt+tab do it
already). The really difficult part is figuring out which
windows go with which pids/process names.
> Thanks everyone for the replies so far.
>
> Fernando
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users