Faxing from Panorama with PageSender

David Thompson dthmpsn1 at uiuc.edu
Sun Mar 9 12:49:52 PDT 2008


I did a considerable amount of reading between 
the lines, so I could easily be completely wrong 
about this, but I do see one scenario that might 
lead to this problem. If you use 
ExecuteAppleScript, and the script you write 
includes a handler, the handler needs to appear 
earlier in the script than the first call to that 
handler. I haven't tried it lately but the 
osascript command in a shell script suffers from 
the same limitation. In a pre-compiled script, 
such as the example scripts supplied with 
PageSender, you can put the handler wherever you 
like.

I downloaded a copy of the PageSender demo and I 
noticed that Fax from Script Example.scpt begins 
with

savePrinter() of me

and then, all the way down at the bottom of the 
script, you find the part that begins with

on savePrinter()

and ends with

end savePrinter

If you wrote an ExecuteAppleScript that followed 
that example, it definitely won't work. If this 
is what is happening, you should take everything 
from on savePrinter() to end savePrinter and move 
it to the beginning of the script, so that it 
appears before savePrinter() of me.

Dave

>I have had a problem with the print dialog window when faxing forms 
>using PageSender (www.smileonmymac.com). With all other applications, 
>the "PageSender Fax" window opens automatically when I choose to 
>"print" using the PageSender Fax "Printer". With Panorama, the 
>"Layout" window opens in the print dialog box and I have to manually 
>select the PageSender Fax window to enter my fax recipient 
>information. I inquired to PageSender support and they sent the 
>following note that I do not understand. Perhaps someone at ProVue 
>will understand and possibly fix it.
>
>Thanks,
>
>Bob Davis
>
>
>
>>  Thanks for the screenshots and the update.
>>
>>  There's nothing odd about the layout of the print dialog which could 
>>  trip up our script. I wonder if maybe ProVue holds a connection to 
>>  the AppleScript component open (a no-no) and therefore the 
>>  PageSender print dialog code can't run its AppleScript. That would 
>>  be my best guess if it's only the one app affected and the layout is 
>>  as standard as this.



More information about the Qna mailing list