AdRiley/ChaosReignsWithin-Alteryx-Macros

Runner macros don't work with UNC paths

Closed this issue · 1 comments

The bug lies with action 4 in the CReW_Runner.yxmc

The fix is something like

Replace([Destination],
"C:\Users\ariley\Desktop\New folder\New Module3.yxmd",
IF REGEX_Match([#1], "^[a-zA-Z]{1}:.*$") //Rooted Path
|| left([#1], 2) == "" //UNC Path
THEN
[#1]
ELSE
FileAddPaths([Engine.ModuleDirectory], [#1])
ENDIF
)

Reports this is still broken