Re: odd appscript problem
Re: odd appscript problem
- Subject: Re: odd appscript problem
- From: tom wible <email@hidden>
- Date: Wed, 27 Oct 2010 18:48:59 -0400
never mind...this recoding fixed it:
to runLongerBy(minsLonger)
set minsEarly to -minsLonger
if minsLonger * minutes > 3.1 * hours then
write_log(my toString() & " - can't runLongerBy " & minsLonger &
"mins: more than 3 hrs late...")
else if minsEarly ≥ my progLen then
write_log(my toString() & " - can't stop early by " & minsEarly &
"mins: more than prgrm len: " & my progLen)
else
tell my stopEvent to delayBy(minsLonger)
end if
end runLongerBy
i guess applescript evaluates negative numbers differently if they're
python numbers;-} _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden