This is an odd one, every now and again Ozi will not end up embedded, then I close it and try again and it will, without changing anything. I've tried this on both the lastest version of ozi and the development version, seems weird. :confused:
Thought it could just be an issue with my laptop but have just installed it on the Car-PC and it is having the same issue. BTW this is just trying to embed with Skinbedder, not through a front end, but interestingly when launching through RR it does the same thing
What's the load time of Ozi? If it's more than 5 seconds, you'll have to increase the timeout in the startup script Ozi.ini
;This is the startup script that tells SKINbedder what to run, embed, and skin with.
RPM (or anyone else): Does this long timeout have an effect on anything else?
Yep that sorted it, Cheers :) :)
Originally Posted by Bugger
Thanks for the tip RPM... wait(300) was enough for the skin to be drawn in front.
Originally Posted by RPM_VR4
Here's the latest couple of screen shots:
In answer to the question about if 1000 timeout effects anything... no. As soon as it finds the window it will embed and continue. The time-out is only there so the program doesn't lock up if the window never appears. If you are totally sure the window will appear (and you don't care if Sb locks up if it doesn't), then you can just set the time-out to 0 which will wait forever.
Edit: Bugger... I am so glad you are using Sb to its full potential. Your skin really shows how powerful it is. You did a perfect job making the file-save dialog truly integrated into your skin. AWESOME! Thank you. Keep up the good work.
how would you go about getting the value of a textbox and displaying it somewhere else on the screen? eg with the MM control above say you only want to display speed and maybe distance to next waypoint from the nav control, it would be cool to have this info just in a text label at the top of the screen. I take it this is outside the scope of SB?
I have just had a look at the API of Ozi and it looks like there is a function to get the navigation data, i might have a play with coding something up and maybe Bugger can add it as an overlay to the skin??
EDIT : Had a play with the Ozi API and came up with this
could this be overlayed ontop of the ozi skin??
SKINbedder can only crop a window. (so yes, out of scope)
Now that you have made an app with the info you want... yes, SKINbedder can remove the border and place it anywhere and on top of the other stuff. If you make the background a unique color, SKINbedder can remove it and then just place the text anywhere you want. (if Sb removed black, then the buttons with black text would look kinda strange) You would also want to make the fonts bold and use colors that will not blend in with the map background. Actually if you make the background white, a 50% transparancy might look good. Alternativly you could just make your app have a transparant background or an alpha-blend and then Sb could just embed and place it without having to modify it. ...or you could just remove your own boarder, make it always on-top, and then it would have nothing to do with Sb (but then it wouldn't hide when you change apps in your front-end).
Can you put the true bearing on your app?
If you post a copy of the app, I'll have a look at putting it in the skin.
I've been playing around with adding the OziInfo app that Subsonic made, and also building more of the skin...
Does anyone know how to keep this app in focus (in front of Ozi) when I use Focus(OziWindow),Type(comand keys) to perform actions??? Currently I'm just repeating Focus(OziInfo) after each command.
Focus(OziInfo) sould be your first command for each button. After that, OziInfo should have focus for the rest of your commands. You should not have to use it more than at the begining of each script. You do have to have it at the begining because when ever you click a SKINbedder button, that click gives SKINbedder focus instead of the OziInfo window.
EDIT: Oh sorry... I get the question now :). You will probably have to make it a Top-Most window. You can do that with an Auto-It script. It is also known as "Always On Top".