Re: qdbus korganizer and QDate

Dj YB <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.