WebRecorder - Possible wrong number or type of parameters?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
joncantrell
Newbie
Posts: 2
Joined: Thu May 31, 2012 5:56 pm
Location: WA

WebRecorder - Possible wrong number or type of parameters?

Post by joncantrell » Thu May 31, 2012 6:29 pm

I'm up to date on Web Recorder and Macro Scheduler. I'm writing a Macro to automate the transferring of value between starbucks giftcards (I get a lot through rewards programs and having a ton of cards floating around is a pain).

The page is here:

https://www.starbucks.com/account/card/transfer#1

When I try and enter the card security code I get the following error:

Error in : TransferSB
Line: 49 - Error Calling DLL: Possible wrong number or type of parameters? Message: Access violation at address 06765F9B in module 'IEAuto.dll'. Read of address 040A7369

The line I'm using is the following:
IE_FormFill>%IE[0]%,{""},,Card[0].Pin,SecCode,0,ie_res

The Card Number field fills fine, login and password fill fine, it just chokes on the Card Security Code (Pin) field.

Any suggestions?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Jun 01, 2012 9:14 am

I guess SecCode is a number, but the DLL expects a string, so try this:

IE_FormFill>%IE[0]%,{""},,Card[0].Pin,str:%SecCode%,0,ie_res
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

joncantrell
Newbie
Posts: 2
Joined: Thu May 31, 2012 5:56 pm
Location: WA

Post by joncantrell » Tue Jun 05, 2012 5:18 pm

That did the trick. Thanks!

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