Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Needed with OSD and OSDHide
#1
Question 
Hi everyone,
I've been messing around with OnScreenDisplay and I'm having some issues hiding it. I think I'm supposed to make new functions and put these in, but I don't know how I tie those into the macros. Anyway, here's what I have.
Code:
Copy      Help
if win("" "AutoHotkey")
    clo win("" "AutoHotkey")
    osdid
else
    run "$user profile$\Downloads\Spotify.ahk-master\Example Hotkeys.ahk" "" "" "*" 0x10000
    _monitor=1
    OnScreenDisplay "Spotify Volume Mode" 2 +1 +1 "Calibri" 48 0xFFFFFF 1 "" 1


Thank you so much!
#2
cant tell from your code where your having trouble with OSD

i'm not completely sure what your using osdid for either.

to post QM code to the forum
In QM, to copy all or selected text, use menu Edit -> Other Formats -> Copy for QM Forum. It copies correct and colored code to the clipboard. Then simply paste in the forum. Don't use the Code button.

to hide osd can simply use

OsdHide
#3
Wow I feel dumb... I misinterpreted the help text for OsdHide and didn't realize I needed the capitals. That's why I was having issues... Thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)