Dereference week day schedules in apple script
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: [FONT="Courier New"] 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[/FONT] 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 |
All times are GMT -8. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.