Thanks for the explanation and code jsmorley
Unfortunately, it still can't do what I want so I am going to try my best to explain myself so please bare with me. What I want to be done is broken down into steps to make it easy for me to explain:
Drive action -> Skin action
1) Empty Drive - > Skin is loaded but is automatically hidden
2) Load Drive -> Since skin is loaded, it is now visible as there is a disk
3) Unload Drive -> Skin automatically hides since the drive is empty
If the loading and unloading of the drive is done, I would like the skin to cycle between visible and hidden automatically without refreshing the skin or anything. Basically, just like the USB Drive, when I insert it (assuming the same drive letter), the skin shows and when I eject it, the skin hides but with the DVD Drive.
Attempt 1
I have attached a skin sample (1.ini) which works with Step 2 and Step 3. However, it won't go from Step 1 to Step 2 without me refreshing the skin.
Attempt 2
I have attached another skin sample (2.ini) which works with Step 1 and Step 2. However, it won't go from Step 2 to Step 3 without me refreshing the skin.
Thus I have two skins which needs to be combined into a single skin and I that is where I am lost
Would appreciate some help
You do not have the required permissions to view the files attached to this post.