If I use keyboard shortcut for #101 in the 'status area' displayed is "checkmark copied to clipboard: C:\WhatEverMyCurrentPathIsHere".
I have 2 Questions based on my own script.
Question (1): Code at line 5 'status area' displays "text copied: C:\WhatEverMyCurrentPathIsHere\"
What function is being used to provide the #101 "checkmark copied to clipboard: C:\WhatEverMyCurrentPathIsHere"? All I'm seeking identical functionality to #101 with "\" appended to the end of the path. What causes "text copied" vs. "copied to clipboard" output difference?
Question (2): Code at line 6 'status area' displays "checkmark copied to clipboard: C:\WhatEverMyCurrentPathIsHere\" to simulate #101 behavior. HOWEVER, when the script finishes, 'status area' displays "checkmark UDC: Load Script File | Path", which I do not get with any other script I have. What is causing the "UDC: ... " output?
Code: Select all
1 $Msg = <curpath>;
2 if substr( $Msg, strlen($Msg) != "\") {
3 $Msg = $Msg . "\";
4 }
5 copytext $Msg, , "";
6 status( "copied to clipboard: " . $Msg, , "ready" );