Re: New day, new issue, TextEdit
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