Mail Print GUI
Mail Print GUI
- Subject: Mail Print GUI
- From: Marcus Rodrigues <email@hidden>
- Date: Tue, 24 Jun 2003 18:50:51 -0300
Can someone tell me why it does not print?
Please test it...
If someone can make it print I would really appreciate =-)
Thx =-D
if my do_menu("Mail", "File", "Print...") is false then error number
-128
if my do_menu("Mail", "File", "Print...") is false then error number
-128
on do_menu("Mail", "File", "Print...")
try
-- bring the target application to the front
tell application "Mail"
activate
end tell
tell application "System Events"
with timeout of 300 seconds -- 5 minutes
tell process "Mail"
tell menu bar 1
click menu item "Print..." of menu "File"
tell window "Print"
click button "Print"
end tell
end tell
end tell
end timeout
end tell
return true
on error error_message
return false
end try
end do_menu
o#? Marcus Rodrigues o#?
iBook 600 - Combo - Jaguar
CC4nsul do Brasil Apple Clube - Caxias do Sul
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.