Skip to content

Error getting XML Script Steps on Windows #28

@fuzzzerd

Description

@fuzzzerd

Unable to utilize either function:

  • Set Var JSON From Comments
  • Parse ScriptParameter

Actual Behavior:
No data/script steps are on the clipboard

Expected Behavior
Script steps are copied to the clipboard per the copied comments

Possible Resolution

The error stems from the custom function: clip_GetFMxml

It internally performs this calculation:

Let(
[
formats = BE_ClipboardFormats;
expression = "Left( item ; 4 ) = \"dyn.\"" ;
format = FilterValuesByExpression ( formats ; expression );

xml = BE_ClipboardText ( format );
...truncated...

Apparently this works on macOS for getting the copied script parameters; however, on windows the format dyn.ah62d4rv4gk8zuxnxnq does not work and needs to be Mac-XMSS

I believe changing to this should allow things to work on both Mac and Windows

xml = BE_ClipboardText ( If(Get(Device) = 2; "Mac-XMSS"; format) );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions