[KPhotoAlbum] KPA and AutoKey

Joe josephj at main.nc.us
Wed Dec 28 10:17:56 GMT 2011


I'm trying to write an AutoKeyscript for  KPA which adds a "0_select" 
tag to KPA selected pictures.  It runs
Annotate Multiple Items
select Keyword
0_select
Done

It works once, but trying to run it again fails.
The Annotate window opens, but does not come to the foreground.
When I manually bring it to the foreground, I see blinking cursors in 
both the Places *and* the Location  entries at the same time.  Then, it 
stalls and does nothing.

Any ideas?

TIA
      Joe

script:

# Add 0_select tag to pictures
import time

keyboard.send_keys("<ctrl>+2")
time.sleep(2.0)
keyboard.send_keys("<alt>+k")
keyboard.send_keys("0_select")
time.sleep(2.0)
keyboard.send_keys("<enter>")
time.sleep(2.0)
keyboard.send_keys("<alt>+d")



More information about the Kphotoalbum mailing list