Sure,you could create a subroutine that writes a wintegrate script to their device...


      EQU ESC TO CHAR(27), SOH TO CHAR(1)
      EQU STX TO CHAR(2), CR TO CHAR(13)

      WSCRIPT=ESC:SOH:'Global SKS446=':QUOTE(MESSAGE):CR
      WSCRIPT:=ESC:SOH:'Global HScript='
      WSCRIPT:='BStoAscii(`Loop\r'
      WSCRIPT:='Response = MessageBox(SKS446,'
      WSCRIPT:='"Message from ':MYNAME
      WSCRIPT:='",MB_ICONASTERISK|MB_OKCANCEL|MB_DEFBUTTON2)\r'
      WSCRIPT:='Until Response = "OK"\r'
      WSCRIPT:='Repeat'
      WSCRIPT:='`)':CR
      WSCRIPT:=ESC:SOH:'Convert HScript,char(254),cr':CR
      WSCRIPT:=ESC:SOH:'Execute HScript':

      OPENSEQ TTYNAME TO TTY$FD THEN
      MAXN=LEN(WSCRIPT)
      FOR N=1 TO MAXN STEP 80
         TEMP=WSCRIPT[N,80]
         WRITEBLK TEMP ON TTY$FD THEN WRITTEN=1
      NEXT N
      CLOSESEQ TTY$FD

One of the guru's on the list can probably come up with a better solution but
this works pretty well for me.  This is not the complete subroutine.

Hope this helps ya.

Scott
> Does anybody know if it is possible to send a wintegrate pop-up box to a
> different user, from either a unibasic program or a shell script?
> Specifically, if Fred is trying to access a record, which is locked by
> Barney, is it possible to have a pop-up box appear on Barney's screen?
> Currently, we send an email to Barney, which does not work well if Barney
> does not have his email client open.
> 
> This is just one example.  Our users are currently thinking up several more
> applications where they would like to do this, if it is possible.
> 
> tia
> 
> Charlie Rubeor
> Unix/Database Admin
> The Wiremold Company
> 800.338.1315 x3498
> 860.523.3690 fax
> > � votre service
> > 
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to