Input file looks similar to:
username1,10170100,4
username1,10170110,4
username1,10170120,4
username1,10170130,4
username2,10183700,4
username2,10561790,3
username2,10574010,3
username2,10574020,3
username2,10574030,3
I'm trying to put all the username values on one line separated by the pipe character.
Example:
username1,10170100|10170110|10170120|10170130|10183700
username2,10561790|10574010|10574020|10574030
With the input file, I used MS Access to add a username count-1 at the end of the record to help me perform the "pipeit" macro shown below that certain number of times.
It all works fine but I can't seem to perform a Loop, x number of times. Where x would be the Paste.
My 3 macros look like this:
Macro name: structure2
InsertMode
ColumnModeOff
HexOff
UnixReOff
Key END
StartSelect
Key Ctrl+LEFT ARROW
Copy
EndSelect
Key LEFT ARROW
Macro name: pipeit
InsertMode
ColumnModeOff
HexOff
UnixReOff
StartSelect
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
"|"
EndSelect
Key END
Key Ctrl+LEFT ARROW
Key Ctrl+LEFT ARROW
MacroName: trimend
InsertMode
ColumnModeOff
HexOff
UnixReOff
StartSelect
Key END
EndSelect
Key DEL
Key RIGHT ARROW
Overall MacroName: All
InsertMode
ColumnModeOff
HexOff
UnixReOff
PlayMacro 1 "structure2"
Loop Paste
PlayMacro 1 "pipeit"
EndLoop
PlayMacro 1 "trimend"
Loop Paste below is always replaced with my last Copy value not the command: Paste.
I also tried to do a PlayMacro "^c" "pipeit" but that didn't work either.
username1,10170100,4
username1,10170110,4
username1,10170120,4
username1,10170130,4
username2,10183700,4
username2,10561790,3
username2,10574010,3
username2,10574020,3
username2,10574030,3
I'm trying to put all the username values on one line separated by the pipe character.
Example:
username1,10170100|10170110|10170120|10170130|10183700
username2,10561790|10574010|10574020|10574030
With the input file, I used MS Access to add a username count-1 at the end of the record to help me perform the "pipeit" macro shown below that certain number of times.
It all works fine but I can't seem to perform a Loop, x number of times. Where x would be the Paste.
My 3 macros look like this:
Macro name: structure2
InsertMode
ColumnModeOff
HexOff
UnixReOff
Key END
StartSelect
Key Ctrl+LEFT ARROW
Copy
EndSelect
Key LEFT ARROW
Macro name: pipeit
InsertMode
ColumnModeOff
HexOff
UnixReOff
StartSelect
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
"|"
EndSelect
Key END
Key Ctrl+LEFT ARROW
Key Ctrl+LEFT ARROW
MacroName: trimend
InsertMode
ColumnModeOff
HexOff
UnixReOff
StartSelect
Key END
EndSelect
Key DEL
Key RIGHT ARROW
Overall MacroName: All
InsertMode
ColumnModeOff
HexOff
UnixReOff
PlayMacro 1 "structure2"
Loop Paste
PlayMacro 1 "pipeit"
EndLoop
PlayMacro 1 "trimend"
Loop Paste below is always replaced with my last Copy value not the command: Paste.
I also tried to do a PlayMacro "^c" "pipeit" but that didn't work either.