Powershell & parameters
Posted: 13 Jan 2023 14:24
Hi,
Most of my questions where answered in https://www.proppfrexx.radio42.com/foru ... ell#p14230
However, I tried to create a integration with slack to show which program is started.
Created a small powershell script and used the following script. Based on documentation: https://www.proppfrexx.radio42.com/down ... 20v4.0.pdf
powershell.exe -file "G:\.....\Log2Slack.ps1" "NowPlaying: ${01trackname} | Program: ${programname} | Program Time: ${start}-${end} | Current Time: ${now}"[normal]
However the variables are not transformed into data when executing the powershell script.
Could you provide a little help how this could be achieved?
Most of my questions where answered in https://www.proppfrexx.radio42.com/foru ... ell#p14230
However, I tried to create a integration with slack to show which program is started.
Created a small powershell script and used the following script. Based on documentation: https://www.proppfrexx.radio42.com/down ... 20v4.0.pdf
powershell.exe -file "G:\.....\Log2Slack.ps1" "NowPlaying: ${01trackname} | Program: ${programname} | Program Time: ${start}-${end} | Current Time: ${now}"[normal]
However the variables are not transformed into data when executing the powershell script.
Could you provide a little help how this could be achieved?