I'm trying to make a record to a text file positions of graphical objects. The objects, in my example, are three and its can drag. Therefore, you want to save as a text file its positions and then the opposite from the file set the positions.
Code:
for ( i = 1; i < 4; i++)
{
var names = "Image" + i
var x_coord = names.GetXPosition()
var y_coord = names.GetYPosition()
var coord = "[" + names + "]" + "\n" + "x = " + x_coord + "\n" + "y = " + y_coord
var textObj = OpenFile("coord.ini")
textObj.Write(coord)
Of course this solution does not work, because insertion of variables (names) instead of the graphical object is not allowed:(
How can i save the position of all required graphics on the page?
Another question. Users are asked to be able to create text commentary (like sticky) in the publication. To the user himself could create a new text object and write it several phrases. Maybe have someone ready solution to this problem?
Thank you for the assistance