Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
gerlin
4 discussion posts
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:

Code

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
Jun 9, 2010  • #1
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
This is an interesting idea. The MacroAPI class will need to be extended with 2 new methods: copy text, and save item online. This is definitely possible, and I'll be sure to include this in the next release. Thanks! :)
Jun 10, 2010  • #2
User Image
gerlin
4 discussion posts
Jon,

I look forward to this in the next release.

As usual, thanks for for your quick response and eagerness to improve the app.

Lou
Jun 18, 2010  • #3
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
If you enable Beta update checking in ClipboardFusion, you can Beta 1 a try right now with these new API methods. You can now find the documentation for the methods here as well:
http://www.clipboardfusion.com/Macros/

I look forward to hear how it works for you. Thanks! :)
Jun 18, 2010  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)