View Single Post
Posts: 104 | Thanked: 113 times | Joined on Apr 2012
#12
GOT IT WORKING
shortcutd with dis script -->

if dbus-send --print-reply --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_tklock_mode | grep -q unlocked
then
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
else
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
fi
 

The Following User Says Thank You to insanelysexy For This Useful Post: