I am using Jon's "Get Last Saved Online Item and Paste Text" macro, which gets the last online item and pastes into the current selection.
I would like to make a macro that does the opposite.
It should take the currently highlighted text and push it up to the on-line storage.
Currently there are two non-macro methods to accomplish this, there is an option to copy all clipboard selections to on-line, and a built in hot-key that pushes the current clipboard to online.
However, I would prefer not to push up everything I copy and the current hot-key solution requires two separate actions, the initial copy and the push up.
When I look at Jon's code, it looks like it would not be difficult to do this in a macro, however I think I need to know the MacroAPI commands to accomplish this.
Here is the code that Jon wrote to copy down content:
using System;
public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
if (MacroAPI.GetLastSavedAPIText(out text))
MacroAPI.PasteText(text);
return text;
}
}
Are there MacroAPI command that will get the currently selected text and push it online?
Is this possible?
Any help is appreciated.
Thanks,
Lou