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 > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Today's Posts

 
OF: Add an attachment to existing task? Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
How do you add a file to an existing task?

I know how to create a new task with a new file attachment, but I couldn't find out how to attach it to a specific task.

The task I want do address is always the same (same name, same OF task id).


Thanks for any help.

This is a part of dave_m's script, modified by whpalmer4 (http://forums.omnigroup.com/showthre...ear#post118770:
Code:
 	tell front document
			
		set NewTask to make new inbox task with properties {name:file_name}
		tell the note of NewTask
			make new file attachment with properties {file name:this_item, embedded:pEmbedFile}
		end tell
			
	end tell
 
 





All times are GMT -8. The time now is 02:33 PM.


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