shell-ahk
Version:
`Lodash`/`jQuery` for `AHK`.
21 lines (17 loc) • 459 B
text/coffeescript
# -check
import tip_getPosition from './getPosition'
import tip_noop from './noop'
import tip_toString from './toString'
###* import('./tip').Tip ###
export default (message, p = undefined) ->
unless message then return message
unless p then p = do ->
a = tip_getPosition()
return [
a[0] + 1,
a[1] + 1
]
tip_msg = tip_toString message
tip_noop tip_msg
Native 'ToolTip, % tip_msg, % p[1], % p[2]'
return message