Jump to content

Recommended Posts

Posted

I'm trying to read the info out of these two frames and put them into an array. But I can't even get it to see the frame data that refreshes every couple minutes..

Help would be great..

<tr>

<td valign="top" width="491" height="65" colspan="3"><iframe name="value" name="value" height="65" width="491" frameborder="0" align="left" noresize scrolling="no" marginwidth="0" marginheight="0" src="http://websvc.bdsrealtime.com/NBDS.Consumer.Tempo/tempo_custom.aspx?uid=ServiceCFBT&stnid=6574&len=471&"></iframe></td>

</tr>

Posted

I'm trying to read the info out of these two frames and put them into an array. But I can't even get it to see the frame data that refreshes every couple minutes..

Help would be great..

<tr>

<td valign="top" width="491" height="65" colspan="3"><iframe name="value" name="value" height="65" width="491" frameborder="0" align="left" noresize scrolling="no" marginwidth="0" marginheight="0" src="http://websvc.bdsrealtime.com/NBDS.Consumer.Tempo/tempo_custom.aspx?uid=ServiceCFBT&stnid=6574&len=471&"></iframe></td>

</tr>

Are you getting a reference to the frame? A Frame (or iFrame) differs from a Form in that it is the root of different document. You can't access stuff in the frame by continuing to refer to the parent $oIE object.

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Are you getting a reference to the frame? A Frame (or iFrame) differs from a Form in that it is the root of different document. You can't access stuff in the frame by continuing to refer to the parent $oIE object.

;)

Ok now I'm tottaly lost. I don't want to write it for me but some more dirrect hints would be greatly apprreciated..

Posted

Ok now I'm tottaly lost. I don't want to write it for me but some more dirrect hints would be greatly apprreciated..

Look at the help file examples for _IEFrameGetCollection(), _IEFrameGetObjByName(), and _IEIsFrameSet().

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Look at the help file examples for _IEFrameGetCollection(), _IEFrameGetObjByName(), and _IEIsFrameSet().

;)

k I will try the options...

Posted

k I will try the options...

Can somneone help me with just capturing the Song Name and Artist?? The closest I can get is reading the whole html file and parsing it out which would be a pain. Help would be great I have looked at all the sussgestion in the help file and online and haven't seen anything that can capture this. Please an example would be great...

Scott

Posted

Can somneone help me with just capturing the Song Name and Artist?? The closest I can get is reading the whole html file and parsing it out which would be a pain. Help would be great I have looked at all the sussgestion in the help file and online and haven't seen anything that can capture this. Please an example would be great...

Scott

I'm not seeing in any of your previous posts what page you're even talking about...

Is http://websvc.bdsrealtime.com/NBDS.Consume...mp;len=471& what you're trying to read data from?

Posted

Yes the artist and the song name...

Use _IECreate() to open the page.

Use _IEFormGetObjByName() to get the form on the page.

Use _IEFormElementGetObjByName() to get "detectsong" and "detectartist" objects in the Form.

Display the .value properties of the those objects. It's all in the help file, with examples. Six to ten lines of code and you've got it.

If you get stuck, post what you've got for more help.

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Use _IECreate() to open the page.

Use _IEFormGetObjByName() to get the form on the page.

Use _IEFormElementGetObjByName() to get "detectsong" and "detectartist" objects in the Form.

Display the .value properties of the those objects. It's all in the help file, with examples. Six to ten lines of code and you've got it.

If you get stuck, post what you've got for more help.

;)

Yes MAster/... I will try..

Posted

Yes MAster/... I will try..

@Yoda: No! Not try. Do. Or do not. There is no try.

@Master Kan: When you can take the .value from my DOM object, it will be time for you to leave.

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...