[GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Actually, another possible glitch: It seems that, when the text is rendered, all {Tab} chars are stripped(?) This is the case whether reading from a text file, or a variable from within the script. I don't think it's tied to the .Desktop part.
ste(phen|ve) kunkel
Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Hello, I'm encountering a problem using this function/class.
I created a script to display volume level/mute status. So on script startup I create an object then I use render() to update text when needed.
All works well for a couple of minutes then objects stop showing. It seems they are auto-destroyed or something.
Any help would be great.
I created a script to display volume level/mute status. So on script startup I create an object then I use render() to update text when needed.
All works well for a couple of minutes then objects stop showing. It seems they are auto-destroyed or something.
Any help would be great.
Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Your object might be getting destroyed by AutoHotkey.
Code: Select all
; not good, your object is local.
fun() {
a := Subtitle.Render("hi")
}
Code: Select all
#Persistent
a := Subtitile.Render("hi")
fun(a) {
a.Render("what's up?")
}
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 186 guests