[kdepim-users] qdbus korganizer and QDate

Dj YB yehielb at mail.ru
Mon Aug 23 12:30:01 BST 2010


On Monday August 23 2010 13:46:16 Dj YB wrote:
> On Monday August 23 2010 12:30:29 Dj YB wrote:
> > Hello,
> > 
> > https://bugs.kde.org/show_bug.cgi?id=211633
> > trying to write a script to do the next thing.
> > in korganizer upon a shortcut popup an input box for a date, then go to
> > that date.

Alright so now that the script is ready, I have assigned it with the Ctrl+G 
shortcut using the "Input Actions", but I wish to make it part of KOrganizer, 
any idea how to do it, who to send the script to?
should I post it to the bug(Wish) report I filed?

heres the script:
---------------------------------------------------------------------
perl -e '{my $date=`kdialog --calendar "Go To"`; my ($weekday,$m,$day,
$year)=split(/ /,$date); chop($year); $m=($m eq 'Jan')?"01":($m eq 
'Feb')?"02":($m eq 'Mar')?"03":($m eq 'Apr')?"04":($m eq 'May')?"05":($m eq 
'Jun')?"06":($m eq 'Jul')?"07":($m eq 'Aug')?"08":($m eq 'Sep')?"09":($m eq 
'Oct')?"10":($m eq 'Nov')?"11":($m eq 'Dec')?"12":"01"; $date="$year/$m/$day"; 
print "$date\n"; `qdbus org.kde.korganizer /Calendar 
org.kde.Korganizer.Calendar.showDate $date`;}'
---------------------------------------------------------------------

thanks,
YB.
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list