@Felthry D-Bus seems to be a similar thing. Programs have a D-Bus interface/API and you can use that API to do stuff. Like I can tell KDE to log out by doing "qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.closeSession". I'm not sure what some of that gobbledygook means though, I just went exploring through zsh's tab completion. >,,>
@IceWolf what's the difference between dbus and just, shell scripts?
-F
@Felthry Shell scripts are like, calling commands; this isn't calling commands but telling an already running program to do something.
@Felthry Like you could have a command to tell KDE to log out, but it would have to get that message to the KDE session manager somehow. D-Bus can do that.
@Felthry So AppleScript is a programming language on Mac that lets you control other apps. Things like getting a list of songs from iTunes and telling it to play one, say. Apps could have a "dictionary" of commands you could call from AppleScript to control them. I don't think all that many apps support it, but it's a /really/ neat concept [though the language is atrocious!].