Re: non-existant app
Re: non-existant app
- Subject: Re: non-existant app
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 1 Feb 2010 07:20:24 +0100
Le 31 janv. 2010 à 22:36, Robert Poland a écrit : on run main() beep end run
on main() -- newL - left border, newT - top border set newL to 20 set newT to 22 set wd to 800 set ht to 1000 tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution") to set {newR, newB} to {word 2 as number, word 4 as number} -- get screen size for monitor
set x to (info for (path to frontmost application))'s short name
if x = "" then beep return end if
if x contains "Dreamweaver" then try tell application "Dreamweaver" -- window 1- CSS & Files set newL to 1080 set bounds of window 1 to {newL, newT, newR, newB} end tell end try beep return end if
end main
Thanks to try but, it changes nothing.
I got it coding :
tell application x
Yvan KOENIG (VALLAURIS, France) lundi 1 février 2010 07:20:08
|
_______________________________________________
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