Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
johnb2233
49 discussion posts
I am a IT dinosaur, 50+ years in computing, 45+ years programming in multiple old school languages.

I do not know Visual Basic or C. For many years I've been using PowerBasic Console Compiler, since before Windows.

Is it possible to use a PowerBasic Console Compiler program (they are self contained and compact in size) as a macro?

I would like to write a fairly complicated macro/exe to edit/clean-up text in certain circumstances.

I am hopeful you can help.
johnb2233
Feb 3, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You sure can! You can create a Macro that launches the EXE, and then run that Macro from a Trigger. Here's the sample Macro code for launching an EXE:

Code

using System;
using System.Collections.Generic;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        BFS.Application.Start(@"path-to-exe", "");
        return null;
    }
}
Feb 5, 2020  • #2
User Image
johnb2233
49 discussion posts
Many thanks for the quick solution, i look forward to trying it.
johnb2233
Feb 6, 2020  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)