• 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: Robert Poland <email@hidden>
  • Date: Wed, 10 Dec 2014 10:43:33 -0700

Thanks Yvan,

> On Dec 10, 2014, at 9:28:AM, Yvan KOENIG <email@hidden> wrote:
>
>
>> 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

Robert Poland
Fort Collins CO


 _______________________________________________
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


References: 
 >New day, new issue, TextEdit (From: Robert Poland <email@hidden>)
 >Re: New day, new issue, TextEdit (From: Yvan KOENIG <email@hidden>)

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