Help with script to launch an app

18 views
Skip to first unread message

Archie Arevalo

unread,
Oct 12, 2011, 9:50:09 PM10/12/11
to autoke...@googlegroups.com
Hello.

First, I'd like to thank the creators and developer of this fine app. I have
just packaged it in 64-bit and submitted to the SRPM to our head developer,
Texstar.

I am running a test installation our distro's KDE 64-bit and had installed and
been running and testing the app. I got much of the gist in abbreviations and
simple scripts.

But I need some help in another mundane task such as opening a filemanager
(Dolphin) and changing to one of the address protocols (kio), say for example,
recentdocument:/

I can get dolphine to launch with a output = system.exec_command("dolphin")
but and more than that, I'm stuck.

I tried using Record Macro to see what the output is and maybe get an idea of
how I can proceed but anything else I tried simply opens the filemanager and
nothing more.

Thank you in advance for any help.

--
Archie Arevalo
Thu Oct 13 09:39:17 CST 2011

Powered by PCLinuxOS release 2011 (PCLinuxOS) for x86_64, Kernel 2.6.38.8

Luke Faraone

unread,
Oct 12, 2011, 10:07:34 PM10/12/11
to autoke...@googlegroups.com
On 10/12/2011 09:50 PM, Archie Arevalo wrote:
> But I need some help in another mundane task such as opening a filemanager
> (Dolphin) and changing to one of the address protocols (kio), say for example,
> recentdocument:/

You probably should look at the dolphin documentation to see if it
accepts the path as a parameter, or contact the developers of that
application to determine the best method to programmatically change to
such a pseudo-directory.

--
Luke Faraone;; Debian & Ubuntu Developer; Sugar Labs, Systems
lfaraone on irc.[freenode,oftc].net -- http://luke.faraone.cc
PGP fprint: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506

signature.asc

Chris D

unread,
Oct 12, 2011, 10:13:57 PM10/12/11
to autokey-users
Luke is on the money... when you find out how to make Dolphin do what
you want, you can use that exact same command with system.exec_command
- it acts like your shell and accepts all the same commands.

On Oct 13, 1:07 pm, Luke Faraone <l...@faraone.cc> wrote:
> You probably should look at the dolphin documentation to see if it
> accepts the path as a parameter, or contact the developers of that
> application to determine the best method to programmatically change to
> such a pseudo-directory.
>
> --
> Luke Faraone;; Debian & Ubuntu Developer; Sugar Labs, Systems
> lfaraone on irc.[freenode,oftc].net --http://luke.faraone.cc
> PGP fprint: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506
>
>  signature.asc
> < 1KViewDownload

Archie Arevalo

unread,
Oct 12, 2011, 11:14:40 PM10/12/11
to autoke...@googlegroups.com

Thank you for pointing Dolphin out. Geez, and all the while I was looking at
the <>s and +s within the exec_command shell. I got that part sorted out.

Archie Arevalo
Thu Oct 13 10:55:26 CST 2011

Powered by PCLinuxOS release 2011 (PCLinuxOS) for x86_64, Kernel 2.6.38.8

--
Archie Arevalo
Thu Oct 13 11:14:32 CST 2011

Reply all
Reply to author
Forward
0 new messages