The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniPlan > OmniPlan Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Dereference week day schedules in apple script Thread Tools Search this Thread Display Modes
Does anyone have an idea about how to dereference the schedules via Applescript?

I can get the name, type, costs per use and the structure of the schedule of a resource:

repeat with i from 1 to count of resources in myScenario
set myResource to item i of resources in myScenario

name of myResource
resource type of myResource
cost per use of myResource
cost per hour of myResource

set thisSchedule to the schedule of myResource


repeat with j from 1 to count of week day schedules of thisSchedule
set wds to item j of week day schedules of thisSchedule

end repeat


end repeat


But i just cannot get to the actual properties of the week day schedule (wds) above. When I try I get the -1728 error from applescript.

get week day schedule of week day schedule 1
--> error number -1728 from week day schedule 1

Thanks,

Allen
 
I suspect a bug has crept in, there, and I'm filing it away. I hope to fix it real soon.

-Tom
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -8. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.