Poo_Del
September 9, 2010, 11:23am
#1
Hi,
Please see below code and which is not working for me.
‚‚‚‚If‚myDocument.textFrames.item(“myRemoveFrame”)‚Then
‚‚‚‚‚‚‚‚delete
‚‚‚‚End‚If
Any one has any idea. What I am looking is to delete all text frame with the label name of “myRemoveFrame”.
Regards,
Poo
Looks like the code you have there is VBscript or Javascript.
Here is an applescript version;
tell application "Adobe InDesign CS3"
tell document 1
try
delete (every text frame whose label = "myRemoveFrame")
end try
end tell
end tell
Poo_Del
September 10, 2010, 6:21am
#3
Hi David,
Thanks for reply. I have no issue with applescript I am facing problem with VBscript. I tried many things but I am not sure what methods I need to call.
Regards,
Poo