Thanks jupe, it works indeed in this case.
The problem is I want to use the clipboard as entry string, and insert this (simplified) code in an existing popupmenu.
Code: Select all
$menu = <<<MENU
Recase
::UPPER;copytext recase("<clipboard>", "upper");
::Invert;copytext recase("<clipboard>", "invert");
MENU;
$return = popupnested($menu, 6:=<crlf>, 7:=";");
I've been trying quite a lot of single and double quotes permutations... no joy.
Single-quoting <clipboard> doesn't seem to be an option.
Any idea (other than creating one sub for each "problem" item) ?