Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 11, 2016, 04:04:07 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Improvement for Temporality Screens to Add Volume Control  (Read 6215 times)

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
IDEA: Improvement for Temporality Screens to Add Volume Control
« on: December 10, 2008, 02:47:57 PM »
Okay... after wandering around many threads on volume control by time of day, I gave up on a full (at least that I could understand) solution... then...

I saw this Temporality Screens  ( I like the idea of changing my background each hour. )

So.... I am hoping that a little adjustment could be made to it to include functionality for setting the sound volume at the same time that the background is changed, and it would look in the file that you list the pictures in, and check to see if there is a list for the volume %, too.

Is this something that could be done.  Is it writen in ahk?  I could try to do it myself if you could provide the source code (though I am really a newbie to this).

Thanks, and Donation Coder ROCKS!
Feeling a little code-ish?

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #1 on: December 23, 2008, 01:33:34 PM »
Errr...  ::Poke::

Anyone out there?

I think I would like to try the change myself, but don't know where to get the source code.
Feeling a little code-ish?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #2 on: December 23, 2008, 01:36:49 PM »
I could have sworn i posted a reply to this but it must have timed out.

What i said (or meant to say) was:
I haven't worked on Temporality Screens in several years -- it's fun to hear someone using it.

However, the code is C++ not ahk.  But I am happy to post the source code if you (or anyone else) still wants to work on it.
It is compiled with Visual C++.
« Last Edit: December 23, 2008, 01:38:38 PM by mouser »

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #3 on: December 23, 2008, 01:42:03 PM »
Oh.  That is what I was afraid of.  Do you know of a free-source C++ compiler?

Can Notepad++ compile C++?  I use it for all my ASP, PHP, but I know pretty much nothing of C++.
Feeling a little code-ish?

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 107
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #4 on: January 01, 2009, 04:17:22 PM »
Do you know of a free-source C++ compiler?

Check out the C++ Programming School section on this very website for freebies... C++ recommendations
-------------------------------------------

Choose life -or at least respect it.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #5 on: January 10, 2009, 07:12:02 PM »
 :) Here's WallpaperVolume, a quick hack, untested, XP only.

Just fill in the first few lines with wallpaper names and volumes, and see if it works.

Skrommel

;WallpaperVolume.ahk
; Change the volume when the wallpaper changes in XP
;Skrommel @ 2009

wallpaper1=Waves.jpg
volume1=10
wallpaper2=Sunlight.jpg
volume2=50
wallpaper3=Golf.jpg
volume3=100

#NoEnv
#SingleInstance,Force

Loop
{
  Sleep,1000
  oldwallpaper:=wallpaper
  RegRead,wallpaper,HKEY_CURRENT_USER,Control Panel\Desktop,wallpaper
  If (wallpaper=oldwallpaper)
    Continue
  Loop
  {
    currentwallpaper:=wallpaper%A_Index%
    If currentwallpaper=
      Break
    IfInString,wallpaper,%currentwallpaper%
    {
      currentvolume:=volume%A_Index%
      SoundSet,%currentvolume%
      TrayTip,%applicationname%,Volume: %currentvolume%
    }
  }
}
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: January 11, 2009, 02:24:59 AM by skrommel »

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #6 on: March 31, 2009, 06:13:15 PM »
Oh.  Sorry it took so long to get back on this.  I forgot to set the email notice on responses.

Skrommel, I am not really sure how this is to work... does it change the wallpaper on it's own, or does it need Temporality Screens running at the same time?
Feeling a little code-ish?

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #7 on: April 01, 2009, 08:50:46 AM »
from what I gathered looking at the script, it looks like it changes the wallpaper every 1000 seconds, and doesn't need temporality screens running.
[Insert really cool signature here]

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #8 on: April 01, 2009, 10:54:19 AM »
Hummm.  It doesn't seem to be making any changes.

I would assume I am wrong that I don't see %A_Index% being set or changed?
Feeling a little code-ish?

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #9 on: April 01, 2009, 04:13:13 PM »
%A_Index% is part of the loop. it changes each time the loop reaches the end and starts back at the top... I think
[Insert really cool signature here]

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #10 on: April 01, 2009, 04:17:24 PM »
Hummmmm... then I am not sure why it isn't doing anything.
Feeling a little code-ish?

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #11 on: April 01, 2009, 04:20:28 PM »
1. what did you put for the values of the wallpaper?
2. where did you put your wallpaper?
[Insert really cool signature here]

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #12 on: April 01, 2009, 04:28:44 PM »
100_0033.JPG
100_0034.JPG
100_0035.JPG

they are on the desktop next to the WallpaperVolume.exe program file

It isn't changing the wallpaper or the volume.  As far as I can tell, it isn't doing anything but running in the tray.

Feeling a little code-ish?

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #13 on: April 01, 2009, 04:41:00 PM »
hm, I can't get it to work on my computer either.
[Insert really cool signature here]

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #14 on: April 08, 2009, 08:39:52 PM »
 :tellme: WallpaperVolume above changes the volume when the wallpaper changes.

Every second it checks the name of the current wallpaper, and if it matches one in the list, it changes the volume accordingly.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #15 on: April 08, 2009, 08:42:59 PM »
hummm.  so it does need the temporality program running.  I will try that out then.  Thanks!
Feeling a little code-ish?