Step 1: Make menu items of the current application invokable by searching for them.
Step 2: Make menu items of open applications invokable via the command line.
Step 3: Make some menu items of non-open applications invokable via the command line.
Step 4: IPC forever.
Posted Jan 25, 2012 21:42 UTC (Wed) by flewellyn (subscriber, #5047)
[Link]
Pipes and redirection are also methods of IPC, you know. And it's based on DBus, which was based on DCOP. So, yes, IPC.
I don't see why that's a problem.
Shades of COM
Posted Jan 27, 2012 14:52 UTC (Fri) by sorpigal (subscriber, #36106)
[Link]
There is no problem; I love IPC, DCOP and dbus. This is just a really good idea.
Shades of COM
Posted Jan 27, 2012 2:26 UTC (Fri) by foom (subscriber, #14868)
[Link]
Mac OS X has had all 4 of those steps for a long while too:
cat <<EOF | osascript -
tell application "Finder" to activate
tell application "System Events" to click menu item "as Icons" of process "Finder"'s menu bar 1's menu bar item "View"'s menu "View"
EOF
That'll launch the app if it's not running yet, too.