ok I have created some vbs that opens outlook and created an skin ini file dynamically
then i want the skin to execute the script to alter (recreate the file) and refreshe it.
summary . the vbs opens a connection to outlook and loops through the calendar.
tests decide what will be written to an ini file.
the skin itself works perfectly (except running the vbs)
(displays correctly and the clock changes)
and the script itself works to create a good skin file.
if i double click on the script it create a valid skin file.
so if i double click on the vbs and then right click on the skin it updates
this should run the vbs script it is in the same directory as the ini file.
Code: Select all
[Measuretime]
Measure=Calc
Formula=(Measuretime %600) + 1
IfEqualValue=1
IfEqualAction=["Update Cal Dynamic Outlook.vbs]"
IfEqualAction=!Rainmeterrefresh
Code: Select all
strCalFile = "Outlook Dynamic Cal.ini" ' Set Path to offline Calendar cache
Set wshFSO = CreateObject("Scripting.FileSystemObject")
strCalFile = wshFSO.GetAbsolutePathName("") & "\" & strCalFile