merkuryo wrote:
Quote:
osascript -e "tell application \"$appname\" to set bounds of windows whose visible is true to {$bounds}"
Problem is, I get a "File <$appname> wasn't found" error.
I don't have any lions either, but I just wonder if
-e does something funny with the slash quote. I would try
Quote:
osascript -e "tell application '$appname' to set ...
The single quotes act like regular characters when they're inside the double quotes. I do that a lot with
eval in bash scripts.
One other thing looks very suspicious though:
{$bounds}Are you sure you don't mean
${bounds}?