Source language: Translate to:

SetVar with multistring variable

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

SetVar with multistring variable

Postby Tony Kroos » Thu Dec 13, 2012 11:25 pm

Now filling a single-line textbox in SetVar action with multiline text using [#13][#10] is a pain... I suggest

- multiline syntax for any action:
Setvar "[Multistring]" "Line1 _
Line2 _
Line3 _
Line4"

- If you dont want to alter syntax then u may consider to add an optional multiline editor dialog box (like "message" textbox in Alertbox) or full-screen editor button (like in Actions tab).
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: SetVar with multistring variable

Postby Neosoft Support » Fri Dec 14, 2012 11:21 am

In many cases, this will work:

Setvar "[Multistring]" "Line1|Line2|Line3|Line4"
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: SetVar with multistring variable

Postby Tony Kroos » Sat Dec 15, 2012 7:25 am

well, it's not a solution at all... (
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: SetVar with multistring variable

Postby Neosoft Support » Mon Dec 17, 2012 11:58 am

I'll see what we can do.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: SetVar with multistring variable

Postby dpayer » Mon Dec 17, 2012 12:34 pm

I saw this thread and thought a function may help.

I am not sure if it is what you were looking for but here is something that may address what you wanted:



David P.
David Payer
Des Moines, Iowa
USA
User avatar
dpayer
 
Posts: 1380
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: SetVar with multistring variable

Postby Tony Kroos » Mon Dec 17, 2012 4:05 pm

Just to make it clear, take a look:

Image
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: SetVar with multistring variable

Postby Neosoft Support » Thu Dec 20, 2012 12:01 pm

Thanks for the illustration.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests