Hi Shrinivasan, Completely a different view :-)
launchapp('gthumb', ['/home/nags/Downloads/tamil.gif']) waittillguiexist('frm*gThumb') # Grab focus on icon doesn't work on Linux, so using button grabfocus('frm*gThumb', 'btnEnhanceColors') wait(1) # On Ubuntu 12.04 noticed the thumbnail view icon's start from ico8 # Verified with generatemouseevent(x + width / 2, y + height /2, 'abs') size = getobjectsize('') generatemouseevent(size[0] + size[2] / 2, size[1] + size[3] / 2) wait(1) click('frmtamil.gif-4/4-gThumb', 'tbtnEdit') wait(1) click('frm*gThumb', 'btnEnhanceColors') # Note the images I have doesn't take time, so there is no in between popup # you might need to add additional time or waittillguiexist('window', guiTimeOut = 3) # and once that appears call waittillguinotexist('window') instead of wait wait(1) click('frm*gThumb', 'btnSave') Hope this helps to start with the script Thanks Nagappan On Tue, Apr 3, 2012 at 4:27 PM, Shrinivasan T <tshriniva...@gmail.com>wrote: > right click an image. > choose - open with gthumb. > > you Will get the image opened with the options you see in the video. > > explain on how to automate gthumb. > > thanks. > On Apr 3, 2012 10:43 PM, "Nagappan Alagappan" <nagap...@gmail.com> wrote: > >> Hi Shrinivasan, >> >> 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 >> >> In my opinion gThumb can be automated. >> >> Thanks >> Nagappan >> >> >> On Tue, Apr 3, 2012 at 7:31 AM, Shrinivasan T <tshriniva...@gmail.com>wrote: >> >>> 1 down vote favorite >>> share [g+] share [fb] share [tw] >>> >>> >>> How to automate gthumb - 'enhance colours' option? >>> >>> >>> gThumb is a nice image management software available for GNU/Linux. >>> >>> When we see an image, we can enhance the colours easily, in gthumb. >>> >>> But, we have to click a image, then have to click the button for >>> enhancing the colours. >>> >>> Is there any way to automate the process for clicking all the images >>> in the gthumb collection and apply 'enhance colours' option for all >>> the images? >>> >>> http://www.screenr.com/1ZB8 >>> >>> Here is a little screencast on how I have to click each image and >>> enhance it. >>> >>> Looking for automating all this activities. >>> >>> Can we use ldtp for this? >>> >>> >>> -- >>> Regards, >>> T.Shrinivasan >>> >>> >>> My Life with GNU/Linux : http://goinggnu.wordpress.com >>> Free/Open Source Jobs : http://fossjobs.in >>> >>> Get CollabNet Subversion Edge : http://www.collab.net/svnedge >>> _______________________________________________ >>> LDTP-dev mailing list >>> LDTP-dev@lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev >>> >> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com
_______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev