My problem is like this :
I want place image in a text box
File(menu)-->place....-->(Dialog open then Select Image file then click on open)->then image is attach with cursor. (I do not click on .indd open screen).
Now I run the script from ExtendedTool Kit
When this script run then it place the image which I am select from File(menu)-->place....-->(Dialog open then Select Image file then click on open).
Not from the path "/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"
This is the problem to place image. I want to place image from path "/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"
So before place image using above script I want to clear the attach image with cursor using script.
Because I am placing multiple image in my file using script So in place of my second image first image is place and so there is repetation of first image and second image is miss.
Is there is solution of this problem ?
How remove image which is already attach with cursor using script?
Im not at all sure what you want here… If your cursor already has an image then its in the place gun…?
abortPlaceGun() // May well be what you are looking for but I've never scripted this before…
Thanks Mark for reply
First I want to tell you my problem.
First I put my image .jpg in " C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/InDtemp/ " folder and give name it temp.jpg. Then place in .indd document using script. Then delete this image.
I repeat this process for all image but some time in place of second image, first image is place
while in " C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/InDtemp/ " folder the first image is not present. How solve this problem ?
I try :
var myPlaceGun =myDocument.placeGuns();
but it place some time the above image which is place before this "C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/InDtemp/temp.jpg" image