Results 1 to 5 of 5

Thread: Script to determine if Daylight or Dark out there...

  1. #1
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705

    Script to determine if Daylight or Dark out there... (Script inside!)

    I have created a script to AutoIT with a function called IsItDark that will return 1 if dark, and return 0 if daylight (based on your location).

    The function is used like this:
    IsItDark ($longitude, $latitude, $tzoff, $DSTactive)

    So, with this function, you can do whatever you want when it is dark -- automatically!
    Requires AutoIT v3.x (link to page)

    See attached files, and also look at the example provided.

    Enjoy!
    Attached Files Attached Files
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  2. #2
    Newbie
    Join Date
    Nov 2005
    Posts
    39
    Nice!

  3. #3
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,061
    Why don't you just look out the window?

  4. #4
    FLAC strohj's Avatar
    Join Date
    Aug 2004
    Location
    Pearland
    Posts
    1,345
    well you can use this to trigger another script to change the skin on frodoXM .. that way you have a dark skin for at night and a light one for during the day...

    <Guinness voice> Brilliant!! </Guinness voice off>
    Pentium 4m 1.5GHz|MB896|Roadie Extreme|XM-Direct|Rikaline 6010|T-View 7"|Streetdeck|160gb Western Digital|1Gb DDR2-533 Ram

  5. #5
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    Quote Originally Posted by Enforcer
    Why don't you just look out the window?
    And then? Manually change skins, brightness etc? Cool, you do that!
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

Similar Threads

  1. Any AutoIt script experts out there?
    By mindracing in forum Centrafuse
    Replies: 8
    Last Post: 08-11-2005, 03:19 PM
  2. [PREVIEW] NCS (neocar script) reference
    By netsuo in forum NeoCar Media Center
    Replies: 6
    Last Post: 12-14-2004, 11:37 AM
  3. *SIGH* Script Kiddies...
    By frodobaggins in forum Off Topic
    Replies: 19
    Last Post: 04-02-2004, 03:38 AM
  4. Divx movies really dark.....??
    By ricoks in forum Software & Software Development
    Replies: 7
    Last Post: 11-06-2003, 06:28 PM
  5. Replies: 18
    Last Post: 04-24-2001, 09:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •