Sign in or 

tristil |
Latest page update: made by tristil
, Apr 7 2007, 1:29 PM EDT
(about this update
About This Update
Edited by tristil
8 words added view changes - complete history) |
|
Keyword tags:
None
More Info: links to this page
|
| Started By | Thread Subject | Replies | Last Post | ||
|---|---|---|---|---|---|
| dolce.gabbana | Directly use Dbus ? | 0 | Jun 22 2007, 5:20 AM EDT by dolce.gabbana | ||
|
Thread started: Jun 22 2007, 5:20 AM EDT
Watch
num = liferea.feedlist_get_unread_item_count()
awn = "/usr/bin/dbus-send --session --dest=com.google.code.Awn /com/google/code/ Awn com.google.code.Awn." name = "liferea" if num == 0 then cmd = string.format("%s%s string:%s", awn, "UnsetInfoByName", name) else cmd = string.format ("%s%s string:%s string:%s", awn, "SetInfoByName", n ame, num) msg = os.execute (cmd) end |
|||||