Regarding "Copy path and filename to clipboard" -- maybe this will help:
/**
* Copies the complete name of the file (path + name) to the clipboard.
*/
_command copyFileNameComplete() name_info(','VSARG2_MACRO|VSARG2_MARK)
{
_macro('R',1);
fileName = p_buf_name; //save the actual buffer name in "fileName".
pushToClipboard(fileName); //path + name
}
/**
* Write the contents of a_string to the clipboard
*/
void pushToClipboard(_str a_string)
{
message(a_string); //print the file name in the status bar.
//Create an empty clipboard:
if (0 != push_clipboard_itype("CHAR"))
{
message("ERROR: push_clipboard_itype..." );
return;
}
//Add the file name:
if (0 != append_clipboard_text(a_string))
{
message("ERROR: appending to clipboard not possible..." );
return;
}
}
From dgmacros.e. I think I found it on the SlickEdit web site some time ago.