Go Back   The macosxhints Forums > OS X Help Requests > AppleScript



Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 04-12-2012, 08:37 AM   #1
jakehotep
Guest
 
Posts: n/a
Applescript gets corrupted at least once during the day

This is a weird one. I really don't like the automatic settings for new folders in OSX, so I set up an Applescript application on my dock to make folders with the specs I like, namely, List View, Hide Toolbar and positions, typically like this:

tell application "Finder" to set bounds of Finder window 1 to {7, 50, 352, 227}

For an indeterminate amount of time during the day, this works fine, and reads the bounds as: (1) Distance from left, (2) Distance from Top, (3) Distance from Right (or width of box), and (4) Depth (I think that's how they're defined).

However, at some point during the day (doesn't matter what I'm doing), the App will READ the bounds in a different ORDER: (1) from TOP, (2) from LEFT, (3) Height of Box, then (4) Width of Box. The numbers haven't changed their order in the application, JUST the way it's being read. So my new windows are too close to the top (can't see the Title bar), they run down the left side of my screen instead of across the top, etc.

Any help understanding this would be appreciated.

Running OS 10.4.11, G5 PowerMac 1 GB RAM
  Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:02 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.