<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
On 29.08.19 23:09, Christophe Devalland wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA5vxo_wwU-oyLTWGVN_cDMgW6odF540q=CKWe-B-OhJ2CZCHg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I had a lua script for several years and after I
updated texworks (now version 0.6.3), I have two issues for this
script :
<div class="gmail_default"
style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">1) the line :</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">TW.information(parent,"foo1",
"foo2") <br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">shows :<br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> __call: couldn't call information with the given arguments</p>
</div>
</div>
</blockquote>
<br>
This works fine for me - what system are you using, and what is
"parent"? Can you post a minimal working example (MWE)?<br>
<br>
<blockquote type="cite"
cite="mid:CAA5vxo_wwU-oyLTWGVN_cDMgW6odF540q=CKWe-B-OhJ2CZCHg@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif">
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">2) Shortcut: Shift+Ctrl+C doesn't work anymore (it's in the commented section).</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">If I change C to W, it works.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Although my shortcut.ini file has no such shortcut.</p>
</div>
</div>
</blockquote>
<br>
This shortcut is used by default by the new Edit > Insert
Citations... menu item. If two actions use the same shortcut,
neither is triggered as the system does not know which one you are
aiming for.<br>
To work around this, either assign another shortcut to your script,
or assign a different one to actionInsert_Citations in shortcut.ini.<br>
<br>
HTH,<br>
Stefan<br>
</body>
</html>