Jump to content
The simFlight Network Forums
Mike Butler

Running mouse macros from FSUIPC client DLL

Recommended Posts

As the title really - is it possible to trigger a mouse macro from the FSUIPC client DLL? I've been through the documentation and can't see any way to do this but hopefully I'm missing something obvious!

-- Mike

Share this post

Link to post
Share on other sites

Yes you can. There isn't an easy helper method in the DLL, but it's just a matter of writing a string to 0x0D70. See the offsets list (FSUIPC4/5 Offsets Status.pdf) for the details of what to write.

As this is a write-only offset, I recommend declaring the offset as write-only and placing it in it's own group. Then you can process just that group.

Something like this:

        private Offset<string> macroRequest = new Offset<string>("macro", 0x0D70, 40, true);

        private void fireMacro(string macroRequestString)
            this.macroRequest.Value = macroRequestString;



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.