Suggestion:
Since this app can't be embedded by conventional means into RR, you need a way to allow users to position the app which is skin based.
I modified your Coverjukeload script to pull xpos and ypos straight from $skinpath$skin.ini instead of it being hard coded in the script.
CoverJukeLoad
Code:
$rr = ObjCreate("RoadRunner.sdk")
$skinpath = $rr.getinfo("=$skinpath$")
Opt ("wintitlematchmode", 4)
if WinExists("classname=OpenGLUT", "") then
$Cvrj = WinGetHandle("classname=OpenGLUT", "") ;grab coverjuke.
$var = IniReadSection($skinpath & "skin.ini", "coverjukeload")
WinMove($Cvrj, "", $var[1][1], $var[2][1]) ;move coverjuke in a way that fits the screen and is not in the way.
Exit
EndIf
IniWrite("coverjuke.ini", "coverjuke", "defaultdir", $rr.getinfo("=$MUSICPATH$")) ;sets music directory from rr.ini.
IniWrite("coverjuke.ini", "coverjuke", "pathplayer", @ScriptDir & "\Cover.exe") ;sets script "Cover" to be the player(RR Connection)
IniWrite("coverjuke.ini", "coverjuke", "internalplayer", "false") ;make sure external player is used.
run("Coverjuke.exe") ;after all is good open up coverjuke.
WinWait("classname=OpenGLUT", "", 10) ;wait untill coverjuke is running.
$Cvrj = WinGetHandle("classname=OpenGLUT", "") ;grab coverjuke.
if $Cvrj = "" Then ;if no success exit.
Exit
Else
$var = IniReadSection($skinpath & "skin.ini", "coverjukeload")
WinMove($Cvrj, "", $var[1][1], $var[2][1]) ;move coverjuke in a way that fits the screen and is not in the way.
EndIf
skin.ini
Code:
[coverjukeload]
CJxpos=-4
CJypos=-10
COVERJUKE_ACTION=1
.
Bookmarks