I really want to use the IEGetTags for my sample macro....I am unable to create a basic sample from this using a https//site to start my script. not sure what I am doing wrong I have all of the HTML tags defined...so I am thinking, if I cannot even run the sample, then something else may be wrong here?
When I run the sample macro...I only get the output text of 'value_1' instead of the actual stock price for Microsoft. Do I have something on IE set wrong?
I am using the exact sample:
IETagEventByAttrib>finance.yahoo.com,INPUT,name=s,,MSFT
IETagEventByAttrib>finance.yahoo.com,INPUT,id=btnQuotes,click,
Wait>1
IEWait>finance.yahoo.com
IEGetTagsByAttrib>finance.yahoo.com,SPAN,id=yfs_184_msft,T,values
MessageModal>value_1
Sample macro for yahoo.finance.com doesn't give $$ output
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Which version of macro scheduler do you have? These are very new commands so you need the very latest.
If the script can't find the tags it will pop an error.
If you get no error and the commands appear as black text in the editor and are not in the code builder pane then you have an outdated version and they will do nothing.
If the script can't find the tags it will pop an error.
If you get no error and the commands appear as black text in the editor and are not in the code builder pane then you have an outdated version and they will do nothing.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Sample macro for yahoo.finance.com doesn't give $$ outpu
stumbled into this,
for those who may wonder why the script could not work,
i noticed :
IEGetTagsByAttrib>finance.yahoo.com,SPAN,id=yfs_184_msft,T,values
MessageModal>value_1
Cause of the array var name is values
the correct syntax is Messagemodal>values_1
kind regards,
Djek
for those who may wonder why the script could not work,
i noticed :
IEGetTagsByAttrib>finance.yahoo.com,SPAN,id=yfs_184_msft,T,values
MessageModal>value_1
Cause of the array var name is values
the correct syntax is Messagemodal>values_1
kind regards,
Djek
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Sample macro for yahoo.finance.com doesn't give $$ outpu
Well spotted. We need to get that sample macro updated and fixed for the next release.
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Sample macro for yahoo.finance.com doesn't give $$ outpu
Erm - where did you find this yahoo sample script?
It's not one of the scripts shipped with the product which is what I thought, so I'm now wondering what needs fixing where.
Did you find it on the site? I've searched but not found the code you referred to.
It's not one of the scripts shipped with the product which is what I thought, so I'm now wondering what needs fixing where.
Did you find it on the site? I've searched but not found the code you referred to.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?