AddCaptionToImage Script

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:27

Description

Adds caption(s) to all selected images, prompting for the caption position.

Syntax

AddCaptionToImage

Attach the above script to a menu, icon or key. It calls his pair script (the same name, but with parameters).

 

AddCaptionToImage(x,y,w,h,iPos)

x

image x co-ordinate

y

image y co-ordinate

w

image width

h

image height

iPos

position code,

-1 to display the menu with options

0 don't add caption

1 add caption below picture

2 add vertical caption on the right side

3 add horizontal caption over the bottom part of the picture