OS X Technologies :: Script Work With One Application And Not The Next?

Jun 28, 2012

This works: tell application "System Events" to try if exists process "Safari" then tell application "Safari" to quit saving noon error do shell script "killall Safari"end try And this does not work  tell application "System Events" to try if exists process "Ovolab Phlink" then tell application "Ovolab Phlink" to quit saving noon error do shell script "killall Ovolab Phlink"end try  

it hangs on the word 'no' and gives message: Syntax error Expected end of line but found application constant or consideration. Ovolab Phlink excists of course on my HD.   

If I take out the second 'Ovolab Phlink' and replace it with 'Safari', it does not hang (and does not work). 

Info:
MBP, MM, MBP - 10.6 + Windooz XP on a hard partition

View 12 Replies


ADVERTISEMENT

OS X Technologies :: Way To Detect Application Running

Apr 24, 2012

how can i do a script which does one thing if it finds one application running, and does another thing if it finds the same application not running?

View 3 Replies View Related

OS X Technologies :: How To Access An Application That Bundle With AppleScript

Apr 19, 2012

I'm creating an AppleScript application bundle that relies on a separate application. I want to add this application to my bundle and then call it via "tell application xyz ... end tell" 

So far I have been unable to make AppleScript see this application, except when I gave it the absolute path of where it is located. Obviously, as soon as my application bundle is moved to a different directory this will not work anymore so is not a solution. Tinkering with "path to me" and thus creating the current path to the bundled application also does not work, when saving the script, ScriptEditor tries to find the application and see if the commands I want to tell it exist btu fails and consequently does not save. 

I tried putting the application into the Contents, Contents:MacOS, and Contents:Resources folders, all without success. 

View 9 Replies View Related

OS X Technologies :: AppleScript That Will Quit Application Upon Sleep

Jul 6, 2012

I have never worked with applescript before, so I am completely lost. I have a program that does not like to be open when the computer goes to sleep. I usually remember to close the app, but sometimes I forget and get myself in trouble. If I do forget, very bad things can happen to the database of the program, so it is imperative that it is closed.

I am hoping there is an applescript that will quit the application if I put my laptop to sleep, usually by closing the lid. I don't want to trigger the sleep with the applescript, just something that will see that the computer is going to sleep and quit the application before it happens. Is this possible, and if so, how do I go about doing it?

Info:
MacBook Pro (15-inch Mid 2009), Mac OS X (10.7.4)

View 1 Replies View Related

OS X Technologies :: Pause Workflow Until Embedded Applescript Application Is Complete

Mar 1, 2012

I have a multi-step automator workflow that has an embedded "Launch Application" step that calls an applescript application that I've written.  The application goes through a list of URLs.  I don't want the workflow to start with the next step until my application has cycled through all the URLs.  Currently, I have hard coded a pause into the workflow, but I'm looking for something more precise (if I set the pause too long, it results in unnecessary delays, if I set it too short, my workflow gets messed up). 

I'm assuming there is some way to modify my application and/or the workflow to send a complete status that can trigger the next step in my workflow.

Info:
Applescript, Mac OS X (10.7.2)

View 2 Replies View Related

OS X Technologies :: Will Iwork 8 Work On 10.7.3

Feb 28, 2012

I'm told that to keep my mobile.me I must upgrade from 10.6.8 to 10.7.3  If I do that will I lose my iwork 8?

View 1 Replies View Related

OS X Technologies :: Parental Controls Don't Seem To Work Correctly

Mar 20, 2012

Our son can log off and log back on in the same 24 hour period of time, thus by-passing his daily limit we have set-up.

View 3 Replies View Related

OS X Technologies :: IPv6 Autoconfig Doesn't Work

Jun 29, 2012

found today that 10.7.4-OS X doesn't handle IPv6-autoconfiguration. 

At tcpdump I see the "Router Advertisments" but the configd can't answer with "Router Solicitation":

Jun 29 16:37:51 tksmac configd[16]: RTADV en1: send Router Solicitation: failed, Operation not permitted  All other devices in the same network works fine with IPv6 (autoconfig).  

Info:
MacBook Pro (15-inch Mid 2010), Mac OS X (10.7.4)

View 6 Replies View Related

OS X Technologies :: Older Automator Script Won't Work In Lion

Jun 20, 2012

i have an Automator "application" that i made with the help of people on this very board that worked flawlessly on Snow Leopard and previous OSs but doesn't work in Lion anymore.i was hoping if someone could look at the file (link below) and either tell me what needs to be changed, or go right in and change it for me! (i don't really have much experience with scripting). i have a txt file with a list of filenames. the script references this list, goes to the folder that contains these files (but the folder also has other files in it too) and copies the referenced files into a new folder. url...

View 14 Replies View Related

OS X Technologies :: System Preferences Won't Work When Click On It (on The Apple Menu)

Feb 14, 2012

When i click System Preferences on the apple menu nothing will happen.

View 14 Replies View Related

OS X Technologies :: Create An Apple-script To Install Printers - Can't Seem To Get It To Work

Mar 21, 2012

I'm running 10.7and I'm trying to create an applescript to install printers.  I'm able to run the first command without issues but the other two keeps giving me error messages in applescript. I assume its because the other two commands have spaces? These are the commands I run when in Terminal: 

/usr/sbin/lpadmin -p CX560 -E -v lpd://CX560/print -P /Library/Printers/PPDs/Contents/Resources/en.lproj/US-Letter/CX560_V1.PPD -D FireStationCX560 

[code]....

This is the only command I can successfully run in AppleScipt: 

do shell script "/usr/sbin/lpadmin -p CX560 -E -v lpd://CX560/print -P /Library/Printers/PPDs/Contents/Resources/en.lproj/US-Letter/CX560_V1.PPD -D FireStationCX560"  

View 2 Replies View Related

OS X :: SMC Fan Control Application Not Work At All

Feb 6, 2010

I have a Mac Pro 2xQuad 2.66Ghz and the cores are always really hot even when idle. When I chat and surf the Internet I only use ca. 3% of the cores however the temperatures are at ca. 80 C and higher when I do work.

So I decided to Install SMC Fancontrol, however there is a big problem I can download it fine, I unwrap the zip fine and I can open the application. However as soon as I type in my password nothing happens. Its really frustrating because I cannot do anything I cant even delete it as it apparently is still running.

Mac OS 10.6.2 Snow Leopard
2009 Model

View 13 Replies View Related

OS X :: Java Application Doesn't Work?

Sep 3, 2009

I need to call Ukraine by using a special java application (VOIP) which allow to call for free the mobile subscribers of this provider (Life).

The problem is that this java application works perfectly in Windows but doesn't work at all on Leopard. (the same also in Ubuntu)

This is the application:

[URL] (u should press "launch web-client")

The error i get is the following:

"Unable to launch application"

"Error: Unsigned application requesting unrestricted access to system

Unsigned resource:[URL]

Do u have any idea how to solve this problem? (in windows it works without any issue)

View 4 Replies View Related

OS X :: Cannot Get Gmail To Work With Mail Application

Apr 28, 2010

I have problem with mail application. I cannot get Gmail to work with it, I don't know why. I tried and nothing, I remove it and try again and same thing. It's written: The Gmail IMAP server [URL] is not responding. Try checking the network connection, and that the server name is correct. Otherwise, the server might be temporarily unavailable. If you continue, you might not be able to receive messages. I have already hotmail, and it works without problem. I even enable IMAP server at the gmail when I go through website directly. I am using MAC OS X. Mail application is is 4.2 version.

View 2 Replies View Related

OS X :: Mail Application Doesn't Work On IMac 10.5?

May 6, 2009

Have a new iMac (last years) with 10.5 on it. My email worked normal before I transferred Applications, files & etc from my old G4 with 10.4.

Now I can only get to my email through through my Earthlink home page by logging in & etc. (a real pain just to check my email!)

If I try to use the email icon on the iMac dock I get the email line at the top of the screen , but email page does not open. I have to go to menu and click on "In" and the page opens up but does not download any email. Will not send from this location either. When I try to quit email it will not close. I have to force quit it.

Earthlink said to trash their "Total Access" as it won't work with 10.5. So when the iMac was working ok before the transfer of files I must have been using Apples Mail application. How do I get it working again? I looked all over Mail Help and Apple help and nothing seems to work. Safari works ok.

View 2 Replies View Related

Software :: Mail Application Doesn't Work Probably?

Sep 3, 2008

I had to shut down my Mac by holding the power button. My Mail application didn't like this and it asked me to re-download all of my messages again. I did this but now the message topics and message content are out of sync.

I.e. I click on a title and the message is completely different.

Without wiping all of my e-mails is there someway to correct this with a refresh?

View 1 Replies View Related

Mac Mini :: DVD Won't Work Either With DVD-films, Application DVD Or Music CD

Mar 30, 2012

The DVD won't work either with DVD-films, Application DVD or music CD.  I have tried a lens cleaner disc but it will not work. The disks is "spinning around" for a while and then they ejects.  What to to? Reisnstall Mac OS?

Info:
Mac mini

View 1 Replies View Related

MacBook Air :: Occasionally Using Adobe CS5 Application For Light Work

Dec 14, 2010

I've currently got an early 2009 iMac, 2.8Ghz Core 2 Duo and 2GB of RAM. How would a base 11.6" MacBook Air compare to my iMac, occasionally using Adobe CS5 applications for light work on PhotoShop, Premier Pro and After Effects? Or would I be better off waiting for the MacBook refresh for something more powerful?

View 10 Replies View Related

Mac OS X Lion Server :: The Application Installed On IPad Via MDM Doesn't Work?

May 27, 2012

I remotely installed application onto iPad via MDM, but the applicaiton I installed on the iPad can't be opened or launch, how to fix it?

Info:
Mac mini, Mac OS X (10.7.4)

View 1 Replies View Related

Applications :: Finding Google Chrome Application Shortcuts Supposed To Work?

Dec 11, 2009

I have installed the beta of Google Chrome but is unable to select "Create application shortcut" (not so sure if its the correct words, because my installation is in Swedish)

The option is there to select but is greyed out (disabled).

Anyone knows anything about this?

View 1 Replies View Related

OS X Technologies :: Enabling PHP On Mac 10.6.6

Mar 26, 2012

PHP version 5.3.3 seems installed. But when I attempt to open php pages the browser opens them as text. It seems that I must edit the httpd.conf file to actually enable php. I changed the permissions on the file with sudo chmod ug+rw for httpd.conf. TextEdit still doesn't allow me to change it. It's saying that I don't have permission to write to that folder. I changed the permission the /etc/apache2 and that didn't help. What must I do to be able to modify httpd.conf and enable php support? Is there a different way to enable PHP? I am aware that MAMP is an option. But I should not have to use that option if php is available in apache.

Info:
Mac OS X (10.6.6)

View 1 Replies View Related

OS X Technologies :: Getting Architecture Of The MAC?

Apr 21, 2012

architecture of MAC Operation System?I am make a work on mac and i need help, i am not to find nothing... 

Info:
Mac OS X (10.7.3)

View 3 Replies View Related

OS X Technologies :: How To Get Rid Of Virus On Mac

May 2, 2012

I'm a new Mac user. How can I get rid of a virus?

View 1 Replies View Related

OS X Technologies :: Was AU Lab Removed From XCode 4.3?

Feb 23, 2012

I was using XCode 4.2.something at work and had AU Lab. I upgraded to 4.3 and now AU Lab is gone. Where is it?

Info:
XCode, Mac OS X (10.7.3)

View 1 Replies View Related

OS X Technologies :: How To Create A Dialog Box

Feb 27, 2012

What i am trying to do is create a program that lets the user have a small conversation with the computer but i don't want to use "else" and list the possible inputs seperatley and have to write the same thing over and over again. does anyone know of a way i can list possible inputs together and have them lead to the same result?

View 6 Replies View Related

OS X Technologies :: How To Know If Mac Get Infected By Virus

Feb 28, 2012

How do I know when my Mac has a virus?

Info:
iMac, Mac OS X (10.4.11)

View 2 Replies View Related

OS X Technologies :: Why Has UUID Has Changed

Mar 4, 2012

I probably already have the answer to this question myself but I wanted to make sure, and also have a follow-up query based on the responses.The system board was replaced last year after a nasty scrap between a cup of black coffee and my MBP (you will have immediately deduced who won).Today I noticed that many of the plist and plist.lockfile files within my Library/Preferences/ByHost folder have duplicates, albeit with different UUIDs in the filename. The dates pretty much tie up with when the system board was replaced so my assumption is that the UUID changed with the new hardware.

Q1) Would someone be so kind as to verify my assumption, or make a loud raspberry if my assumption is erroneous?

On the basis that the response from our wonderful community is: "Your assumption is correct Livebox, you have not gone mad, and you may rest-assured that the world is at peace (for now)", my additional question(s) are:

Q2a) Is it safe to delete ALL plist and plist.lockfile files that sport the old UUID? 

Q2b) Is it safe to delete ONLY those plist and plist.lockfile files that sport the old UUID AND have a new version that sports the new UUID?

Info:
MacBook Pro (17-inch Early 2008), Mac OS X (10.7.3), 4GB RAM - GeForce 8600M (512MB) GT

View 4 Replies View Related

OS X Technologies :: Is There Such Thing As An 'and If' Statement

Mar 8, 2012

Is there such thing as an 'and if' statement? What I'm trying to do is the following: set var1 to 1st text item of theMessage as text set var2 to 3rd text item of theMessage as text If var1 is "help" and if var2 is "" (blank)then do something end if.

View 3 Replies View Related

OS X Technologies :: Cannot Access The ISync

Mar 13, 2012

I'm using MAC OS X LION and I cannot access the iSync.

Info:
iSync

View 1 Replies View Related

OS X Technologies :: Run Script Upon Restart?

Mar 23, 2012

Is there any way to activate a script as soon as the restart or shutdown options are selected either from the Apple menu or any other method?

Info:
MacBook Pro (15-inch Mid 2009), Mac OS X (10.7.3)

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved