• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: keystroke using ... { } ... in PowerMail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke using ... { } ... in PowerMail


  • Subject: Re: keystroke using ... { } ... in PowerMail
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 25 Sep 2004 06:18:57 -0400

on 2004-09-24 10:02 PM, email@hidden at email@hidden
wrote:

>> Why doesn't this work?
>>
>> tell application "System Events"
>>  tell process "PowerMail"
>>   run
>>   keystroke "L" using {control down, command down}
>>  end tell
>> end tell
>
> Please go to '<http://applescript.250free.com/powermail.html#top>'.

That link shows HOW to make it work, but it doesn't answer your question WHY
your script doesn't work.

When you use the 'keystroke' command to send an uppercase letter, System
Events thinks you are sending the lowercase letter with the Shift key down.
PowerMail doesn't know what to do with 'keystroke "l" using {shift down,
control down, command down}', so nothing happens. As the example script on
the PowerMail Web site indicates, just change your script so it sends a
lowercase letter, and it should work.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: keystroke using ... { } ... in PowerMail
      • From: Mikael Byström <email@hidden>
References: 
 >Re: keystroke using ... { } ... in PowerMail (From: email@hidden)

  • Prev by Date: Replacing in TextEdit
  • Next by Date: Re: Picking data from a record
  • Previous by thread: Re: keystroke using ... { } ... in PowerMail
  • Next by thread: Re: keystroke using ... { } ... in PowerMail
  • Index(es):
    • Date
    • Thread