Is there a way to prevent copy to the clipboard from fireing the begin Save event?
@MyCADDie wrote:Is there a way to prevent copy to the clipboard from fireing the begin Save event?
You seem to have created several threads about the same, or related tasks involving reactors... Perhaps it would be prudent to instead post a single thread, which includes sufficient description of exactly what it is you're attempting to do, and where you're experiencing issues (during debug).
Also, you're more likely to receive useful repsonses, if you post your code.
Cheers
"How we think determines what we do, and what we do determines what we get."
No.
In addition to the Save, Save As and QSave the event Save is also triggered by
AutoSave, ClipBoardCopy and who knows what else.
To avoid this "false event" you need check what kind of file is being saved.
If it contains a dollar sign, something like this \\AppData\\Local\\Temp\\A$C27775C12.DWG" it means it is a temporary file, don't call your function.
(if (not(vl-string-search "$"(cadr args))) (your-triger-function) )