Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Using folder action scripts to create multi-view single windows Desktop
Scenario:
With return of desktop picture AppleScripting to Jaguar, and the further ability to run ScreenSavers as a backgrounds, my desktop has become an incredible display arena enhanced by keeping it viewably clear of the familiar "file forest."

So, to keep all the cool stuff visible, I created a folder in my Documents folder called MyTop, and put its icon in the dock, opened it up, made it almost the size of the desktop, and set the view to Icon. As a result, the desktop is where I do interim saves and examinations, but items soon get dragged into MyTop, where the real forest of files is viewed and organized. Nicely at this point, I can close, hide, or minimize MyTop and, swhick, the desktop is front, centre, and clear for presentation.

Then I began to explore the ToolBar in MyTop, pared down the icons displayed to a functional minimum and added seven folder icons I call my 'Magic 7' that allow efficient navigation to core areas. Eventually I created Folder Action AppleScripts to store window size, position, and view options which were then attached to various icons in the ToolBar, so I could click along the ToolBar and have the window adjust to a stored configuration that works well when Finder Prefs are set to open new windows in the same window (normally, of course, you get the same view with each folder you open in the same window).

For example, I like MyTop to be in Icon view and wide (additionally in Jaguar View Options, the icon size can be set quite large to show off some of the beautifully designed OS X file icons). In Applications, however, I like a zoomed tight, centred, List view that shows version info, whereas when I go to my User folder I like to switch to a wide window in Column view for rapid navigation, and my Scripts folder is a one column wide List view set on the right of the screen beside open ScriptEditor documents. I still find it fascinating how the windows adjust themselves while clicking across the ToolBar. It feels a little bit like magic!

The FA_windowing scripts can be downloaded from macscripter.net -- 52KB download.

[robg adds: I don't have time to experiment with this one, but the concept seems very cool - one window mode, yet the windows size and change views based on your settings. I did look at the scripts and they're quite benign, and there's information in the Read Me on how to get them working properly.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,086 views]  

Using folder action scripts to create multi-view single windows | 4 comments | Create New Account
Click here to return to the 'Using folder action scripts to create multi-view single windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Works great - additional ideas
Authored by: sinjin on Oct 17, '03 11:13:27AM
Hey theArtistEL, we are of the same mind!
Nicely at this point, I can close, hide, or minimize MyTop and, swhick, the desktop is front, centre, and clear for presentation.
I too, do whatever I can to keep my Desktop clear and created a folder exactly like your "MyTop" to store the clutter instead. You may want to check out my hint that has a very basic folder action for automatically moving stuff that ends up on the Desktop to "MyTop", that is if you want that automated.

Anyhow, I love your folder actions, this hint is exactly what I was looking for - until now I found it somewhat tedious to move stuff from "MyTop" since the target folder never seemed to open the way "it should". Very nice.

Thanks!

PS I find it a bit annoying how Applescripts like these make the windows seem to flash a few times while executing. Is this a "feature" to say "look, I'm running"? Is there a way to disable this?

[ Reply to This | # ]

re: Works great - additional ideas
Authored by: gopes on Oct 17, '03 09:01:57PM

"PS I find it a bit annoying how Applescripts like these make the windows seem to flash a few times while executing. Is this a "feature" to say "look, I'm running"? Is there a way to disable this?"

I'm not privy to the truth, but I think that the Finder window loses focus when the script runs. For example, when running the Save Tabs in Safari script (elsewhere on the site), when the script is done, the Safari window hasn't been properly re-targeted...



[ Reply to This | # ]
Using folder action scripts to create multi-view single windows
Authored by: bluehz on Oct 19, '03 08:26:10AM

I have never been able to get Folder Actions to work reliably. This is another case in point. I thought I would give this hint a try so I created a new "Top" dir in my "Documents" dir then d/l FA_Windowing scripts and thought I would set it up so every time I opened "Top" it would zoom full screen (covering the true desktop completely) and be in icon mode. So I launch the "Attach Folder Action" script, select my new "Top" dir, and go through the process of setting the size, position, view, etc as per instruction. These settings are supposedly saved for the chosen window. Now I close the "Top" window and create a shortcut to it in my Window toolbar for instant access.... and what happens...

... if I click the "Top" shortcut in my toolbar the "Top Window" does indeed open (hey now thats a starting point), but it doesn't do anything else but flash a few times. Doesn't return to the view and size I had previously set, instead it simply appears in whatever view the previous window was viewed as.

Per instructions - I have disabled Finder Prefs "Open in new window" and have enabled/disabled folder action scripts several times to reset it. Still no luck...

Note that this scenario is not unlike every folder action script I have ever tried. They never seem to work even close to how they are supposed to work.

Any suggestions?



[ Reply to This | # ]
Using folder action scripts to create multi-view single windows
Authored by: catwink on Oct 13, '04 11:39:23AM

FA windowing is version 1.3. Go directly to macscripter to get it.

---
LreedS



[ Reply to This | # ]