Search found 16 matches

by DK.Ideagen
Tue Jun 28, 2022 9:40 am
Forum: General Discussion
Topic: JSON parsing sample import
Replies: 3
Views: 58

Re: JSON parsing sample import

perfect, thanks
by DK.Ideagen
Mon Jun 27, 2022 3:04 pm
Forum: General Discussion
Topic: JSON parsing sample import
Replies: 3
Views: 58

JSON parsing sample import

I have found examples of JSON parsing on this forum e.g.

viewtopic.php?p=5646&hilit=json#p5646

However the samples provided do not import as valid.

Running 9.1.1
by DK.Ideagen
Fri May 06, 2022 10:34 am
Forum: General Discussion
Topic: Read in and use local variables at runtime
Replies: 2
Views: 163

Re: Read in and use local variables at runtime

Perfect, thank you
by DK.Ideagen
Fri May 06, 2022 9:52 am
Forum: General Discussion
Topic: Are programmable Interrupts possible
Replies: 2
Views: 170

Re: Are programmable Interrupts possible

Thats a shame. Thanks for the speedy reply.

This would be great for RoboTask v10
by DK.Ideagen
Fri May 06, 2022 9:24 am
Forum: General Discussion
Topic: Are programmable Interrupts possible
Replies: 2
Views: 170

Are programmable Interrupts possible

Is it possible to have a RoboTask which pauses itself it at any point a hotkey is pressed, runs another task then returns to the original

(at the same place it was before)
by DK.Ideagen
Fri May 06, 2022 9:21 am
Forum: General Discussion
Topic: Read in and use local variables at runtime
Replies: 2
Views: 163

Read in and use local variables at runtime

I have a text file variables.txt it contains for as a sample var1 = Min. horizontal separation var2 = Min. horizontal separation unit var3 = Angle how can I use that file to add local variables at runtime so for example I could use {var3} in the script. I do not wish to copy and paste the text into ...
by DK.Ideagen
Fri May 06, 2022 9:18 am
Forum: General Discussion
Topic: Stop CSV variable splitting on space
Replies: 7
Views: 344

Re: Stop CSV variable splitting on space

I fixed this with a python script to

Code: Select all

text.replace('"','')
by DK.Ideagen
Thu Apr 28, 2022 10:03 am
Forum: General Discussion
Topic: Stop CSV variable splitting on space
Replies: 7
Views: 344

Re: Stop CSV variable splitting on space

To clarify

Splitting on comma is wanted
just not on space

I added double quotes so

Code: Select all

Sonic,The Hedgehog
is split into two lines

Code: Select all

"Sonic"
"The Hedgehog"
not

Code: Select all

Sonic
The
Hedgehog
In reality I want

Code: Select all

Sonic
The Hedgehog
but only split on commas
by DK.Ideagen
Thu Apr 28, 2022 8:46 am
Forum: General Discussion
Topic: Stop CSV variable splitting on space
Replies: 7
Views: 344

Re: Stop CSV variable splitting on space

I have adapted the above into my task.

It is working, however I really need the ultimate data to not be wrapped in double quotes.

Is there an easy way to achieve this?
by DK.Ideagen
Wed Apr 27, 2022 4:13 pm
Forum: General Discussion
Topic: Stop CSV variable splitting on space
Replies: 7
Views: 344

Stop CSV variable splitting on space

I found the following task on this form for turning CSV values into variables. ;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;***************************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|0 CatID=INTEGER|0 Comment=STRINGLIST Contin...