Odd or even numbers
Odd or even numbers
- Subject: Odd or even numbers
- From: Dan Doughtie <email@hidden>
- Date: Thu, 30 Nov 2006 18:47:18 -0500
- Thread-topic: Odd or even numbers
Title: Odd or even numbers
I’m trying to trigger a script in InDesign based on a page number being odd or even.
Is there a way to test if a number is odd or even.
Here is a stripped down version
Repeat with y from 1 to mypageCount
..........
if y is odd
Set myPage to true
Else
set myPage to false
End if
End repeat
Odd and Even show up as some kind of accepted parameter but doesn’t act the way I thought it would.
Dan
--
Dan Doughtie
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden