Does CALLRemote return a value? If so, you might be able to do something like
this:
PRIVATE returnValue
DO c:\alldat2\programs\CALLRemote WITH 'c:\alldat\irctrl\amp-volup.ir' TO
returnValue
IF returnValue
REPLACE mediaindex.volume WITH mediaindex.volume -0.5
ELSE
MESSAGEBOX([I'm too busy to change the volume now.])
ENDIF
--
rk
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Gary Jeurink
Sent: Friday, June 22, 2012 3:01 PM
To: [email protected]
Subject: fuzzy on return
In my new case I'm turning the volume of my stereo up or down toward a
predetermined target number (+.5 or -.5 each flash). Occasionally, this
procedure fails and throws up a window-box declaring the error. I just want to
execute it and return true or false. I'll let the calling loop count 3 falses
and then abort the loop. Sometimes if I'm printing or if something unknown
running in the background, it slows everything down and I get a screen full of
window boxes. Following I listed the procedure. I commented out the windowbox
but am I on the right track? Also, how do I capture the true or false?
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0441DE4E954B6@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.