I don’t know what you mean with that reference. I use plain applescript. I not only recompiled the script many times, I even copied the script, converted to plain text and pasted and saved it in a new file, and that seemed to solve the problem until I noticed it happening again ” the action hangs setting the clipboard to the value of the var and sometimes logs the message I quoted above.
I don’t use Quicksilver so I can’t test just guess.
My understanding is that in the process handler, the unique feature specific to QuickSilver is the entry one :
on process text lemma
The reports lines reported above state that the script doesn’t understand the instruction “set clipboard to.”
It’s why I asked you to add the instruction “use terms from scripting additions”.
As it is rejected, you may try to move the useful code which doesn’t rely upon QuickSilver features into a handler which is not using terms from QuickSilver.
Thanks Yvan. The problem is also, that it happens randomly AFAICT.
set the clipboard gets stuck sometimes and Quicksilver logs that message, but, as I said, it doesn’t happen with other actions that have identical structure.
I noticed a process that also appears concomitantly
If my edited version is accepted by QuickSilver, it will allow you to insert quite easily instructions tracing what happen because in the main handler you will be able to use functions belonging to Standard Additions like say, do shell script…
Yvan KOENIG running Yosemite 10.10.5 in French (VALLAURIS, France) vendredi 21 août 2015 17:34:17
That doesn’t compile. In my version I inserted statements like do shell script "logger -t 'AS DEBUG' " & myMes before and after set the clipboard to lemma and, if it gets stuck, it always logs right before the clipboard command and hangs and never reaches the second logger, throwing that event. Well, if anything comes to mind let me know, I guess I’ll have to randomly live with it for the moment.
What didn’t compiles, the script with the instructions moved in the third handler named main() ?
If it’s that, it may be a conflict with the name “main” which I used to name the handler.
You may try to use an other one. In my own scripts I often name this kind of script “Germaine” which never conflicts.
In your original code, according to the issued error messages it seems logical that the shell script instruction inserted after “set the clipboard.” one wasn’t triggered.
Yvan KOENIG running Yosemite 10.10.5 in French (VALLAURIS, France) vendredi 21 août 2015 20:26:46
It looks to me like the problem may not so much the script, but what’s being passed to the script. Adding some code that logs the class of lemma might help clarify things.