Any way to apply AppleScript into subfolder for windows properties?

I'm using the AppleScript below to set window's position and columns' widths to my liking. But I can only one window at a time. Is there a way to apply this script to all the subfolders? Automator can set window view to subfolders but can't set window's position and columns' widths.
Any help or suggestion? Thanks
tell application "Finder"
activate
set bounds of Finder window 1 to {top, left, window width, window height}
select Finder window 1
set width of column id name column of list view options of Finder window 1 to 450
set width of column id modification date column of list view options of Finder window 1 to 150
set width of column id size column of list view options of Finder window 1 to 100
end tell

You can open Finder windows for all of the subfolders of the front window, then loop through each one making your settings. Since this approach will also change the settings for any other open Finder windows, in my example script I just close all but the front window. Your example script doesn't use correct terminology for the bounds of Finder windows, so change the numbers I used for the bounds as desired:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #FFEE80;
overflow: auto;"
title="this text can be pasted into the Script Editor">
set {TheLeft, TheTop, TheRight, TheBottom} to {50, 50, 900, 500} -- a Finder window bounding rectangle
tell application "Finder"
try -- skip if no window
set TheWindows to (count Finder windows)
if TheWindows is greater than 1 then -- close other windows
repeat with SomeWindow from TheWindows to 2 by -1
close window SomeWindow
end repeat
end if
open folders of entire contents of (get target of window 1) -- all
-- open folders of (get target of window 1) -- one level
on error errmess
log errmess
end try
repeat with SomeWindow in (get Finder windows)
set bounds of SomeWindow to {TheLeft, TheTop, TheRight, TheBottom}
set width of column id name column of list view options of SomeWindow to 450
set width of column id modification date column of list view options of SomeWindow to 150
set width of column id size column of list view options of SomeWindow to 10
end repeat
end tell</pre>

Similar Messages

  • Any known issues applying OS support packages for Windows 2003 server?

    Hi.
    Our SAP ECC 6.0 systems are running on servers with Windows 2003 x64 SP2 and MS SQL 2005 SP2, and they are due for an OS upgrade with patches and fixes via Windows Update. My question is; Are there any known issues the impact the smooth operation of the SAP systems and/ or database?
    I have been searching for notes about this on Service Marketplace, Google and these forums, but there seems to be little information about this out there (at least to my knowledge).
    Can anyone shed som light on this issue?
    Regards,
    Thomas

    Only apply security patches to your O/S and DB, never functional patches unless you have thoroughly tested them.  Here inhouse we only apply security patches, we are running Win2003 Ent SP2 X64 and SQL2005 SP2 X64.
    When you run windows update, use the custom button.  Deselect all the non-security patches.

  • Is there any way we can set default value for a Date Attribute to current date in Master Data Services

    Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
    I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
    Thanks.

    Hi Anagha,
    So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
    1. Add buisness rule which can set a default value when Date = NULL/Blank
    2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
    3.Go to that table and add a after update trigger like
    if uda_<entityid>_<attributeid(Date attribute)> = default value
    update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
    I will check on this too from my side.
    By the way AFAIK i dont think so calendar control integration is possible .

  • Any way to create a keyboard shortcut for keywords in Bridge CC?

    Just curious if there's any way to create a keyboard shortcut for "new keyword" and "new sub keyword" in Bridge CC?
    If not, that would be a welcome addition in any future Bridge update - being able to customize keyboard shortcuts or add your own the way you can in Premiere Pro CC.

    Steve,
    Not, as far as I know, directly, but the problem is with Aperture, not Keyboard Maestro.  Aperture has no command (afaik) for selecting the caption field of the Info Inspector.  Without a command, you will have to find another way to access it, or another way to accomplish what you want.
    You can specify the spot clicked by screen coordinates, so you cold use the Inspector HUD and the coordinates of the Caption field, as long as the Inspector HUD always pops up in the same location.
    Many dialog boxes allow the user to advance through the fields with the Tab key.  Unfortunately, the number of times you have to type "{Tab}" in order to get to a particular field depends on other interface elements (if the Control Bar is showing, add 2).  I don't know of a way to determine if the Control Bar is showing.
    You might find a work-around using a Metadata Preset and the Batch Change command.  Keyboard Maestro can easily pop up a dialog with a text field in which you can type what you want to go into Aperture's Caption field.
    The best thing to do is download the trial version and see if it meets your needs.  Keyboard Maestro is adept at creating macros based on keyboard input.  If the program does not provide keyboard equivalents, writing an effective macro becomes difficult.
    http://www.keyboardmaestro.com/main/
    The author provides exemplary documentation:
    http://wiki.keyboardmaestro.com/About_Keyboard_Maestro
    Lastly, for the use you cite, I simply show the Inspector if it's not showing (by typing "i"), change to the Info tab if it is not currently activated (by clicking, but note that opening the Inspector with the Info tab selected can be done with one command "View➞Inspector➞Info"), and then clicking in the Caption field, which is part of all of the Metadata Views I regularly use.
    HTH.  Perhaps one of our programming mavens will suggest something better.
    --Kirby.

  • IS THERE ANY WAY TO EMBED LINKS INTO THE FILE YOU ARE WORKING ON?

    IS THERE ANY WAY TO EMBED LINKS INTO THE FILE YOU ARE WORKING ON?

    Ha! Perfectly classic case of XY problem! Pointed out by Jongware in some other thread recently - couldn't find an exact link right now...
    In short:
        User wants to do X.
        User doesn't know how to do X, but thinks he can fumble his way to a solution if he can just manage to do Y.
        User doesn't know how to do Y either.
        User asks for help with Y.
        Others try to help user with Y, but are confused because Y seems like a strange problem to want to solve.
        After much interaction and wasted time, it finally becomes clear that the user really wants help with X, and that Y wasn't even a suitable solution for X.
    Maybe it worth to add to a list of tips and best practices of the forum:
    Avoid XY problem!

  • Is there any way to download smartform into text file

    is there any way to download smartform into text file

    Hi,
    No you cant save a smart form into text file but you can store it in a XML file.
    Goto menu Utilities --> select More Utilities --> select Upload/Download --> click Download and give the path to save the backup for smartform.
    Now you smartform is saved to XML file at your PC.
    Also you can upload this smartform.
    Hope this helps you.
    Regards,
    Tarun

  • Iphone4 video recording......I recorded about 10 short videos.  Is there any way to combine them into one video? I might want to post on facebook, but don't want to post 10 separate videos.

    iphone4 video recording...........I recorded about 10 short video.  Is there any way to combine them into just one video?
    Thanks

    You need an app for that. Apple's iMovie app (for iPhone and iPad) does that just fine, but there may be others.

  • My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    Hi cindy,
    If you all have individual Apple IDs, then you would be able to dowload music from a shared iTunes library on a computer, but you would not be able to sign on each individual ID on an iOS device in order to download music purchased under the original Apple ID without a 90-day waiting period between sign-ons.
    Here's what I mean:
    If you were to sign on a new Apple ID on, say, an iPhone, and then were to purchase and download some music from iTunes, then you would have to wait 90 days before you could sign on the old Apple ID to that iPhone in order to download previously purchased material (and vice versa).
    However, if all of the music purchased by that origjnal Apple ID is in an iTunes library on a shared computer, then you can hook up the device and selectively sync any music in that library to the device. You can also sign on any of the Apple IDs to that shared iTunes library and purchase music to be added to the library.
    You would need to authorize the computer for each of the new Apple IDs.
    Each of the Apple IDs would also be able to download that music purchased either by syncing to the iTunes library on the computer or by downloading it OTA on the device.
    So, each Apple ID can download music, movies, etc. purchased with that Apple ID OTA to the device. Also each Apple ID can sync any music, movies, etc. that are in the iTunes library on the computer regardless of who purchased them.
    The only other thing you would need to remember is that if an App needed to be updated, then the original Apple ID that was used to purchase that App would come up, and the password that goes with that Apple ID would be required to do the update.
    Hope that helps,
    GB

  • Is there any way to create admin role only for one resource.

    Hi all,
    I am trying to create an admin role with 'update user' capability. But I want to restrict the user(with the admin role) to be able to update a user's attribute only for one resource, The user(with the admin role) should not be able to update the attributes of the other resources which a user have.
    Is there any way to create admin role only for one resource?
    I customized the tabbed user form to show only one resource attribute (deleting the missing fields and adding my tab for the resource) and then assigned this new User Form to the user(with the admin role) in security tab.
    It works fine. But the problem is that if any user(with the admin role) is also admin of some other resource then he/she will not be able to view the other resource attributes.
    Please suggest,
    thanks

    The loop function always repeats the same region so of course the fade is also copied. So option+drag the original region to make a (non clone) copy, fade the first region and loop the second one (which you just copied).

  • Is there any way to change the default font for outgoing text-messages, in "Messages"? (OSX 10.10)

    Is there any way to change the default font for outgoing text-messages, in "Messages"?
    I can change it for one conversation, but then it resets to the default, tiny font.
    The preferences menu only lets me change the conversation font.
    (OSX 10.10)

    Hi,
    As you may remember there used to be a Messages pane to the Preferences where the Font and colour of the Balloons or background and the Font text colour could be changed.
    And there was a Format Menu for character, word and Sentence changes in the current IM or iMessage.
    Those have gone in Yosemite's version of Messages (Despite it retaining the designation of Messages 8 the same as Mavericks' version).
    All that can be done now is set the size of the font and this has been moved to the General Section of the Preferences.
    The Yosemite version has also been fixed to using the Balloons style of send and receiving any type of messages as well.
    Changing the Font would involved editing the Balloon.transcript file.
    10:34 pm      Saturday; December 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I have the app "viPlay" on my iPad and iPhone. Is there any way that it could be available for the Apple TV? I'd like to access my personal videos from my hard drive using the Apple TV through the 'viPlay' app.

    I have the app "viPlay" on my iPad and iPhone. Is there any way that it could be available for the Apple TV? I'd like to access my personal videos from my hard drive using the Apple TV through the 'viPlay' app.

    Welcome to the Apple Community.
    Nobody here will have any information about that since the community is only made up of users like you or I. Anything else is mere speculation and speculation is not permitted here under the Terms of Use for these communities.
    Any responses you may receive may well be removed and would be wholly unreliable in any case.
    If you believe that Apple's product may be enhanced in anyway you can leave feedback here.

  • Is there any way to display filenames or captions for photos?

    is there any way to display filenames or captions for photos?

    Thanks. There are so many it's very hard to see which one does what. Since I edit  on the MacBook Pro using Photoshop Elements, all I really need is a way of seeing the filenames, and secondarily re-arranging thumbnails on the iPad screen manually.

  • Hello, is there any way of having a reboot disk for lion that I'm downloading, like the one I have with snow leopard ?

    Hello, is there any way of having a reboot disk for lion that I'm downloading, like the one I have with snow leopard ?

    Once the Lion download is complete quit the installer and follow these directions. The file you need to make a boot disk disappears after you install Lion.
    Egg Freckles | Burning A Lion Boot Disc
    However, the Lion installation includes a recovery partition. It won't be of help if your entire HD dies but is very handy otherwise. This Knowledge Base article has a lot of good information about Lion's recovery partition.
    OS X Lion: About Lion Recovery

  • Wrt54g - any way to block selected wireless users for a limited time ?

    i work with info on the internet. i share my internet connection with my sister (lives in the same building), but sometimes i try to access some page in the middle of the night and she is downloading videos or music and i get a veeeery slow connection. Is there any way to drop her wireless connection for a limited time without having to change the routers password ?
    thanks

    hi.. 
    i think yOu can block other wireless computers by permitting selected wireless computers only to connect to yOur network...
    its the MAC filter feature(allow all) on yOur router then enter the MAC address of the wireless computers that yOu want to connect to yOur network....

  • If i've forgotten my passcode, is there any way i can get into my iPhone, without restoring it?

    If i've forgotten my passcode, is there any way i can get into my iPhone, without restoring it?

    No. But if you restore from backup on the last computer your phone synced with, this will remove the passcode.

Maybe you are looking for

  • How do I stop my panels from being visible while in InDesign CS5's presentation mode?

    Hey there, I have a quick question... So when I'm not working with two monitors I sporadically have this problem where when I enter InDesign CS5's (on a Mac) presentation mode (shift W) all of my panels (color, pages, swatches, pathfinder etc) are vi

  • File opening error-smartform pdf

    dear friends , i created a smartform and converted the smart form into pdf file and downloaded the same but when im trying to open the file a pop-up is coming with the msg like the file is corrupted or damaged. can any one help me on this issue. for

  • Problem with virtual XOR2 in Multisim BLUE

    Hello, I'm using Multisim component Evaluator Mouser Electronics Edition (aka Multisim BLUE).  The component database suffers from a total lack of logic gate ICs.  My design includes a 4070 (quad 2-input XOR) with VDD = 0V and VEE = 15V.  Since I can

  • Disappearing mail

    I have my AOL account running through my mail on my iphone and my MacBook Pro. When I open my AOL mail I have messages disappearing without deleting them. It is usually after a couple days. I have looked for these emails in every trash folder I can f

  • Schema Folder

    why we keep EO ojbects in Schema folder and VO and AM objects in Server folder.Is this standard or any other reason? Regards,