How to capture at table with a ' in its content?

Advanced programming using WinTask scripting language

How to capture at table with a ' in its content?

Postby Tosh on Wed May 20, 2015 3:41 pm

Hi,
I have the following capture with an apostrophe in the name. Is there a way to escape it so it reads as a literal?

ret = CaptureTableHTML("TABLE[CONTENT='Queen Anne's']", "R1C1:R1C4", tabcell_8$())
Tosh
 
Posts: 12
Joined: Thu May 05, 2005 9:56 am

Re: How to capture at table with a ' in its content?

Postby TechSupport on Thu May 21, 2015 8:48 am

Hello,

Here is the syntax when a ' is inside the HTML descriptor:
CaptureTableHTML("TABLE[CONTENT='Queen Anne\'s']", "R1C1:R1C4", tabcell_8$())

Best regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron