Adium vs11/12/2023 ![]() ![]() There is also a “type” option in the chat section, which defaults to “wildcard” that uses globbing pattern matching another value to it is “regex”, which uses regular expression. The string to the left of the colon is the pattern against which the received text will be matched, and the right one is the corresponding reply text. The patterns is a list of string pairs where each pair is separated by a colon. Then, you can invoke the “receive” sub-command with the -c/-chat arguments: $ adiumsh receive -c default You must set the patterns in the config file, possibly like the following settings: By default, adium-sh uses “Simple Chat”, which basically replies to received messages according to the patterns you set. You must specify a chat method to receive messages. You can also pass as argument your message: $ adiumsh send -a 'John Smith' -m 'Hello, there' Receive messages Set default configuration file at ~/.adiumsh: Īccount = you can send messages without specifying -s/-service and -t/-account: $ adiumsh send -a 'John Smith' Send a message using alias: $ adiumsh -s GTalk -t send -a 'John Smith' Send a message using account name: $ adiumsh -s GTalk -t send -b there When specifying them as arguments, you must put them before the sub-commands. You must specify the account and service to associate with the current use, either as command-line arguments or in the config file. Installation $ pip install adium-sh Usage Receive and reply to messages using patterns or external API (SimSimi currently supported) Send messages using exact account name or alias DescriptionĪdium-sh provides shell utilities and Python wrapper based on AppleScript support of Adium. Adium Shell (adium-sh) is a command-line tool and Python wrapper for Adium. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |