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 > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Faster ways to do Applescript loops? Thread Tools Search this Thread Display Modes
I have two questions on this that I cannot seem to get right.

Code:
repeat with theTask in lstTasks
	set the flagged of theTask to false
	set the due date of theTask to missing value
	set the start date of theTask to missing value
	if the number of tasks of theTask is 0 then
		set completed of theTask to false
	end if
end repeat
* What is the equivalent of a collapsed form ...

Code:
set the value of {flagged, due date, start date} of theTask to {...}
* Does a faster way exist to avoid the loop, perhaps something such as

Code:
set the value of {...} of every task in lstTask to {...}
The code runs. It just skips slowly through every task in a project list.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -8. The time now is 11:05 AM.


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