home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 612a.lha / PowerVisor_v1.13 / PowerVisor_v1.13.lzh / s / pv / ikey < prev    next >
Text File  |  1992-02-05  |  473b  |  13 lines

  1. ;Some useful pvcall examples
  2. ;Each feature described in this script file can work seperatelly, simply
  3. ;delete the other lines.
  4.  
  5. ;Install a routine so that PowerVisor restores the history line whenever
  6. ;the command is preceded with a '&'. This is useful when you want to
  7. ;execute a command a few times.
  8. pv 6 'v if(*{pv 12}.b==38,{*{pv 12}.b=32;*({pv 40}+5).b=1},0)'
  9. pv 16 'v if(*({pv 40}+5).b==1,{*{pv 12}.b=38},0)'
  10.  
  11. ;Beep if user snaps something
  12. pv 22 '{pv 24 600 20;v 1}'
  13.