Quark 4.11 AppleScript to modify picture names

I have no idea how to write AppleScript, so this may be easy, I’m not sure. What I want is an AppleScript to go into a Quark doc and just add the letter C onto the end of every picture name and save that quark doc with the updated picture names. Thanks to whoever can do this!!

Model: iMac
Browser: Internet Explorer 5
Operating System: Mac OS 9.2.x

I have never done this, but here’s a stab.

From the properties of image 1 of a picture box you can get the file path and the bounds.
Using the file path you tell the Finder to change the name of the image file adding the “c”.

tell application “QuarkXPressâ„¢ 4.11”
tell document 1
try
set file_path to the file path of image 1 of picture box 1
set the_bounds to the bounds of image 1 of picture box 1
end try
end tell
end tell

Enclose the set statements inside a try in case there is no image in the picture box.

You can use the newly named images file path to place the image back into the picture box.
set the file path of image 1 of picture box 1 to new_file_path

Resize the image by using the bound.
set the bounds of image 1 of picture box 1 to the_bounds

I know these are broad strokes, but with a tinkering you should get this to work.