GTAStunting

General => General Discussion => Computer Talk => Topic started by: Andyroososoft on August 25, 2006, 02:40:46 PM

Title: Cool Program Idea
Post by: Andyroososoft on August 25, 2006, 02:40:46 PM
Hey, i just got a wicked idea earlier for a program.

I know for a fact we have some great programmers here, and hopefully this is do-able.

It's not GTAS related, but when you think about it, it could be pretty cool if done.

My idea is to import webcam feeds (such as http://www.fred-ezone.ca/webcams/?cam=ch (http://www.fred-ezone.ca/webcams/?cam=ch) ) into being Desktop backgrounds. I know that animated desktop backgrounds are fully possible, ive seen them but never really bothered with them until now. That link right there is to view a feed which is a view of downtown of where i live. To have that as a background on my desktop would be wicked - i could be talkin to my buddy on his cell phone and I could be like "Hey, i see you're standing outside city hall.... now you've turned around.... now you're scratching your nose... etc." Would definately be wicked, and I know a ton of people who would love something like this.

The program would function by importing a new image as the background every 3 seconds (as it does at http://www.fred-ezone.ca/webcams/?cam=ch (http://www.fred-ezone.ca/webcams/?cam=ch) ) . Might take up a bit of memory, and would require a constant connection to the net, however would be totally wicked. If the internet is disconnected in any way, it could just freeze it at the current frame until the connection's back up.

Anyway, anybody's who's capable of this, have a look at it. Would be pretty freakin cool, guys

 - - - Roo
Title: Cool Program Idea
Post by: Jason on August 25, 2006, 02:56:09 PM
tis a great idea, but only for certain privelaged people. the code shouldnt be too hard though. and no, i cant do it
Title: Cool Program Idea
Post by: JayFoxRox on August 25, 2006, 03:08:08 PM
Should be easy... I will try it now
Title: Cool Program Idea
Post by: Qouad on August 25, 2006, 03:10:54 PM
Cool Idea dude...that would be awsome ...the webcams in my city are updated like once/minute...that made me think of soomething that shoulg make the program even more awsome...a changable update time, longer time should use less memory (?...i dont know) and that would give more people a chans to try and use it.
Title: Cool Program Idea
Post by: RevV on August 25, 2006, 03:20:00 PM
Found this.

http://www.wugnet.com/shareware/spow.asp?ID=246 (http://www.wugnet.com/shareware/spow.asp?ID=246)

Title: Cool Program Idea
Post by: Andyroososoft on August 25, 2006, 05:44:52 PM
thats very close to what i want, except that particular program only offers the live feed for screensavers, not for desktop backgrounds
Title: Cool Program Idea
Post by: RevV on August 25, 2006, 05:50:22 PM
Oh, I'll see if I can find a desktop background one.

Edit: If you right click on desktop and go to Properties>'Desktop' tab>Customize Desktop>'Web' tab>New, then put the address for the webcam in, then click OK till your back on your desktop and it should be there.

Its kinda of a small size but I'll keep looking see if I find anything.

Edit 2: I just found out you can resize and move it around but its like still embedded on your desktop. to move it put your cursor at the top and click and drag, and to resize just put your cursor at the bottom right corner, click and drag.



Do I get a cookie?
Title: Cool Program Idea
Post by: Andyroososoft on August 25, 2006, 06:14:05 PM
What would be the exact address I would put in?

i tried putting in: http://205.174.168.6/record/current.jpg (http://205.174.168.6/record/current.jpg)? and it keeps a constant image - it doesnt change

EDIT: I just tried putting in http://www.fred-ezone.ca/webcams/?cam=ch (http://www.fred-ezone.ca/webcams/?cam=ch) and it works, but it still remains that it still has a stupid frame that goes nuts whenever my mouse hovers over it.
Title: Cool Program Idea
Post by: RevV on August 25, 2006, 06:35:59 PM
I just put my mouse over the top part then click the little maximise box thing and it made it the whole background without the frame thing.
Title: Cool Program Idea
Post by: Andyroososoft on August 25, 2006, 06:50:25 PM
I actually got it working the way i want it! some old knowledge of HTML really helps!!

What i did was i made a new html document. Here's the code:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <!-- 1156558343 !-->
    <title>Fred-eZone - Free WiFi for Fredericton - WebCams</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="http://www.fred-ezone.ca/webcams/e1-styles.css" type="text/css">
    <script src="http://www.fred-ezone.ca/webcams/includes/camcontrol.js" type="text/javascript"></script>
    </head>
<body onload="preloadImages();" style="margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px;">
<center>
<img name="CamImg" src="http://205.174.168.6/record/current.jpg?1156558343" onLoad="TimerID=setTimeout('loadcamera(\'http://205.174.168.6/record/current.jpg?\')', 2000);" onError="TimerID=setTimeout('loadcamera(\'http://205.174.168.6/record/current.jpg?\')', 2000);" width="500" height="380">

</body>
</html>

I saved that as an html file on my computer. I then got the Customize Desktop thing to synchronize with that. Then i just adjusted the size of the window so that when i stopped hovering over it, there were no borders at all (notice in the html i deleted all of the margins in the body).

Attached is what my desktop looks like now, i love it!
Title: Cool Program Idea
Post by: RevV on August 25, 2006, 06:52:14 PM
Glad ya got it working dude!
Title: Cool Program Idea
Post by: Andyroososoft on August 25, 2006, 09:58:29 PM
cookie's in the mail, bud
Title: Cool Program Idea
Post by: Psycho on August 25, 2006, 11:28:43 PM
[offtopic] where did you get that on screen checklist/reminder/calendar thingy? [/offtopic][/b][/size]
Title: Cool Program Idea
Post by: gunner on August 26, 2006, 02:17:12 AM
Very possible, problem is.. once fox seen this, i am already to late, thats why i never post programs here.
Title: Cool Program Idea
Post by: ImPaKt on August 26, 2006, 07:54:14 AM
why do you happen to have 'ganja.png' there?

and nice job
Title: Cool Program Idea
Post by: Link on August 26, 2006, 08:04:33 AM
Fucking nice ! will try to find a webcam in my town
Title: Cool Program Idea
Post by: JayFoxRox on August 27, 2006, 09:22:53 AM
Well i was starting on the html code for custom designs when packing ma stuff for the lan - looks like andy was faster

However - first alpha of my tool. dont expect to much. Only took me a few mins

When it asks for ocx or dll simply google. Tool works fine here - but remeber its still alpha so i cant make sure it works for every1. Background still flashing due bad way of system calls  
Title: Cool Program Idea
Post by: BlackPearl on August 27, 2006, 09:32:04 AM
woot lol, im watching a street Corner
Title: Cool Program Idea
Post by: JayFoxRox on August 27, 2006, 09:46:54 AM
Read the first post..

My tool is downloading that image and then it adds it as desktop image. Well - wont work on all servers now
Title: Cool Program Idea
Post by: Enbom on August 27, 2006, 09:51:46 AM
EDIT.

Wrong topic for some reason. Im sry
Title: Cool Program Idea
Post by: Link on August 27, 2006, 10:18:13 AM
Well i founded the missing file and i started the program.
It runed in 5 seconds and so :

Title: Cool Program Idea
Post by: Sabotage on August 27, 2006, 11:19:19 AM
uh?
Title: Cool Program Idea
Post by: Link on August 27, 2006, 12:19:23 PM
Quote from: SabotagE
uh?

http://justfuckinggoogleit.com (http://justfuckinggoogleit.com)

Or dl attachment
Title: Cool Program Idea
Post by: JayFoxRox on August 28, 2006, 06:36:21 AM
Quote from: Linkdk
Well i founded the missing file and i started the program.
It runed in 5 seconds and so :

Receiving error - Caused by crapy coding

Well its been only a test - so... dont expect bugfixes or anything right now. Maybe there will be a new version - maybe not
Title: Cool Program Idea
Post by: Sabotage on August 28, 2006, 03:45:13 PM
Quote from: Linkdk
Quote from: SabotagE
uh?

http://justfuckinggoogleit.com (http://justfuckinggoogleit.com)

Or dl attachment

it was a homemade program made in like 15 minutes, fuck I hate stupid people...
Title: Cool Program Idea
Post by: Link on August 29, 2006, 12:24:32 PM
I love that site
SimplePortal 2.3.7 © 2008-2025, SimplePortal