mcnmihail Posted January 13, 2009 Author Share Posted January 13, 2009 Any idea ? Link to comment Share on other sites More sharing options...
mcnmihail Posted January 14, 2009 Author Share Posted January 14, 2009 Any idea ? Link to comment Share on other sites More sharing options...
FireFox Posted January 14, 2009 Share Posted January 14, 2009 (edited) Only bump your topic after 24h of your last reply Cheers, FireFox Edited January 14, 2009 by FireFox Link to comment Share on other sites More sharing options...
FireFox Posted January 14, 2009 Share Posted January 14, 2009 @mcnmihail Use FileMove to change name of files an for Next like you know I you want to read the number of the name use String functions Cheers, FireFox. Link to comment Share on other sites More sharing options...
cramaboule Posted January 14, 2009 Share Posted January 14, 2009 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}") ;==================================================== Nextokay 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. My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now