Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-24-2010, 04:31 PM
cufis cufis is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Default Pass variable to VBScript that might contain Quotation Marks

I've been trying to get part working for some time, and any input would be helpful.

I have a VBScript that cleanse my variable of non-printable data and then assigns it to a new variable to be written to my DB.

The issue I have is when the variable being passed contains a " in it. Now, I can open up notepad, paste the text, remove the ", copy the text, then pass the data to my script, but that would greatly slow my task down. Is there any way to "force" my variable to the script, even if it contains 1 or more Quotation Marks?
Reply With Quote
  #2 (permalink)  
Old 02-25-2010, 04:53 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Using String Manipulation command you can remove " from main string. We have attached a sample task for reference. To run this sample,
. Please copy .atmn under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy .vbs under C:\

Hope that helps.
Attached Files
File Type: zip sample.zip (799 Bytes, 5 views)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved