It is currently May 7th, 2024, 11:17 pm

iTunes Player Skin

Get help with creating, editing & fixing problems with skins
Kotse
Posts: 5
Joined: September 25th, 2010, 6:32 pm

iTunes Player Skin

Post by Kotse »

Hello!

Is it possible to have an iTunes player skin (ex. the one on Enigma) to "appear" when iTunes is launched and then "disappears" when you close it?

I was just wondering if this is possible since it would be really cool. I've made a few custom skins already but I don't have enough experience to do anything like that.

Thanks in advance.
User avatar
santa_ryan
Posts: 397
Joined: June 22nd, 2010, 4:11 am

Re: iTunes Player Skin

Post by santa_ryan »

Code: Select all

[MeasureCheckiTunes]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Process"
PerfMonCounter="ID Process"
PerfMonInstance="iTunes"
PerfMonDifference=0
IfEqualValue=0
IfEqualAction=*ACTION WHEN ITUNES IS CLOSED*
IfAboveValue=0
IfAboveAction=*ACTION WHEN ITUNES IS RUNNING*
I have three rules when I'm trying to help you.
  • Don't get mad when you don't understand something
  • Be VERY specific with what you ask for.
    The more specific you are, the higher the quality of support you receive.
  • Do not just copy and paste what I put in examples and come back saying it doesn't work.
    It does work, but I purposely left blanks that you need to fill for your specific needs.
Kotse
Posts: 5
Joined: September 25th, 2010, 6:32 pm

Re: iTunes Player Skin

Post by Kotse »

santa_ryan wrote:

Code: Select all

[MeasureCheckiTunes]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Process"
PerfMonCounter="ID Process"
PerfMonInstance="iTunes"
PerfMonDifference=0
IfEqualValue=0
IfEqualAction=*ACTION WHEN ITUNES IS CLOSED*
IfAboveValue=0
IfAboveAction=*ACTION WHEN ITUNES IS RUNNING*
Thanks for replying! Is the *ACTION WHEN...* supposed to be replaced with a specific coding? I put what you've given me into the Measures area of the skin, but it didn't seem to work.

Thanks again!
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: iTunes Player Skin

Post by Chewtoy »

The *ACTION WHEN..* should be replaced with what ever you want to happen when something happens.
http://rainmeter.net/cms/Bangs
I don't think, therefore I'm not.
User avatar
santa_ryan
Posts: 397
Joined: June 22nd, 2010, 4:11 am

Re: iTunes Player Skin

Post by santa_ryan »

!RainmeterShowFade (itunes is running) and !RainmeterHideFade (itunes is closed) are the two bangs that you want.

You cant deactivate the config, because then it completely closes the skin and you cant re-enable it. However, with the above two commands it will merely hide the skin but not close it.
I have three rules when I'm trying to help you.
  • Don't get mad when you don't understand something
  • Be VERY specific with what you ask for.
    The more specific you are, the higher the quality of support you receive.
  • Do not just copy and paste what I put in examples and come back saying it doesn't work.
    It does work, but I purposely left blanks that you need to fill for your specific needs.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: iTunes Player Skin

Post by Chewtoy »

santa_ryan wrote:You cant deactivate the config, because then it completely closes the skin and you cant re-enable it. However, with the above two commands it will merely hide the skin but not close it.
!RainmeterActivateConfig [Config] [Ini-file]
Activates a new configuration ini-file. The ini-file is just the name of the file; do not include the path.

!RainmeterDeactivateConfig [Config]
Deactivates the configuration ini-file.

Why would you not be able to deactivate the config? As long as you know where it is there is no problem what so ever.
As long as this is not running in the iTunes skin ofc.
I don't think, therefore I'm not.
User avatar
santa_ryan
Posts: 397
Joined: June 22nd, 2010, 4:11 am

Re: iTunes Player Skin

Post by santa_ryan »

Well, what i meant chew was that if you want this all self contained in a single ini you cant use Deactivateconfig, as stated by your last sentence.

If you want to use 2 seperate inis then deactivateconfig is fine, but if you deactivate the skin that is measuring itunes, if you reopen itunes the skin wont reopen.
I have three rules when I'm trying to help you.
  • Don't get mad when you don't understand something
  • Be VERY specific with what you ask for.
    The more specific you are, the higher the quality of support you receive.
  • Do not just copy and paste what I put in examples and come back saying it doesn't work.
    It does work, but I purposely left blanks that you need to fill for your specific needs.