04-11-2013, 10:50 PM
I am using the following macro with the input
str author_input
str title_input
str v_input
str t_input
str y_input
str p_input
if(!inp(author_input "Author:") or !author_input.len) ret
if(!inp(title_input "Title:") or !title_input.len) ret
if(!inp(v_input "Vol:") or !v_input.len) ret
if(!inp(t_input "Town:") or !t_input.len) ret
if(!inp(y_input "Year:") or !y_input.len) ret
if(!inp(p_input "PageNos:") or !p_input.len) ret
outp "("
outp author_input
outp title_input
outp "v"
outp v_input
outp "["
outp t_input
outp ","
outp y_input
outp "]"
outp "p"
outp p_input
outp ")"
The output looks like this:
(Author Title Vol 3 [Town, 1947 ] p 22 )
at the end they each insert an extra space how do i get rid of that space?
I have tried to put in keystrokes and also tried the alternate command paste
str author_input
str title_input
str v_input
str t_input
str y_input
str p_input
if(!inp(author_input "Author:") or !author_input.len) ret
if(!inp(title_input "Title:") or !title_input.len) ret
if(!inp(v_input "Vol:") or !v_input.len) ret
if(!inp(t_input "Town:") or !t_input.len) ret
if(!inp(y_input "Year:") or !y_input.len) ret
if(!inp(p_input "PageNos:") or !p_input.len) ret
outp "("
outp author_input
outp title_input
outp "v"
outp v_input
outp "["
outp t_input
outp ","
outp y_input
outp "]"
outp "p"
outp p_input
outp ")"
The output looks like this:
(Author Title Vol 3 [Town, 1947 ] p 22 )
at the end they each insert an extra space how do i get rid of that space?
I have tried to put in keystrokes and also tried the alternate command paste