Repeat does not not in another block of tell

I am writing a script which will check that an external hard drive is mounted at startup, and then when it is to execute the drop-down list. I noticed when I first wrote the script with

say application ID "com.getdropbox.dropbox" to Activate

It is not always activate? So, I found this to make sure that this was the case

on is_running (appName)

say application 'System events' to (name of the processappName contains)

end is_running

Repeat

the value safRunning to the is_running ("Dropbox")

If safRunning then

output Repeat

on the other

say application ID "com.getdropbox.dropbox" to Activate

end if

end Repeat


Then I put it inside a control for the volume control. Then I get this? Any ideas please?

is_running ("Dropbox")

--> Error number - 1708

Result:

error "Finder has been an error: can not continue is_running." number-1708

on is_running (appName)

say application 'System events' to (name of the processappName contains)

end is_running

say application 'Finder '.

the value allDisks to drives

Repeat with theDisk in allDisks

If the name of theDisk begins by "CloudStorage" then

Repeat

the value safRunning to the is_running ("Dropbox")

If safRunning then

output Repeat

on the other

say application ID "com.getdropbox.dropbox" to Activate

end if

end Repeat

end if

end Repeat

end say

When you call a defined script manager of in a tell block, you must use the keyword my to indicate the script manager is in the script and not a manager defined by the app.

the value safRunning to my is_running ("Dropbox")

Tags: Mac OS & System Software

Similar Questions

  • I can't access my hotmail account! Recovery option that was sent to me does not work either, it always tells me that my account is blocked.

    I can't access my hotmail account! Recovery option that was sent to me does not work either, it always tells me that my account is blocked.

    What can I do to get this corrected counts

    Hello

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • WiFi password has changed now my WiFi Repeater does not connect

    to change my WiFi password now my WiFi Repeater does not connect, anyone got an answer for me.

    to change my WiFi password now my WiFi Repeater does not connect, anyone got an answer for me.

    Connect to your WiFi Repeater and set the password to match the password for the router.

  • Does not show a block

    I'm developing this Web site: http://buketnayalavka1.ru/
    There is a div with id #social at the foot of page, that does not work. One reason, I suppose, is that firefox cannot load images (icons instagram, vk and facebook) in the pages even if you load them through a direct link.
    Chrome shows this block without problem.
    Please help =)

    I see them. You use extensions of filtering of content such as ad blockers or blockers of follow-up that could hide them?

  • Cannot install, error 205 (disabling the antivirus does not help, another internet connection does not help)

    Don't know who else can talk me to about it.

    Basic cat / customer service does not know how to solve my problem. I get error 205. Support to that solution has been disable the antivirus. That did not work. The next idea was try another internet connection. Does not work either. Of course, all this could be avoided if there was more than one method of download available. Maybe one that installed CC how the rest of the planet is installed.

    Despite everything, I need someone who can help me with this. I pay Adobe on a monthly basis after all.

    Please see the links below.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • Photosmart B110a does not print another property

    I replaced the cartridges of color with authentic products on my Photosmart B110a.  Until then it worked perfectly.  Now it prints shocking images of color in pastels.  Does not print black which is 3/4 full.  I use a Mac.  I powered by printing, computer, uninstalled and reinstalled and still no luck.

    Test pages print works and the colors appear.  I cleaned the print heads.  I have re-aligned heads too.  Help, please!

    Hi Deelesley, don't know what fixed it but glad to hear it of good feeling back for you.

    FYI, if you have problems again the link below has a lot of support documents & troubleshooting for PS b110a

    http://h10025.www1.HP.com/ewfrf/wc/product?product=4022343&CC=IE&DLC=en&LC=en&product=4022343&tmp_track_link=ot_search

    Ciara

  • Firefox blocks access to my Picasa albums and I can't post new photos of her. He just started two days ago. I watched the opitions and my site picassa is listed as ALLOW but it does not work. Can someone tell me a solution? Thank you.

    I use Firefox to load the photos in my Picasa Albums. Two days when I tried to make a new album, Firefox repeatedly block Picassa. I checked in the Options box and my Picassa site was included to allow, but it will not. How can I fix this problem so I can use Picassa?
    Thank you
    David

    The best solution is just to add... docs.google.com to allowed in compatibility mode.

  • Windows Update page does not load, another updater with "update" in the url does not work, and the microsoft Download Center will not download. Help!

    Right. I read the other posts and do not know if it's the same or not, but...

    Update Windows page fails to load - no error message
    antivirus and another updater with update in the URL cannot purely and simply, or don't load - no error message
    any attempt to download anything from microsoft download site fails to load - no error message

    I got stardock, not my colors, uninstalled

    same result.

    any ideas?

    CLM-NSWG4,
    It seems to me that you can have to deal with a virus\malware infection.  You can watch these threads discuss virus problems and see if you are able to detect problems, that I suggest you use an online scanner (if you are able to) and scan your system.

    Windows Live OneCare Safety Scanner Windows 7\Vista

    Windows Live OneCare Safety Scanner Windows XP

    Get rid of malware

    Can I clean an already infected computer?

    If you need more help then read: what to post in the Windows Update forum
    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Satellite Pro R50-B-10V does not to another HARD drive

    Hello

    I would like to exchange records between two Satellite Pro R50, then drives are detected by the BIOS, but fails to start with "no system disk". No password is defined for the disks and BIOS. In their original notebooks, the disks work fine. What's not?

    Michael

    Thanks for the clarification

  • Windows does not load. Blocked 3 of 3 messages update

    Original title: help me please!

    Help me please! When I turn on my laptop it starts, but only as much as the blue windows screen, it then tell update 3 of 3 and that s it, I left on the update, but it remains right on this screen, help me please :)

    Hi Gemma,

    You can read the following article and check if it helps.

    An update is not installed successfully when you try to install the update in Windows Vista and Windows 7

  • S2716DG buttons layout market/Menu does not, the Image block when the computer is shut down

    Hi all

    I had my monitor for about two weeks and it works fine, but yesterday the menu and power buttons unresponsive. The light on the power button is also disabled. If I turn off my PC the picture hangs at the screen closed until I have turn the computer on. Otherwise, the screen seems to work very well. I have not tried to unplug it and by him plugging back in since it's my only monitor at the moment and I won't be able to use my PC the case. Anyone know what could be causing this?

    Thank you

    Not sure, but you should try resetting the monitor =
    * Turn off the monitor
    * Unplug the monitor power cable and all other cables from the rear bottom side of the monitor
    * If a mechanical monitor power button / power off, press the button in 30 seconds (erases all residual power in the circuits). If not a mechanical, just power button wait 30 seconds
    * Reconnect all cables and retest

  • LiveCycle form does not have another property in Firefox, Chrome and Safari. Web browser issues

    When I'm testing a form of stefcameron.com as demo

    http://Forms.stefcameron.com/samples/data-binding/HttpSubmitTest.PDF

    This PDF form only works in IE (10) and Opera. In Firefox, it doesn't show at all. Chrome and Safari, most of the buttons do not work.

    What is a well known problem or just me?

    Hello

    Ideally, the settings of Firefox should show an option to use Adobe Acrobat (in Firefox) to PDF on the type of content.

    Screenshot as follows: -.

    This option should display PDF in Firefox rather than it actually download the PDF to see a standalone player Application.

    Also, please go through http://helpx.adobe.com/livecycle/kb/xfa-pdf-forms-policy-protected-documents-not-displayed .html as this might as well help out you.

    Thanks and greetings

  • PoPList LOV does not have another field via JavaScript

    I want to fill a field of a LOV poplist field value. I tried to write a javascript script, but when I clicked the poplist, poplist field gets filled but the other field has not. I put the following code in the HTML of the page header:
    <script language="JavaScript" 
    type="text/javascript">
    <!--
    function specialty_lookup_pick(){
      //  if P9_SPECIALTY_LOOKUP is not empty, then populate P9_SPECIALTY_FILTER with
      //  it
      if !(html_GetElement('P9_SPECIALTY_LOOKUP')==null ||html_GetElement('P9_SPECIALTY_LOOKUP')==' ') {
        html_GetElement('P9_SPECIALTY_FILTER').value =html_GetElement('P9_SPECIALTY_LOOKUP'); 
      }
    }
    //-->
    </script>
    On the lov poplist, I placed the following code in the HTML Form Element attributes of P9_SPECIALTY_LOOKUP (lov poplist):
    onChange="specialty_lookup_pick();"
    Login details:
    Workspace: RGWORK
    Application: Profile Mini-37838
    User: Tester
    Password: test123

    Follow the following steps:
    1. click on the button on the home screen search firms
    2. click on the architecture and engineering to the title of the research
    3. click on the poplist on the last line (before the go button)
    4. click on any value on the poplist

    Result:
    Poplist field is filled, but the specialty search s/b the padding (in javascript) but is not. Also, I noticed that session state is not defined for the poplist field.

    Can someone please help?

    Thank you
    Robert
    http://apexjscss.blogspot.com

    Your javascript is buggy and it would have been absurd in the part of the conditions of it. Now it's working. Start using firebug.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Firefox and Thunderbird 31.3.0 34.0.5 does not much. Can you tell me how to solve this problem in simple terms; I'm 68 years old.

    34.0.5 of Firefox and Thunderbird 31.3.0 slow down and show "not responding". I saw ways to fix it on Google, but I can't follow him. Is there a simpler way? It has been like that for about 5 months, and I was hoping that with each update, that it would fix itself. I used Mozilla for about 8 years, and this has never happened before.

    Launch the Task Manager in windows. (alt + Ctrl + delete) I remember when that rebooted computers.

    Open the process tab and click the CPU to sort by usage.

    On my windows machine 7, the two sit around the top with 1 or 2 percent of its use. Similar is yours? or are there competing processes from upward? Thunderbird perhaps 30% 30% Firefox and something else 30%

    I suggest you also want outdated plugins.
    In Firefox, go here. https://www.Mozilla.org/en-us/pluginCheck/

    Firefox and Thunderbird share the plugins in the registry, a single cheque must cover all.

    Also hold the SHIFT key at startup (this is the mode without application failure) If you do not see the problem, it's an add-on... look for the one that is used by Firefox and Thunderbird.

  • Why oracle does not take into account different types of blocks?

    Hello all;

    I need some information abt 'why oracle does NOT support different block size to create objects?

    I know that we cannot create all objects with different block size.  but do NOT know the reason


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

    Clear explanation, good for me.


    Thanks and greetings

    GTS (ASIA PACIFIC)

    I need some information abt ' why oracle does NOT support different block size to create objects?

    I know that we cannot create all objects with different block size.  but do NOT know the reason

    If I understand you correctly, this is not true: you can create storage with different blocks and create objects in their breast.

    See CREATE TABLESPACE

Maybe you are looking for