Invoking external scripts

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Invoking external scripts

Yan Seiner
I've been using gthumb to upload selected images to my webserver.  
gthumb has a 'open with' option that allows me to open the image with a
xdialog-based script that I wrote that rotates the image if needed,
creates a thumbnail and a standard size, and sends them all to my
webserver via webdav.

I'd really like to use digikam since it has a lot more features than
gthumb - but I haven't been able to figure out how to invoke a shell
script from it.

All I want is to call my script thus:

blogify /imagepath/imagename

Preferably by doing something as simple as saveas or export to from a menu.

Do I need to write a plugin to do something this simple?

Thanks,

--Yan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Invoking external scripts

Arnd Baecker
Hi Yan,

On Wed, 5 Dec 2007, Yan Seiner wrote:

> I've been using gthumb to upload selected images to my webserver.
> gthumb has a 'open with' option that allows me to open the image with a
> xdialog-based script that I wrote that rotates the image if needed,
> creates a thumbnail and a standard size, and sends them all to my
> webserver via webdav.
>
> I'd really like to use digikam since it has a lot more features than
> gthumb - but I haven't been able to figure out how to invoke a shell
> script from it.
>
> All I want is to call my script thus:
>
> blogify /imagepath/imagename
>
> Preferably by doing something as simple as saveas or export to from a menu.
>
> Do I need to write a plugin to do something this simple?

Have a look at
  http://bugs.kde.org/show_bug.cgi?id=88932#c7
Note that even all files which are currently selected will
be passed on to the script
(though I am not sure whether a length of the command line
restriction applies...).

Clearly, this is not as obvious as the other approaches
discussed in that wish, so go and vote for it, if you think
it would be useful ;-).

Best, Arnd

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users