comma

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

comma

Post by theonex » Mon Dec 05, 2016 7:03 pm

hi

there might be a simple solution to this but i just cant figure it out.

wait>2
IETagEventByAttrib>{"https://www.hpsmarts.com/app#/en/traini ... =Yes,click,
wait>0.5
IETagEventByAttrib>{"https://www.hpsmarts.com/app#/en/traini ... ertext=The world's smallest All-in-One/s,click,
wait>0.5
IETagEventByAttrib>{"https://www.hpsmarts.com/app#/en/traini ... xt=Vibrant colours,click,
wait>0.5

IETagEventByAttrib>{"https://www.hpsmarts.com/app#/en/traini ... i][u]Quick, easy set up and printing from a smartphone and tablet[/u][/i][/b],click,
wait>0.5

the above code are the answer's for a questionnaire all works fine except for the bold and underlined section the answer it self has a comma it just wont click i tried %,% didnt work any ideas are appreciated.

thank you

User avatar
JRL
Automation Wizard
Posts: 3497
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: comma

Post by JRL » Mon Dec 05, 2016 8:11 pm

Macro Scheduler has a built in variable for a comma. Try using %comma% in place of the comma.

theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

Re: comma

Post by theonex » Mon Dec 05, 2016 8:29 pm

that was simple and worked like a charm.

thank you

theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

Re: comma

Post by theonex » Mon Dec 05, 2016 8:59 pm

hey JRL

thanks for your previous answer really appreciate it similar problem this time with -.
how do i solve that?

i think this should be the last puzzel in the jigsaw.

thank you in advance

User avatar
JRL
Automation Wizard
Posts: 3497
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: comma

Post by JRL » Mon Dec 05, 2016 10:12 pm

Same way but its not built in so you have to create your own variable.

Code: Select all

Let>Hyphen=-
MDL>User%Hyphen%friendly

theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

Re: comma

Post by theonex » Mon Dec 05, 2016 10:48 pm

thanks again JRL really appreciate it

theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

Re: comma

Post by theonex » Fri Dec 23, 2016 2:05 pm

Let>Equal==

will this work as the above example?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts