• 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: New day, new issue, TextEdit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New day, new issue, TextEdit


  • Subject: Re: New day, new issue, TextEdit
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 10 Dec 2014 17:28:36 +0100


Le 10/12/2014 à 17:11, Robert Poland <email@hidden> a écrit :

Hi,

Is TextEdit broke or is it me?

This script does nothing. Bounds is in the dictionary.

tell application "TextEdit" to activate
set newL to 22
set newT to 22
set newR to 800
set newB to 1380
tell application "TextEdit" to activate
delay 1
tell window 1
delay 1
set bounds to {newL, newT, newR, newB}
end tell
beep

TIA,
Robert Poland
Fort Collins CO

Hi Robert

it's you ;-)

After the instruction 
tell application "TextEdit" to activate, the trailing code is not speaking to TextEdit but to Script Editor (or Smile).

Try with :

set newL to 22
set newT to 22
set newR to 800
set newB to 1380
tell application "TextEdit"
activate
delay 1
tell window 1
delay 1
set bounds to {newL, newT, newR, newB}
end tell
beep
end tell

Yvan KOENIG (VALLAURIS, France) mercredi 10 décembre 2014 17:28:31


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: New day, new issue, TextEdit
      • From: Robert Poland <email@hidden>
References: 
 >New day, new issue, TextEdit (From: Robert Poland <email@hidden>)

  • Prev by Date: New day, new issue, TextEdit
  • Next by Date: Re: New day, new issue, TextEdit
  • Previous by thread: New day, new issue, TextEdit
  • Next by thread: Re: New day, new issue, TextEdit
  • Index(es):
    • Date
    • Thread