Jump to content

Need some help


Recommended Posts

This is ok, but the program add the same frame to all the photos, now i need to add frame1 to photo dsc01.jpg and frame2 to photo dsc02.jpg

so...

DSC0200.jpg - frame1

DSC0201.jpg - frame2

DSC0202.jpg - frame1

DSC0203.jpg - frame2

DSC0204.jpg - frame1

DSC0205.jpg - frame2

DSC0206.jpg - frame1

DSC0207.jpg - frame2

DSC0208.jpg - frame1

.

.

.

DSC0399.jpg - frame2

DSC0400.jpg - frame1

What I need to change ?

Run("C:\Program Files\FrameMaster2\FrmMstr.exe")

WinWaitActive("Information")

send("{ENTER}")

WinWaitActive("FrameMaster")

For $i = 92 to 95

send('{alt}')

send("{ENTER}")

send("{ENTER}")

WinWaitActive("Open")

Send("DSC085" & $i & ".jpg")

send("{ENTER}")

WinWaitActive("==UNREGISTERED== FrameMaster")

send('{alt}')

send("{RIGHT}")

send("{RIGHT}")

send("{DOWN}")

send("{DOWN}")

send("{ENTER}")

send('{p}')

send('{a}')

send('{alt}')

send("{DOWN}")

send("{DOWN}")

send("{DOWN}")

send("{DOWN}")

send("{ENTER}")

send('{tab},{tab}')

send("{ENTER}")

send("{ENTER}")

;====================================================

Next

okay first of all

Add this: $j +=1 (or $j = $j +1)

$j=0; to initate $j
       Run("C:\Program Files\FrameMaster2\FrmMstr.exe")
       WinWaitActive("Information")
       send("{ENTER}")
       WinWaitActive("FrameMaster")
       For $i = 92 to 95
       $j +=1
     If $j >= 3 then $j = 1; reset to 1
       send('{alt}')
    ;
    ;
    ;

then when you have the 'save' box: depend where in your script, add the following:

Send("DSC085" & $i & ".jpg - frame"& $j)

should work like that !

Cram.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...