Exception:解析表达式出错。 内部错误:Unexpected parser end with unresolved token left "}" at position 197 near "}". 原始表达式:// 获取来自 Quicker 的变量 (假设变量名为 text_to_copy) string txt = _context.GetVarValue("match1").ToString(); if (!string.IsNullOrEmpty(txt)) System.Windows.Forms.Clipboard.SetDataObject(txt, true); } 开始位置:197 附近代码:}

报错信息

Exception: 解析表达式出错。
内部错误:Unexpected parser end  with unresolved token left "}" at position 197 near "}".
原始表达式:// 获取来自 Quicker 的变量 (假设变量名为 text_to_copy)
string txt = _context.GetVarValue("match1").ToString();

if (!string.IsNullOrEmpty(txt))
    System.Windows.Forms.Clipboard.SetDataObject(txt, true);
}
开始位置:197
附近代码:}
StackTrace:
   在 Quicker.Domain.Actions.X.XActionHelper.GetValueFromExpression2(String expression, ActionExecuteContext context)
   在 Quicker.Domain.Actions.X.XActionHelper.<>c__DisplayClass2_3.xvCyPQKFThU()
   在 WW6RDxxVOGmcOrpMrRUe.KO5VAAxVUQAuFKr9ywb9.<>c__DisplayClass3_0.HMjhhhrcWOc()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

 

解决方法

暂无解决方案。

相关信息
0 查看
2026-01-09 14:58
Quicker版本
版本 反馈次数