home *** CD-ROM | disk | FTP | other *** search
- ;Omnilook script sample
- ;this script will send selected image via email
- ;using Microsoft Internet Mail and News client
-
- ;start email client
- ;the path below is as you would see it when you clicked on the properties' shortcut
- ;you may need to change the path below from your own internet mail shortcut properties
-
- start 'C:\WINDOWS\EXPLORER.EXE /root,C:\WINDOWS\Internet Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}'
- wait 2
-
-
- ;send ctrl-n keystrokes to open new message
- keys '^n'
-
- ;type in the recipient's email address
- keys 'yourname@youremail.com'
-
- ;press tab twice to skip to the subject line
- keys '{TAB}'
- keys '{TAB}'
-
- ;enter subject
- keys 'picture for you'
-
- ;press tab again and start typing the message body
- keys '{TAB}'
- keys 'Hello,{ENTER}Here is an image...'
-
- ;press alt-i-n keys to bring up insert attachment menu
- keys '%if'
-
- ;insert the path to the filename
- keys '%filename%'
-
- ;confirm file insertion and press alt+s to send the message
- keys '{ENTER}'
- keys '%s'