Applescript and application process name on osx 10.10

I have an application that I'm running on OSX, and I have this AppleScript that was working on 10.9, but it seems that it does not work on 10.10
try tell application \"System Events\" to set processPath to application file of application process "My Application" return POSIX path of processPath on error errMsg return "" end try
When I run this in the AppleScript editor, it gives me the error that "System events got an error: Can't get application process "My Application".
I checked the Activity Monitor, and indeed, there is no process called "My Application" in there. The associated process with my application is now registered by the name "SWT". I confirmed this by killing the "SWT" process, and it killed my app.
I tried setting the Application name to "My Application", (using Display.setAppName("My Application");) inside my code, which worked, and now I am able to see a process called "My Application" in the Activity Monitor, but the AppleScript is still not working. The new error that I'm getting now is:
Can’t make alias \"Macintosh HD:Library:Java:JavaVirtualMachines:jdk1.7.0_71.jdk:Contents:Home:bin:java\" of application \"System Events\" into the expected type
My question is, what has changed from 10.9 to 10.10, and why is my application registered as "SWT" process, instead of "My Application", as it was in 10.9?

I have an iMac 2.16GHz and a MacBook 2.4GHz. Both were running 10.5.2; I have since updated the iMac to 10.5.3. I also have an old machine running OS X 10.2.8 server. (OK, laugh. But it works!) Before upgrading my iMac to 10.5, I could copy files to and from that server pretty quickly.
Now, anything of size takes forever. I am connecting over wired ethernet (but wireless, having tried, is no better). I have a Airport Extreme router with Gigabit, and a separate Asante 8-port 10/100 switch. No matter how anything connects, a transfer of 200mb or so takes almost 30 minutes.
I brought a friend's machine over running 10.4.11, and it transfered to the old Mac server the same 200mb file in less than 3 minutes or so. What I would expect.
Thinking maybe the old 10.2.8 server was too old for 10.5, I subbed in another machine running 10.4.11 server. The times to it were terrible, too, from any of the 10.5 machines.
I tried turning off IPV6, then the times went to hours to copy, so I turned it back to Auto. I have read that maybe there are other network settings (such as those changeable with a tool such as Cocktail) that could be the culprit. I have not explored that.
This post is definitely not closed or solved!
Pete

Similar Messages

  • Localize the name of AppleScript Studio application

    Hi,
    How to localize the name of an AppleScript Studio application (Xcode 2.4.1) ?
    I have found the solution in the developer doc, but nothing...
    - I have added CFBundleName in every InfoPlist.strings file (with and without the CFBundleName property in the Info.plist file)
    - I have added CFBundleExecutable in every InfoPlist.strings file (with and without the CFBundleExecutable property in the Info.plist file)
    - I have tried to make localizable the Info.plist file, modifying the CFBundleName and CFBundleExecutable property of every localization
    Of course, I have run "Clean All" between each operation...
    Thanks by advance, CU

    Solution...
    In Info.plist file:
    - The CFBundleName property must have a unique name
    - Add the LSHasLocalizedDisplayName key with string "YES"
    In every InfoPlist.strings file:
    - Add a CFBundleDisplayName property with localized name
    - Add a CFBundleName property with localized name (for the application menu)

  • Application server name and port number

    Hi
    Is it possible to get the application server name(ip) and port number at runtime. Becuase i want to open an html file which is in the application server, when a button is pressed by using web.show_document ();
    Can anyone guide me please.
    Thanks in advance
    geethu

    application server name and port number

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • Data logger and online processing application

    Dear All
    My application should include both data logging and online processing threads which are synchronized. I already implemented that by means of something we call "Ring buffer" which is an array containing the data and when the data stream reach its end it start over again from first index. It works almost well but sometimes it seems that my "timed loop" which is my processing thread is a little bit ahead of my data logger thread and it makes some distortion on data stream in processing thread but of course not in data logger.
    Since this type of application is very classic, we should have a kind of general prototype (example) for its implementation which provides fully synchronization between processing and logger threads so I was wondering if somebody knows where I should look into?
    Best regards
    Afshin

    Hello Afshin,
    Have a look at Software Circular Buffer in LabVIEW and Software Circular Buffer Reference Library for Multi-Channel Data Acquisition.
    The latter comes with an example.
    Regards,
    Eirikur Runarsson
    Platinum Applications Engineer
    NI Denmark

  • Server name, port from OSB proxy and BPEL processes

    How do I read the server name, port and any other server related information from OSB proxy and BPEL processes?

    http://www.experts-exchange.com/Software/Server_Software/Application_Servers/Java/BEA_WebLogic/Q_24480613.html
    ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
    InitialContext ctx = new InitialContext();
    MBeanServer server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime");
    ObjectName rt = (ObjectName)server.getAttribute(service,"ServerRuntime");
    System.out.println("Server Name : "+server.getAttribute(rt,"Name"));
    System.out.println("Server Address : "+server.getAttribute(rt,"ListenAddress"));
    System.out.println("Server Port : "+server.getAttribute(rt,"ListenPort"));
    ctx.close();
    By the way, it tool 10 seconds on google ...

  • Get Application Server Name and Version

    Hello All,
    Is it possible to get the Application Server Name and Version using Java?
    To simplify my question, if I am running Weblogic, the jsp page should tell me that I am running Weblogic Version <number> or IBM WebSphere Version <number>.
    Thanks

    I get an error when I put this line in my jsp page:
    out.println(" Server Info: " +getServletContext().getServerInfo());
    Is there something I am missing?
    symbol : method getServletContext ()
    location: class jsp_servlet._jsp._mu.__showmxversion
    out.println(" Server Info: " +getServletContext().getServerInfo()); //[ /jsp/mu/showMXVersion.jsp; Line: 16]

  • Change "Services and applications" names in failover cluster manager

    Hi. Id like to change "Services and applications" names in failover cluster manager for Windows Server 2008 R2.
    I right click on one and press rename, but when i change the name and press enter i get the message "To rename this service or application please rename the Client Access Point via its property page"
    It's important that we don't change the network name for the service

    Hi,
    Checkout this blog post
    PowerShell for Failover Clustering: Let’s Rename a Few Things
    But keep in mind if you rename the resources and you are using them in a script or backup you need to check this also with the new name.
    Greetings, Robert Smit Follow me @clustermvp http://robertsmit.wordpress.com/ “Please click "Vote As Helpful" if it is helpful for you and Proposed As Answer” Please remember to click “Mark as Answer” on the post that helps you

  • How to export Business process and application area from Backend.

    Hi ,
    I am new to SAP. I want to export Business process, sub business process, and application area from backend SAP system to my desktop in the excel or flat file format. How can I do this ?? what are the transactions to do this ?.
    Thanks in advance for Reply

    Hi,
    You can deactivate the business process itself if you do not want at all. So that the header will not available for the entity.
    Regards,
    Priya

  • Process dimensions and Applications after Restore

    We are using BPC 7.0MS.  We need to process dimensions and Applications after the database restore in case of any Optimization failures. It takes around 3 hours for us to do this process. Can we skip the BPC process by taking backup of Database and SSAS and restoring them in case of any failures?
    Thanks
    Raj

    Hi Raj,
    you can try but remeber that after the restore you must execute a "modifiy application" for all your applications so maybe you'll not gain time.
    Kind regards
    Roberto
    Edited by: Roberto Vidotti on Dec 12, 2011 3:33 PM

  • SSIS - pass variables to Data Manager for Appset and Application name

    Hi folks,
    I'm building an SSIS package, and I can't work out how to set the Appset and Application names in the Convert Task item - I have created the item, and the variables, but I can't work out how to reference the two.
    Any tips or help greatly appreciated - this is one of the worst-documented pieces of software I've ever seen!
    Thanks,
    Jason

    Hi,
    Please refer to the other SSIS packages already created. We need not set these parameters while creating the SSIS package. When we link the SSIS to DM package, we can dynamically send the appset name and the application names.
    Hope this helps.

  • Application Manager keeps crashing after I try and sign in on mac osx 10.8.3

    Application Manager keeps crashing after I try and sign in on mac osx 10.8.3

    David it sounds like you are having multiple difficulties with your current installation.  My best advice at this point would be to run the uninstallers in the Applications/Utilities/Adobe Installers folder.  Once this is done you will want to follow up with using the CS Cleaner tool to ensure complete removal.  You can find details on the use of the CS Cleaner tool at CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.

  • Currently running process name list and local port list display using java

    HI
    I have for truble to display Process name list and that process running local port number...
    like this output from java
    process localport
    ======= ========
    ccApp 1096
    orbd 1050
    postmaster 5432
    skype 443
    MSTask 1051
    can help any one with sample code Explain sample code wtih , this thread or . if you found sample code please send me [email protected]
    Best Regards
    P.SASIKUMAR

    If it's possible for C++ ,. can you give me the best sample and how to interact to java todisplay this result....

  • Is there a problem with APEX Application Processes and VPD?

    I have a table that has a policy function. When I select from the table straight from the page it seems to be only returning the appropriate rows for the user.
    But, when I select from the same table using an application process (On-Demand), PL/SQL Block.
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    FOR c IN (SELECT '1' o,
    name || ' (' || school || ')' d,
    pk_id r
    FROM sch_base
    WHERE pk_id = nvl(:REFRESH_LOV_PK_ID,'null')
    UNION
    SELECT '2' o,
    '%' d,
    '%null%' r
    FROM dual
    UNION
    SELECT '3' o,
    name || ' (' || school || ')' d,
    pk_id r
    FROM sch_base
    WHERE pk_id <> nvl(:REFRESH_LOV_PK_ID,'null')
    ORDER BY 1,2)
    LOOP
    HTP.prn ('<option value="' || c.r || '">' ||
    c.d || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    It returns all rows in the table.

    This is the policy on my table:
    begin
    dbms_rls.add_policy(
    object_schema => 'SIS_EXPRESS',
    object_name => 'SCH_BASE',
    policy_name => 'SCH_BASE Policy',
    function_schema => 'SIS_EXPRESS',
    policy_function => 'VPD_SCH_BASE',
    statement_types => 'select');
    end;
    I have a function VPD_SCH_BASE which set the where condition for the SCH_BASE table.
    It works for a simple list values select, but not when this Application Process is run.
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    FOR c IN (SELECT '1' o,
    name || ' (' || school || ')' d,
    pk_id r
    FROM sch_base
    WHERE pk_id = nvl(:REFRESH_LOV_PK_ID,'null')
    UNION
    SELECT '2' o,
    '%' d,
    '%null%' r
    FROM dual
    UNION
    SELECT '3' o,
    name || ' (' || school || ')' d,
    pk_id r
    FROM sch_base
    WHERE pk_id <> nvl(:REFRESH_LOV_PK_ID,'null')
    ORDER BY 1,2)
    LOOP
    HTP.prn ('<option value="' || c.r || '">' ||
    c.d || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;

  • How do find Process name and Node name in a workflow ?

    Hi,
    For logging exceptions, how do I elegantly find the
    process name and node name in a workflow.
    Thanks
    -Anil

    The service location of the process is available on the interface returned
    by
    context.getService() in the process. That contains the full process path
    (including process project name).
    On the node, I don't know...
    Robert
    "Anil Varma" <[email protected]> wrote in message
    news:31361182.1091122588490.JavaMail.root@jserv5...
    Hi,
    For logging exceptions, how do I elegantly find the
    process name and node name in a workflow.
    Thanks
    -Anil

Maybe you are looking for

  • Error while previewing in Word 2007

    I am using word 2007 and have xml publisher template builder for word version 5.6 build 45 in stalled on my system. I have installed MS .NET 2.0 patch also. When i select for preview after loading the data, every time i hit the same error. the error

  • How to disable coldfusion for an apache virtual host

    Is it possible to disable CF on an per virutal host basis. Because i am using a context_root of / (default for cfusion eh), all access for images, html, even things I have setup to use mod_proxy to go elsewhere are first run past CF. I wish it was po

  • I rented a movie on my macbook pro I use to be able to watch them on my apple tv , For some reason i can't find my rentals on my apple Tv anymore

    I rented a movie on my macbook pro I use to be able to watch them on my apple tv , For some reason i can't find my rentals on my apple Tv anymore after updating my apple TV ?? How can i watch my rentals that i purchased on my MacBook Pro on My AppleT

  • Getting generated keys inside Java

    Is there any way to get generated keys in Java running on CF server? I have some java code accessed from CF, I get a connection to the data source by name via "coldfusion.server.DataSourceService.getDatasource(datasourceName).getConnection()" call wi

  • Report object

    hi frds plz give me clearly any critical report object plz give me with  transaction codes to my mail id <REMOVED BY MODERATOR> Edited by: Alvaro Tejada Galindo on Feb 27, 2008 5:27 PM