On adding folder items to get the new name for the item?

I really have no idea what I'm doing but I'm trying to capitalize on the addition of items in folder / about items in folders to follow or not removing a specific directory exists but cannot for the life of find me a way. Basically I want it to look in /Volumes to see if a particular drive is connected or removed and launch/exit an application accordingly. Any help would be greatly appreciated. Thank you!

What follows is no what you have in mind?

say application "Finder" to the disks of the get of the alias "Macintosh HD:Volumes:

or even better:

say application "Finder" to get records of ((path to the bootdisk as text) & "Volumes:" as alias)

Tags: Mac OS & System Software

Similar Questions

  • What can I do to remove the old email address and get a new one for my Microsoft account?

    Original title: problem with my phone

    What can I do to remove the old email address and get a new one for my Microsoft account

    What is the model of your phone?

    Normally you could not remove the default email but you can add a new account setting and if it is not the default, you could delete it in the account setting.

  • JI downloaded cs6 design and web premium in a single folder, I always get the message missing archives... I use pc and ie10 none of the solutions proposed if you please

    I downloaded cs6 design and web premium in a single folder, I always get the message missing archives... I use pc and ie10 none of the solutions proposed if you please

    Hello

    Some Windows product downloads include two files: a file .exe and .7z file. To install the software, it is necessary that the two files are downloaded and located in the same folder. Otherwise, an error may occur when you start the Setup program. Errors are "Windows cannot open this file" and "file archive part Adobe [product name] is missing."

    You can check the link for more information below.

    Start the program installation after the download Acrobat X, CS5.5 and earlier versions

    Please try the link below to download the product again.

    https://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html

    I hope this helps.

    Kind regards

    Vivet

  • Where can I get a new charger for Satellite Pro L500 - 1 4?

    Hi, I would like to get a new charger for Toshiba. My first charger was lost and the second charger that I bought on ebay 3 months ago for £10,-a stopped working. Where can I get a charger? I googled and found a few wesbites for example

    http://www.electronicavenue.co.UK/Toshiba-Satellite-Pro-L500-1D4-laptop-charger-6380-p.asp

    Chargers cost about 25-30 GBP. I don't want more problems with a charger. I have the late...
    Where can I get a good charger where that is authentic. Other suggestions are welcome

    Thanks in advance

    The magazine you found is OK and I think you don't need original Toshiba charger.
    If you want to have Toshiba we part number is PA3716E-1AC3.

    Check it out. Googling around you can find it.

  • How can I get a new password for My Life (unisa)

    How can I get a new password for My Life

    Hello

    Please delete the personal information in your message, because it can be used by a person who
    you cause a lot of real worries. And it is not necessary here.

    -------------------------------------------------------------------------------------

    Answers - Feedback is for questions about the site of answers.

    Answers is a site of support of peers supported for Windows and other Microsoft products and
    has no influence on MyLife.

    Help with your problems, contact the assistance of MyLife.

    MyLife
    http://experts.Windows.com/

    I hope this helps.

  • Where can I get a new keyboard for an Acer aspire ES1-521-603V?

    Where can I get a new keyboard for an Acer aspire ES1-521-603V?

    Hello

    Here is the part number on your keyboard with the 'framework ':

  • My Windows 7 Enterprize evaluation copy has expired and I need to get a new license for this computer and two others

    My company Windows 7 evaluation copy has expired and I need to get a new license for this computer and two others?

    Evaluation copies are for your temporary assessment, so you can decide if you like the system.  If you want to continue using it, you buy it.

  • A new name for a company

    Hi all
    I move to a new name for my company. The content of the site will remain the same. My question is this. If I go to "site definition" and change the name of the former & the root folder on my new name will remove one of my pages or do something weird to one of my shirts? If someone can tell me the best way to make this change I would appreciate it.

    Thank you
    why_atl

    > Hey Darrel. Yes, I did. But I changed it back. What advice do u
    > me by changing my old name of the company to my new company, without messing around
    > up to one of my pages?

    (1) change the name of the folder on your hard drive.

    (2) open DW and return to the Administration of the Site and repoint your application root to
    This renamed folder.

    -Darrel

  • Where can I get a new keyboard for my Tecra A3 in the United Kingdom?

    I spilled water - heck! -a couple of days ago on my Tecra A3 and I think it is beyond fixing, but please correct me if I'm wrong.

    I was not clean it regularly and I think there's probably some dust - and other foreign bodies - under the keys and I think that dust got, through the water, in the electronics connecting the keys to the white fabric - I don't know what you call it - the keyboard connecting links for the rest of the machine.

    Most of the keys does not work, and some of them, they work, whey in free, add additional letters for a tap.

    I removed the keyboard and left it and the machine to dry and when has not toured and dried the keyboard and surrounding parts thorougly - working delicately - cleaned using a little bit of alcohol and ear hydrophilic cotton cleaners. I also used a small air pressure producing machine to try to get rid of any dust. I think I did a job just, but it still does not.

    I think I have to buy a new keyboard. Do you know where can I get a new keyboard A3 in England or a second hand keyboard that would be in perfect working order?

    Thanking you in advance,

    Conor Joyce

    Hello

    New parts can be ordered from the ASP from Toshiba (certified partner) in your country. Guys could control the room is not available directly from Toshiba.

    If you want to buy a second hand keyboard, I recommend you research in the internet, ebay, etc.

  • Use Folder.userData to get the name of the user? (Windows/CS5)

    I am looking for a way for our Stylists to digitally sign the "" on the graphics they export them, what we do via javascript. Through other posts in this forum, I know how to add text in a textbox via JS, but finds it difficult to get the information from user name.

    I was hoping that I could follow somehow the user name of one of the folder options, but he always goes back like a truncated file that does not include the user name part.

    So, for example when I use this:

    alert(Folder.userData.absoluteURI);
    

    my result is:

    ~/AppData/roaming

    The info that I need are there where pesky ~ is! Any ideas on how to get it to give me the full path name?

    I tried:

    Folder.userData.absoluteURI
    Folder.userData.path
    Folder.userData.fullName
    Folder.userData.parent
    

    All except .parent give me the same result "~/AppData/Roaming".

    .parent gave me '~/AppData '.

    . parent.parent gave me «~»

    When I went to parent.parent.parent he gave me "/ c/Users.

    The username property is blocked somehow be returned? Is there a way around this if yes?

    Tech Specs: Windows 7, using Illustrator CS5 64-bit

    use

    alert(Folder.userData.fsName); // C:\Users\Carlos\AppData\Roaming
    
  • Is it possible to get a new drive for Vista?

    I am attacked by a very damaging virus and decided to reinstall Windows Vista.  I have a Vista upgrade version.  I already reinstalled XP but now I can't find my Vista disc or product key label.  I write the product ID Vista before reinstalling.  Is there anyway to get a picture of disc/new of an installation of Vista with my code?  Microsoft can do that?

    What needs additional parts team is the product key. The alphanumeric code with 25 characters appearing on the certificate of Authenticity sticker attached to the housing of the cd the best retail.

    If what you have is a 20 digit (PID) code find computer properties folder, I fear that may not work.

    At least get your CD case so that they can better help to get a new drive.

  • I still have problems getting a new certificate for my (entourage) of Microsoft Outlook. Mine expired last month, so my e-mail system stop working. Any ideas?

    I still have a problem trying to get a new certificate from Apple for my version of Microsoft Outlook 2008-9 (Entourage) for my Mac. I was not able to receive or send emails more than a month. Any ideas?

    Try the search and post here.

    -Support of Microsoft Office for Mac

    -Support of Microsoft Office for Mac (2)

  • Is it possible to get a new replacement for XP media?

    Is it possible to get a new media, in replacement of old DVD who - by accident and a hasty movement was broken? Windows XP Pro 64-bit. I'm not sure that I posted this question on the right forum; It is both the maintenance, installation and repair (maybe). So, for this in advance.

    The following link might be worth a visit:

    (326246) how to replace software Microsoft or hardware, order
    service packs and replace product manuals
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;326246

  • "Any new name for the program" has encountered a problem and needs to close. Sorry for the inconvience

    Whenever we try to install something new, that settles it, but when we get the same error message

    "the new name of the program" has encountered a problem and needs to close.  Sorry for the inconvience

    We can't get anything to run now

    Hello

    1 is this problem limited only when installing an application?
    2. what application are you trying to install?

    Method 1.
    I recommend you to reregister the Installer engine.
    Here's how:
    a. Click Start, click Accessories and then click command prompt.
    b. at the command prompt, type the following and press ENTER after each line:

    MSIExec /Unregister
     
    MSIExec/regserver

    Method 2.
    For other methods, see the article below.
    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer
    http://support.Microsoft.com/kb/2438651/en-us

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I get a new password for an upgrade to my Flash drive?

    How can I get a new password to do a upgrade for my Flash Player?

    Why you need a new password; Just use the existing: https://forums.adobe.com/thread/1619850

  • Try to get a new battery for A1189 for a 17 inch MacBook Pro 2008

    Need a new battery for my MacBook 2008 Pr A1189, cannot find them on the Apple Store and not those who are genuine available elsewhere that I can find it, a lot of one on Amazon etc, but they are safe and reliable?

    Apple stopped making batteries for these years. There are many piles of counterfeit around, showing most on auction sites, but I've seen a few reports here of them bought on Amazon.

    I trust Other World Computing and they have this:

    https://eShop.MacSales.com/shop/apple_laptop/batteries/MacBook_Pro_17

    You can also view Global Batteries:

    http://www.global-batteries.com/product_info.php/cPath/1_12/products_id/8839

Maybe you are looking for