DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

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

TAF2000

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
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

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #1 on: December 23, 2008, 07:33 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: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #2 on: December 23, 2008, 07:36 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, 07:38 PM by mouser »

TAF2000

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #3 on: December 23, 2008, 07:42 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: 118
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #4 on: January 01, 2009, 10:17 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
-------------------------------------------

Question everything, use a fact-checker.
Respect yourself and respect others.
Peace out!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #5 on: January 11, 2009, 01:12 AM »
:) 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

Code
;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%
    }
  }
}
« Last Edit: January 11, 2009, 08:24 AM by skrommel »

TAF2000

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #6 on: March 31, 2009, 11:13 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: 753
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #7 on: April 01, 2009, 01:50 PM »
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

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #8 on: April 01, 2009, 03:54 PM »
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: 753
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #9 on: April 01, 2009, 09: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

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #10 on: April 01, 2009, 09:17 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: 753
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #11 on: April 01, 2009, 09:20 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

  • Code Fish
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #12 on: April 01, 2009, 09:28 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: 753
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #13 on: April 01, 2009, 09:41 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: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: Improvement for Temporality Screens to Add Volume Control
« Reply #14 on: April 09, 2009, 01:39 AM »
: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

TAF2000

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

Original address: https://www.donationcoder.com/forum/index.php?topic=16121.0