[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Glue::WebSTAR_301



Hey Chris,

	I've noticed a little strangeness in boolean types. The suspend logging
event for WebSTAR 3.0.1 requires a true or false. In testing, the best way
seems to be to send typeFalse for false and '1' for true. I can get it to
work, but isn't that a little inconsistent?

Here's some info...

#!perl
use Mac::Glue::WebSTAR_301;
use Mac::AppleEvents;

$webstar = new Mac::Glue::WebSTAR_301;

$webstar->Suspend_Logging( typeTrue );  # Does nothing
$webstar->Suspend_Logging( typeFalse ); # UnSuspends logging ok
$webstar->Suspend_Logging( 1 );         # Suspends logging ok
$webstar->Suspend_Logging( 0 );         # UnSuspends logging - shows error
in Log

exit(0);

--
Error appears in log as:
Error handling HighLevelEvent -1701



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch