<p>that's awesome.</p>
<p>thanks a lot.</p>
<p>hope I have to go trough the basics for implementing the code you provided.</p>
<p>Will read them today and apply it.</p>
<p>thanks a lot.</p>
<div class="gmail_quote">On Apr 4, 2012 6:20 AM, "Nagappan Alagappan" <<a href="mailto:nagappan@gmail.com">nagappan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Shrinivasan,<br><br>Completely a different view :-)<br><br>launchapp('gthumb', ['/home/nags/Downloads/tamil.gif'])<br>waittillguiexist('frm*gThumb')<br># Grab focus on icon doesn't work on Linux, so using button<br>
grabfocus('frm*gThumb', 'btnEnhanceColors')<br>wait(1)<br># On Ubuntu 12.04 noticed the thumbnail view icon's start from ico8<br># Verified with generatemouseevent(x + width / 2, y + height /2, 'abs')<br>
size = getobjectsize('')<br>generatemouseevent(size[0] + size[2] / 2, size[1] + size[3] / 2)<br>wait(1)<br>click('frmtamil.gif-4/4-gThumb', 'tbtnEdit')<br>wait(1)<br>
click('frm*gThumb', 'btnEnhanceColors')<br># Note the images I have doesn't take time, so there is no in between popup<br># you might need to add additional time or waittillguiexist('window', guiTimeOut = 3)<br>
# and once that appears call waittillguinotexist('window') instead of wait<br>wait(1)<br>
click('frm*gThumb', 'btnSave')<br><br>Hope this helps to start with the script<br><br>Thanks<br>Nagappan<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 4:27 PM, Shrinivasan T <span dir="ltr"><<a href="mailto:tshrinivasan@gmail.com" target="_blank">tshrinivasan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>right click an image.<br>
choose - open with gthumb.</p>
<p>you Will get the image opened with the options you see in the video.</p>
<p>explain on how to automate gthumb.</p>
<p>thanks.</p><div><div>
<div class="gmail_quote">On Apr 3, 2012 10:43 PM, "Nagappan Alagappan" <<a href="mailto:nagappan@gmail.com" target="_blank">nagappan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Shrinivasan,<br><br>Which distribution are you trying ? I don't see all the options you are trying. Attached screenshot for your reference. I'm trying with Ubuntu 12.04 beta2<br><br>In my opinion gThumb can be automated.<br>
<br>Thanks<br>Nagappan<br><br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 7:31 AM, Shrinivasan T <span dir="ltr"><<a href="mailto:tshrinivasan@gmail.com" target="_blank">tshrinivasan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1 down vote favorite<br>
share [g+] share [fb] share [tw]<br>
<br>
<br>
How to automate gthumb - 'enhance colours' option?<br>
<br>
<br>
gThumb is a nice image management software available for GNU/Linux.<br>
<br>
When we see an image, we can enhance the colours easily, in gthumb.<br>
<br>
But, we have to click a image, then have to click the button for<br>
enhancing the colours.<br>
<br>
Is there any way to automate the process for clicking all the images<br>
in the gthumb collection and apply 'enhance colours' option for all<br>
the images?<br>
<br>
<a href="http://www.screenr.com/1ZB8" target="_blank">http://www.screenr.com/1ZB8</a><br>
<br>
Here is a little screencast on how I have to click each image and enhance it.<br>
<br>
Looking for automating all this activities.<br>
<br>
Can we use ldtp for this?<br>
<br>
<br>
--<br>
Regards,<br>
T.Shrinivasan<br>
<br>
<br>
My Life with GNU/Linux : <a href="http://goinggnu.wordpress.com" target="_blank">http://goinggnu.wordpress.com</a><br>
Free/Open Source Jobs : <a href="http://fossjobs.in" target="_blank">http://fossjobs.in</a><br>
<br>
Get CollabNet Subversion Edge : <a href="http://www.collab.net/svnedge" target="_blank">http://www.collab.net/svnedge</a><br>
_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org" target="_blank">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>
</blockquote></div>