FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

URL for MediaPlayer's image propery

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
simbo
Senior Member


Joined: 28 Jul 2006
Posts: 78
Location: UK

PostPosted: Wed May 16, 2007 5:27 pm    Post subject: URL for MediaPlayer's image propery Reply with quote

OK, a bit of brainstorming required here...

I can only access album art via a URL (even though it's local - doh!) but the [color=darkred]image[/color] property doesn't seem to like you providing URLs. I just doesn't display it. I'm assuming it only accepts local file names.

So, can anybody think of an easy way of either:
a) getting Clicker to accept and use a URL for the [color=darkred]image[/color] property, or
b) a quick way of programmatically "downloading" the image so it can be accessed locally?

Cheers.
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Wed May 16, 2007 5:41 pm    Post subject: Re: URL for MediaPlayer's image propery Reply with quote

This is correct. we require a local file path. You should be able to script grabbing the image and store it as a file, but I cannot remember off-hand how this is done.

Maybe you can use the XML HTTP Request object?

Best.
--
Jonas

[quote="simbo"]OK, a bit of brainstorming required here...

I can only access album art via a URL (even though it's local - doh!) but the [color=darkred]image[/color] property doesn't seem to like you providing URLs. I just doesn't display it. I'm assuming it only accepts local file names.

So, can anybody think of an easy way of either:
a) getting Clicker to accept and use a URL for the [color=darkred]image[/color] property, or
b) a quick way of programmatically "downloading" the image so it can be accessed locally?

Cheers.[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
simbo
Senior Member


Joined: 28 Jul 2006
Posts: 78
Location: UK

PostPosted: Mon May 21, 2007 7:18 pm    Post subject: Reply with quote

Good idea. I'm already using MSXML so it wouldn't add much to the complexity. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group