|
NetFlix Queue ReaderUpdated Jun 08, 2005 by CoachDoug1 |
Comment #2 Thursday, June 9, 2005 5:41 AM
Hyper-simplified code would look something like this:
'this would go into the edit box script
Sub Control_OnKeyPress(key)
If key = 13 Then
Control.Text = PersistentObject("user URL").Text
End If
End Sub
----
'this would go in to the script for calling the feed
variable = PersistentObject("user URL").Text
Get "Http://netflix website" & variable
----
Following this, you could make this highly customizable and allow the user the ability to set the URL without having them convert it to an object, edit the script and repackage it again.
Just a thought.
Comment #3 Thursday, June 9, 2005 12:29 PM
Hope you can modify to suit what appear to be necessary requirements.
Thank you!
Comment #4 Thursday, June 9, 2005 4:19 PM
Sometimes I can't see the forest for the trees. Of course your right.
Scranshaft,
I'm a rookie at scripting. I've gotten to where I can edit others scripts fairly well but as to writing my own well, only if their very simple.
If I understand what your wrote above, the button would have the first script you listed. I'm not quiet sure where the second would go, in the same box as the first or in the RSS script?
Your help is appreciated greatly.
Comment #5 Monday, June 13, 2005 4:48 AM
The second script would go in with the RSS script where you call the feed so it should look something like this:
[CODE]
Sub Object_OnTimer...
If System.InternetConnected = True Then
feed = Object.PersistentStorage("userfeed").Text
Set http = CreateObject("Microsoft.XmlHttp")
http.Open "GET", "http: // netflix . com" & feed
[/CODE]
The rest of the code would continue to remain the same. Hope this clears things up a bit more. If not let me know.
Oh and it's Sranshaft...no c
Comment #6 Friday, July 8, 2005 12:41 AM
I was able to import it into DesktopX, edit the RSS feed with my own and then export it as a widget, but it sure would be a perk for you Doug to be able to get this working as Sranshaft has suggested.
Sranshaft - is this something you could enter into the script for Doug, wrap it up and submit for the masses (with Doug's permission of course)?
I'm sure it would help us all out and Doug could see exactly what you mean.
I wish I could help, but if it's not cut/paste I'm lost.
Comment #7 Saturday, July 9, 2005 2:57 PM
I've banged my head against the wall till it bled on this thing. Most of this scripting stuff is way over my head though I'm trying my best to learn it. I'm sure Sranshaft has his hands full with his own themes right now but if he wants to fix the thing I'm all for it. That way maybe I could find out exactly what parts I've been screwing up on.
CD1
Comment #8 Saturday, July 9, 2005 8:51 PM
Thanks so much for what you did with the widget. I have it up and running. It's nice to see something besides the media players, clocks and weather widgets (as nice as they are).
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!
Comment #1 Thursday, June 9, 2005 1:46 AM