Simple Scripting Example

In this example, we will use PyORBit to tell the running Nautilus process to open a window at a particular location.

First we need to get the IOR of the Nautilus shell. We could use the Gnome Python bindings for this, but to reduce the amount of magic, I'll use the standard activation-client program.

$ activation-client -s "iid == 'OAFIID:Nautilus_Shell'"
Query spec is "iid == 'OAFIID:Nautilus_Shell'"
Activation ID "OAFAID:[OAFIID:Nautilus_Factory,james,]" RESULT_OBJECT