I have a simple one page PDF as a test document that I’m trying to print using AppleEvents. It does print, however it takes 25-30 seconds for AppleEvent.Send to finish whatever its doing.
The code looks like this
dim ae as AppleEvent ae = New AppleEvent("aevt", "pdoc", "com.apple.finder") ae.FolderItemParam("----") = File //A simple 1 page PDF if not ae.Send() then MsgBox("Printing failed!") end if
Anyone know why this takes so long?
FYI - OSX 10.9.1, Xojo 2013r4.1