I have been meessing around with script-fu for only a short while, and I also would like to automate some highly repetative clicking tasks. Generally, a project will entail working with a slew of images, and generate a defined set of layers and channels within each image; these layers and channels have identical names in their respective images, based upon its function within the image. It then becomes a rather straight-forward procedure to build the target image file, although rather cumbersome for the human doing all the clicking. The major issue I have in automating this procedure is in the selection of the correct "drawable", and found that there are gimp functions for selecting drawables based upon a "tatto", and found it possible to list layers and channels within an image, this listing produces an integer array, but unfortunately does not seem to be related to the "tatto". Is there a way to link these "integer IDs" to the "tattoos", or is there another means for cycling through the layers and/or channels and assigning an appropriate variable to the list or channel based upon its name. That is, what I'm looking for is a function that works like: get_layer_by_name( image, name-string ) -> LAYER or: get_layer_by_name( image, name-string, layer_var ) -> BOOLEAN TIA Mike ------------------------ Yahoo! Groups Sponsor --------------------~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/e4wwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/script-fu/ <*> To unsubscribe from this group, send an email to: script-fu-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/