Sign in to follow this  
Followers 0
mcnmihail

Publisher insert photo

2 posts in this topic

Need some help, I have a start background in publisher where I want to change 2 photos then save, after that move to the next 2 photos and save and so on...

I have the folder with photos. and I need to insert Photo 1 and 2 and save, after that photo 3 and 4 and save, after that photo 5 and 6 and save....

WinWaitActive("[CLASS:MSWinPub]", "")

Do

Do

Do

For $i = 1 to 9

;poza1

send("{TAB}")

send("{APPSKEY}")

send("{n}")

send("{f}")

WinWaitActive("Insert Picture")

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

send("{ENTER}")

;Then

;poza 2

For $e = 1 to 9

send("{TAB 6}")

send("{APPSKEY}")

send("{n}")

send("{f}")

WinWaitActive("Insert Picture")

Send("frame2 (" & $e & ").jpg")

;Then

send("{ENTER}")

send('{alt}')

send("{DOWN 6}")

send("{ENTER}")

;salveaza

For $f = 1 to 9

WinWaitActive("Save As")

Send("8 MARTIE" & $f & "")

send("{ENTER}")

Next

Next

Next

Until $i = 9

Until $e = 9

Until $f = 9

Share this post


Link to post
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
Sign in to follow this  
Followers 0