|
 |
|
10-19-2005, 06:55 PM
|
#121
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
its wierd, the first time I commented out the window class, it suddenly worked, but I tried to click something and the radio shark, shifted inside the container to a point where it was unsuable. So I killed it, right click close in the taskbar... and it hasn't embedded again...
maybe it didn't embed the first time, I'm not sure... looked like it did... but in any case its not working
edit:
I did this... and it seems to embed intermittently:
Code:
[Scripts]
;This is the startup script that tells SKINbedder what to run, embed, and skin with.
StartUp=Run(E:\progra~1\griffi~1\radioSHARK\radioshark.exe),Embed(radioSHARK:250),OnTop(False),Embed(radioSHARK:250)
Last edited by DaPCWiz; 10-19-2005 at 07:06 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
10-19-2005, 09:19 PM
|
#122
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
Ok. Here's some tips:
1) Do not set OnTop after embedding. For some reason it kills embeded apps. I think OnTop is false by default, but you may want to move your OnTop(False) to the beginning of the startup= line.
2) If it take RadioShark more that 250ms to display, it will not work due to your time-out. Try increasing the :250 value and/or add a wait(100) or greater before even attempting to embed.
3) You don't need to embed it twice  .
BTW: Questions welcome... it's nice to see someone doing something with it. I will try to have a new release out soon with a completed iGuidance skin as well.
|
|
|
10-19-2005, 10:54 PM
|
#123
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
yeah, i've been messing with it since my last post.. I need to have the embed set to 500-1000 in order for it to grab it right. I left it at 1000 and it catches it 90% of the time. Now I'm working on a skin
|
|
|
10-20-2005, 12:55 AM
|
#124
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
Quote: Originally Posted by DaPCWiz
yeah, i've been messing with it since my last post.. I need to have the embed set to 500-1000 in order for it to grab it right. I left it at 1000 and it catches it 90% of the time. Now I'm working on a skin 
Nice! I'm guessing that the problem is a combination of a slow HD and the graphic dependability of the program you're skinning.
|
|
|
10-20-2005, 01:01 AM
|
#125
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
yeah, there are alot of factors involved. With 1000 tho, I think under normal loading conditions its fine. I may bump it upto 1500 to keep it safe, but that's prolly unnecessary.
I'm gonna make 2-3 skins for this. I'm currenctly torn between centrafuse and road runner... both have their plusses and minuses.
first I'm making a red centrafuse skin... then I will make a generic skin that will work rr/cf and then eventually a blue cf skin that visually works with stock centrafuse - I think... at least thats what I'm planning to do, lol.
Last edited by DaPCWiz; 10-20-2005 at 01:05 AM.
|
|
|
10-20-2005, 01:09 AM
|
#126
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
Quote: Originally Posted by DaPCWiz
yeah, there are alot of factors involved. With 1000 tho, I think under normal loading conditions its fine. I may bump it upto 1500 to keep it safe, but that's prolly unnecessary.
Quote:
I'm gonna make 2-3 skins for this. I'm currenctly torn between centrafuse and road runner... both have their plusses and minuses.
You got that right...
|
|
|
10-20-2005, 01:23 AM
|
#127
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
Actually, there is nothing wrong with using a very big number... as soon as it gets the window it will continue. If you set it to "0" it will wait forever and not continue until it gets the window.
The purpose of the time-out is #1) so that the user doesn't have to end-task SKINbedder if the window class/title never shows up, and #2) so that I can tell the iG skin to load GPS Info & Route Info if they are auto-shown on start-up, but give-up if they are not.
|
|
|
10-20-2005, 11:50 AM
|
#128
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
oh wow... if it set it to 0, it works 100% !!!
also - I have to use skinbedder_NOEX otherwise my skin tends to flicker...
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
10-20-2005, 12:12 PM
|
#129
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
I'm trying to skin and I'm a little confused... lets say I have controls_left.ini
is controls_left.png the background? if I don't have a controls_left.png it gives me an error...
Code:
[controls_left]
ButtonUpImage=menu_up.png
ButtonDownImage=menu_down.png
does that define generic up and down images for the whole file?
Code:
;Text can be overlaid in the center of the Rect.
Font=xirod
Size=14
Style=
Text=preset+
this doesn't seem to do much... what is this supposed to do?
|
|
|
10-20-2005, 12:57 PM
|
#130
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
hmmm actually, let me give u all the info and maybe u can just tell me what's wrong:
1) here is my code for controls_left.ini which is lanched at startup
Code:
[controls_left]
ButtonUpImage=menu_up.png
ButtonDownImage=menu_down.png
TopBorder=
LeftBorder=0
RightBorder=
BottomBorder=
Actions=presetplus,mute,presetminus
;OnClick and will occure only if there is not a button in that area.
OnClick=BringToFront(radioshark)
;OnDrag can be set to MoveWindow, CloseWindow, or left blank
OnDrag=
OnClose=Exit(SKINbedder)
[presetplus]
Top=23
Bottom=83
Left=0
Right=122
;If OnPressUp and OnPressDown both have values, then the button will "toggle"
OnPressDown=
OnPressUp=Play(ButtonClick.wav),focus(radioshark),Send(left)
[mute]
Top=121
Bottom=181
Left=0
Right=122
;If OnPressUp and OnPressDown both have values, then the button will "toggle"
OnPressDown=
OnPressUp=Play(ButtonClick.wav),focus(radioshark),Send(space)
[presetminus]
Top=219
Bottom=279
Left=0
Right=122
;If OnPressUp and OnPressDown both have values, then the button will "toggle"
OnPressDown=
OnPressUp=Play(ButtonClick.wav),focus(radioshark),Send(right)
next: here are the images I am using
controls_left.png AND menu_up.png - http://www.dapcwiz.com/misc/sbrs/menu_up.png
menu_down.png -
http://www.dapcwiz.com/misc/sbrs/menu_down.png
now, if when I load this setup it looks like this:
when I click something it looks like this:
after the click, it looks like this:
also, if I alt-tab out to a different app and back, it goes back to the onload visual. All this is with skinbedder_NOEX, with jsut skinbedder everything gets super flickery when I try to click something.
Last edited by DaPCWiz; 10-20-2005 at 01:03 PM.
|
|
|
10-20-2005, 01:59 PM
|
#131
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
Neither the text nor the OnClick/OnDrag/OnClose stuff works (I will probably remove most of that).
It shouldn't need a controls_left.png??? You defined the images to menu_up.png and menu_down.png, so that is all you should need. Yes, one is of all the buttons up and the other of all the buttons down.
The squished buttons you are getting was solved I thought, but I guess it is still there in the NoEX version. I will try to get a new version out soon. If you want to PM me your e-mail address I can send you a private beta that should not flicker and will draw the buttons right.
Also, I have never tested the loading image feature. I will look into the alt-tab bug you discovered.
|
|
|
10-20-2005, 02:13 PM
|
#132
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
nice. pm sent!
if I don't have controls_left.png, I get an error saying "image not found" ... i have no idea why...
|
|
|
10-21-2005, 01:29 AM
|
#133
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
okay - new set of problems.
1) RadioShark is VERY wierd.... I can grab it via window class ONLY if the device is physically connected (title won't grab)
If the device is not physically connected, window class doesn't work, but title does.
2) I have no way to hit the am/fm button... no keyboard key for it... is there anyway I can tell skinbedder to push the button on the UI? oooor can I overlay a bigger button on top of a smaller button maybe?
3) I need it to mute, when I switch away from it... is there anyway to make it like... onUNfocus(space) or something like that?
here is a ss of my current success:
tune+/tune-/preset+/preset-/mute all work
am/fm does not, and it does not auto mute when u switch to media or something
Last edited by DaPCWiz; 10-21-2005 at 01:37 AM.
|
|
|
10-21-2005, 03:03 AM
|
#134
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
The focus thing sounds hard :P. I believe you can configure CF to handle that for you though by muting/unmuting it as an input device. I do plan on adding a Control_Click like auto-it has, but that is a big PITA too. For now you can just have the button run an Auto-It script and then you can do anything it can. You may even be able to use Auto-It to space on loss of focus too, but remember that whenever you push a button, RadioShark loses focus to SKINbedder for a brief period of time (before the focus() command in the button script is ran).
|
|
|
10-21-2005, 09:58 AM
|
#135
|
|
Constant Bitrate
Join Date: Aug 2005
Location: Jersey
Posts: 222
|
Quote: Originally Posted by RPM_VR4
The focus thing sounds hard :P. I believe you can configure CF to handle that for you though by muting/unmuting it as an input device. I do plan on adding a Control_Click like auto-it has, but that is a big PITA too. For now you can just have the button run an Auto-It script and then you can do anything it can. You may even be able to use Auto-It to space on loss of focus too, but remember that whenever you push a button, RadioShark loses focus to SKINbedder for a brief period of time (before the focus() command in the button script is ran).
Radioshark doesn't feed audio in thru the sound card but rather acts as a USB sound card itself that can only be controlled via the radio shark software (not thru the normal windows volume stuff) because of that CF cannot mute it. I will spend some time thinking about it, seeing if I can find a solution to this problem...
what about the am/fm button.... can skinbedder press it? or make a bigger button above it that sorta presses it when u press it... something like that?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:13 AM.
| |