Trying to open an application using the script below

tell application "Finder" 
open file "mactest.app" of folder of (file (path to me))
end tell
I would like to open the mactest.app in the foreground.
But when the script executes finder comes on top of the application.
Is there some thing that i'm doing wrong?
Any other ways of doing this without Finder?
Please help

This seems to do what you want for a standard application
tell application "Finder"
          open file (path to application "Calculator")
end tell
So what is 'mactest.app'  and what happens if you open it in the normal way?

Similar Messages

  • Opening an application in the dimension library.

    I am trying to edit an application using the dimension library but when i click on dimension library and then open my shared library, I do not see my application.
    Please help.
    Thanks,

    double click on the application in the application library to open in the dimension library

  • When trying to open iphoto I get the error message "You can't open the application iPhoto because it may be damaged or incomplete." How do I fix this and get my photo's back?

    When trying to open iphoto I get the error message "You can't open the application iPhoto because it may be damaged or incomplete." How do I fix this and get my photo's back?

    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Close the application using the camera, then try opening!!!

    i use my built in isight everymorning with iMovie and iChat. I used it again this morning. Throught out the day, for some reasons i had to reinstall quicktime and another video file exporter software "ffmpegx". now i don't know if this has to do anything with it, but now if i open my ichat, imovie, phoneboot, anyway, all of them, they keep saying that the camera is being used by another application!!! there is NO application using the camera!!! i tried to restart, shut it down, even deleted the video file export software, even reinstalled quicktime another time, yet the message keeps popping up. i am travelling and don't have my restore or reboot cd with me. i need my camera to work, it is part of my work. i need some help.

    300 pmTool root 0.90 1 1.20 MB 36.46 MB Intel
    299 Activity Monitor danielbelanger 4.60 2 9.47 MB 345.03 MB Intel
    286 Database Daemon danielbelanger 0.00 3 15.01 MB 448.61 MB PowerP
    285 Word danielbelanger 3.40 6 81.95 MB 696.12 MB PowerPC
    281 Mail danielbelanger 0.00 6 20.00 MB 362.41 MB Intel
    276 Address Book danielbelanger 0.00 1 11.57 MB 346.98 MB Intel
    274 AppleSpell danielbelanger 0.00 1 1.91 MB 37.75 MB Intel
    272 Safari danielbelanger 1.50 9 171.56 MB 668.81 MB PowerPC
    270 iTunes danielbelanger 7.30 4 33.47 MB 378.62 MB Intel
    267 mdimport unknown 0.00 4 2.46 MB 39.55 MB Intel
    266 iChatAgent danielbelanger 0.00 3 5.41 MB 298.09 MB Intel
    261 System Events danielbelanger 0.00 1 3.52 MB 328.50 MB Intel
    260 Plazer danielbelanger 0.00 4 7.86 MB 344.36 MB Intel
    259 Temperature Monitor danielbelanger 0.00 6 9.21 MB 377.50 MB Intel
    257 Alarm Clock danielbelanger 0.00 1 5.06 MB 335.72 MB Intel
    256 mdimport danielbelanger 0.00 4 4.38 MB 40.16 MB Intel
    249 Finder danielbelanger 0.00 4 12.48 MB 355.98 MB Intel
    247 SystemUIServer danielbelanger 0.00 2 10.50 MB 348.57 MB Intel
    246 Dock danielbelanger 0.00 2 4.15 MB 310.77 MB Intel
    241 pbs danielbelanger 0.00 2 2.02 MB 54.99 MB Intel
    234 WindowServer windowserver 2.50 3 58.66 MB 383.14 MB Intel
    233 mdimport ibrido 0.00 3 2.42 MB 38.42 MB Intel
    231 loginwindow danielbelanger 0.00 4 5.51 MB 335.82 MB Intel
    229 mdimport nobody 0.00 4 2.41 MB 39.25 MB Intel
    194 slpd root 0.00 6 1,008.00 KB 30.16 MB Intel
    169 ntpd root 0.00 1 404.00 KB 27.07 MB Intel
    165 automount root 0.00 3 1.07 MB 28.72 MB Intel
    160 mds root 0.00 9 4.78 MB 43.91 MB Intel
    154 AppleFileServer root 0.00 2 2.20 MB 33.68 MB Intel
    145 automount root 0.00 5 1.32 MB 29.77 MB Intel
    142 rpc.lockd root 0.00 1 188.00 KB 26.66 MB Intel
    133 nfsiod root 0.00 5 184.00 KB 28.61 MB Intel
    110 translated root 0.00 1 248.00 KB 35.93 MB Intel
    108 lookupd root 0.00 2 1.52 MB 28.50 MB Intel
    106 integod root 0.00 2 17.54 MB 121.01 MB PowerPC
    82 crashreporterd root 0.00 1 204.00 KB 26.60 MB Intel
    68 ATSServer danielbelanger 0.00 2 9.13 MB 66.61 MB Intel
    64 coreservicesd root 0.00 3 12.75 MB 43.35 MB Intel
    63 blued root 0.00 1 1.98 MB 37.04 MB Intel
    51 DirectoryService root 0.00 3 2.96 MB 30.25 MB Intel
    49 update root 0.20 1 220.00 KB 26.60 MB Intel
    48 distnoted root 0.00 1 832.00 KB 27.01 MB Intel
    42 notifyd root 0.00 2 464.00 KB 27.20 MB Intel
    41 securityd root 0.00 1 2.25 MB 28.68 MB Intel
    40 memberd root 0.00 3 648.00 KB 27.64 MB Intel
    39 diskarbitrationd root 0.00 1 1.13 MB 27.14 MB Intel
    38 coreaudiod root 0.00 1 1.11 MB 28.32 MB Intel
    37 configd root 0.00 3 1.91 MB 29.13 MB Intel
    35 syslogd root 0.00 1 420.00 KB 26.63 MB Intel
    34 netinfod root 0.00 1 568.00 KB 26.92 MB Intel
    33 mDNSResponder root 0.00 3 1.11 MB 27.88 MB Intel
    32 KernelEventAgent root 0.00 2 628.00 KB 27.18 MB Intel
    27 kextd root 0.00 2 1.02 MB 27.54 MB Intel
    23 dynamic_pager root 0.00 1 168.00 KB 26.61 MB Intel
    1 launchd root 0.00 3 524.00 KB 27.67 MB Intel
    0 kernel_task root 2.60 45 65.02 MB 947.15 MB Intel

  • Help! I am trying to use the scripts image processor in Photoshop CC.

    Help! I am trying to use the scripts>image processor in Photoshop CC. When I click on it it comes up with an error saying that it cannot find the Javascript Plug In. I have the newest version of Java installed. How do I get it to work in Photoshop. Do I have to download a separate plug in? Any help would be greatly appreciated.

    Java is not Javascript.
    Do you have a Mac or PC?
    If PC, do you have this file on your system?
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\Extensions\ScriptingSupport.8li
    If not, you've got a corrupted installation of Photoshop.  Uninstalling and reinstalling may help.
    -Noel

  • I'm trying to distribute a DB Application using the Instant Client provided

    Hi!!
    I'm trying to distribute a DB Application using the Instant Client provided by Oracle.
    I've checked the FAQ of Oracle and says the Instant Client supports all existant versions of Oracle.
    But I've also seen in another posting that the oci.dll needs the same Oracle version file it was created with.
    I need to distribute an application that provides all the 8i, 9i and 10g versions.
    Do I have to distribute the oci.dll for each version?
    I just wanted to check if this was true.
    One more question, when I uncompress the Instant Client, many files appear from which
    I only left oci.dll, oraocci11.dll and oraociei11.dll and erased them all, but the program
    still works. Is it ok?
    thanx
    Edited by: user11139984 on 2009. 5. 6 오후 11:10

    I am not sure what you mean if you say that you "need to distribute an application that provides all the 8i, 9i and 10g versions".
    If you mean that you want your application to be able to access Oracle Databases of versions 8, 9 and 10, then you can use Instant Client 10.2.0.4 which is able to connect to all of them.
    If your application does not need more than the three DLLs you mention to run, that should be fine.
    Yours,
    Laurenz Albe

  • I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it sti

    Hi
    I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it still has the same problem.
    Cheers
    Rachel

    Hi Rachel,
    You can follow the article: App doesn't open | Progress wheel spins continually to get your issue fixed.
    Let us know if the issue still persists or not.
    Regards,
    Ratandeep Arora

  • Getting error message while trying to open any document in the library

    Hello,
    I am getting the following error message when trying to open any document in the Library. The Workspace name is Contract Lifecycle Management for Public Sector
    Error
    System error. Please re-try your action. If you continue to get this error, please contact the Administrator.
    Oracle Access Manager Version: 11.1.1.3.0
    Copyright © 1996,2010, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

    Ram,
    The error was coming fro OAM which is the authentication system for BeehiveOnline. I suspect but cannot confirm that you have a cookie in the browser that has a different identity from the one you need - maybe you have logged into another OAM OIDin another system.
    If you clear cache in your browser or use a different one I think the problem will go away. If you are unsure how to clear cookies you could go to one of the websites like otn.oracle.com and log out of your account - that will flush out the authentication cookies.
    Phil

  • I recently got iphone 4 , yesterday i was trying to install an application from the itune store it say that i need to authorize it ( i already have an account and bought some apps ) how can i authorize the device ?

    i recently got iphone 4 , yesterday i was trying to install an application from the itune store it say that i need to authorize it ( i already have an account and bought some apps ) and there was a CLICK HERE BUTTON , when i press on it it take me a to a page that require some kind of activation code or smthn like that ,
    how can i authorize the device ?
    and btw i bought it from UAE store
    IOS 4.3.2

    You should only make purchases for all your devices using a single Apple ID.  There is no need, and indeed a good reason not to, set up a new Apple ID with each new device purchase.  While items purchased under different IDs can be played on a single device, you cannot merge Apple IDs and it makes it cumbersome.
    Apple IDs do not expire but may become dormant and require reactivation if they are not actively used.
    You should make note of your Apple ID and passwords and keep a record of it.  Like a bank account it contains access to items with value.  Update your Apple ID email address as they change.
    I see you were guided to this forum by a help page on recovering your password.  If that is not sufficient try the links below.  Apple will need to verify you are indeed to owner of the accounts to which you are trying to gain access.
    http://www.apple.com/support/appleid/contact/
    Contact Apple for help with Apple ID account security - http://support.apple.com/en-us/HT5699 "This article provides country-specific Apple Support contact information for customers seeking help with their Apple ID password or other security-related issues."
    Frequently asked questions about Apple ID - http://support.apple.com/kb/HE37

  • I had a Microsoft tech access my computer remotely to resolve issues with my hotmail acct. There were files that needed to be deleted and he also changed some settings.   Later, when I tried to open InDesign I received the following error:  AMT Subsystem

    I had a Microsoft tech access my computer remotely to resolve issues with my hotmail acct. There were files that needed to be deleted and he also changed some settings.
    Later, when I tried to open InDesign I received the following error:
    AMT Subsystem Failure
    The licensing subsystem has failed catastrophically. You must reinstall or call customer support.
    I rebooted the computer and tried again:
    Licensing for this product has stopped working.
    You cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help.
    I can access Acrobat and MS Office programs, it's just the CS3 programs that I can't access. Can I uninstall and then reinstall CS3 without an access (un-lock) code?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • HT4623 I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working f

    I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working fine.

    Have you tried the following troubleshooting document?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    If you end up using the If the iTunes Store opens successfully section of the document, and the "Automatically detect settings" checkbox is already checked, try unchecking and rechecking it and clicking OK.

  • Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collecti

    Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collections.  Anyone have a solution for this?

    When you say  "could not be opened"- what are you referring to?  A double click of the mouse should view the clicked image in Loupe view- the same as pressing [E] on the keyboard for an enlarged view. (And a second double-click will take you back to library grid view.)
    To "open" an image in the Development module requires you to select the image then press [D] or click on the [Develop] button.
    When you say "could not be ...moved" -what are you referring to?  Are you trying to move an image file from its place in a folder to another folder? Are you just wanting it in a collection? When you drag an image to a collection you are only placing a link to the image in the collection- not actually moving any file. The image will stay exactly where it is in its original folder and will remain as a thumbnail preview in the Library Grid view.
    Are you having any "mouse" problems that may be changing its actions in LR ?
    Do you see an exclamation mark on any image borders ?
    Let's keep working on this. I am curious to see you find an answer.
    Rob

  • Why is my iPad opening website links using the Google App not Safari?

    Why is my iPad opening website links using the Google App not Safari? Everything was fine until two days ago when it started opening them with Google App. I tried uninstalling Google but nothing has changed. It would not bother me at all but it takes Google a lifetime to open them where as Safari used to do it in a matter of seconds. I own an iPad Air, iOS 7.1.2.

    How is it opening a website with the Google App if you uninstalled it?
    Are you sure its the Google App, and not simply Safari opening in a Google search?
    What exactly is happening?
    Basically there is no way to change the default browser for opening links. 
    However, some apps like The Gmail App will open links within themselves or Chrome if it is installed and the option is enabled in the Gmail App settings.

  • After i have downloaded firefox 9.1 and tried to open it, i get the sentence : it couldn't be prepared properly (default 0xc0150004) and the program does not run

    after i have downloaded firefox 9.1 and tried to open it, i get the sentence : it couldn't be prepared properly (default 0xc0150004) and the programm does not run

    I couldn't find anything on the error text you posted but I did find lots of google hits on [http://www.google.com/search?q=%22The+application+failed+to+initialize+properly%22+0xc0150004 "The application failed to initialize properly" 0xc0150004]. Is that the error?
    In any case, did you try a clean reinstall of Firefox? If not, open the C:\Program Files folder and delete the '''Mozilla Firefox''' folder, if it's there. Next, go to mozilla.org/firefox click the green download button and install a new copy.

Maybe you are looking for

  • X11 loop!!HELP!! X11 won't stop opening and closing?

    Here is my crash log: Process:         X11.bin [22896] Path:            /Applications/Utilities/X11.app/Contents/MacOS/X11.bin Identifier:      org.x.X11 Version:         2.6.3 (2.6.3) Build Info:      X11server-106003000000000~56 Code Type:       X8

  • 1065 Error: MouseCursor is not defined

    I'm getting this error but only in IE9. The flash file works fine in all other browsers including IE7. Here is the webpage: www.webdevpractice.com/genoptix I needed to change the speed of the transitions and link each of the 3 images and make them cl

  • Good projector to use wirelessly with an ipad

    I want to use my ipad in my college classrooms and I'm looking for something like bluetooth to connect with.  Does anyone know a wireless option other than the mirror and Apple TV. One of my colleagues has Apple TV in her classroom but she uses it wi

  • Official bug number for regex bug?

    Is there an official bug number for this regex bug? SELECT regexp_substr('foo, bar, qux,', '.*b.*?,') FROM dual returns "foo, bar, qux," instead of "foo, bar," in Oracle 11g R2. Note that this is definitely a bug, as SELECT regexp_substr('foo, bar, q

  • SQL Query report - how to evaluate the current sort column?

    Hi, I have a need to determine which column has been selected to sort the current report by. I need to pull this column name and pass it when a button is pressed so that the ensuing PDF report generated using PLPDF will be able to sort the data the s