$tip

From Scriptwiki
Revision as of 00:02, 23 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The $tip identifier has two functions, both listed here.

Functions

Function 1

The $tip() identifer allows you to create scripted tips that are independent of normal tip events.

$tip(name,title,text,delay,iconfn,iconpos,alias,wid)

Returns Nth position of tip if it was successfully created, zero if not.

Note: name, title, text are required.
delay, iconfn, iconpos, alias, and wid can be $null.

Function 2

Returns properties for the specified tip.

$tip(name/N)

Parameters and properties

These are parameters for function 1 and properties for function 2.

  • name - name of the tip
  • title - title
  • text - text
  • delay - from 3 to 60 seconds
  • iconfn - icon filename
  • iconpos - icon position in filename
  • alias - alias to perform when tip is double-clicked
  • wid - id of window to which tip belongs