topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 9:26 pm
  • Proudly celebrating 15+ 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 12355 times)

TAF2000

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 38
  • Code Fish
    • View Profile
    • 2000 Web Design
    • Donate to Member
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 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,914
    • 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 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 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 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
    • 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 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
    • 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 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%
    }
  }
}
« Last Edit: January 11, 2009, 02:24 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 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
    • 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 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 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: 753
    • 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 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 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
    • 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 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 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
    • 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 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
    • 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 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

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 PM »
hummm.  so it does need the temporality program running.  I will try that out then.  Thanks!
Feeling a little code-ish?