Skip to main content
dulajun
Inspiring
March 14, 2013
Question

Defining event handlers for renaming, moving, copying and deleting of files.

  • March 14, 2013
  • 1 reply
  • 1031 views

Hi every one.

I had created a tool for InDesign CS6 written using Javascript to manipulate portions of text in nested way by marking them with small non-printing small anchored text frames contains sequenced numbers and storing these portions as snippets in a spicific folder beside the InDesign documents.

This tool is open source and free of charge, the only this that I want from you (after downloading) as a user to feedback and as a developer to improve it and join me.

sourceforge.net/projects/livesnippets

My question is not about this but I want to trace when the user rename, move, copy or delete a file of these snippets or any container folder and interact according to that by reserving the links between snippet files and their instances which interspersed in InDesign documents.

Thanks.

This topic has been closed for replies.

1 reply

Inspiring
March 17, 2013

My question is not about this but I want to trace when the user rename, move, copy or delete a file of these snippets or any container folder and interact according to that by reserving the links between snippet files and their instances which interspersed in InDesign documents.

I looked at this… and Im still not sure what you are trying to do here…? Bridge has events for thumbnails that you may be able to monitor… but these are for files of the browser window while the app is running… What do you intend to do if the id snippet files are modified or removed by the OS…

dulajun
dulajunAuthor
Inspiring
March 18, 2013

I intend to correct the broken link depending on the action informations which stored by the script if the id snippet files are modified or removed by Bridge not by Finder, because I suppose that the users will not use the Finder as a role of using Live Snippets add-on.

Inspiring
March 19, 2013

If you are happy that users will NOT perform any of these operations outside of Bridge then I think you could look at the thumbnail's selectionChanged or selectionChanging… You have to select a thumbnail in Bridge before doing any of these… You may also want to look at setting the thumbnail's locked property… This should give the user an extra set of steps before tampering with your snippets…