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


ADVERTISEMENT

OS X Technologies :: Unable To Detect Usb Stick In Windows 7?

Apr 24, 2012

unable to detect usb stick in w7.

Info:
MacBook Air, Mac OS X (10.7.3)

View 1 Replies View Related

OS X Technologies :: Script To Detect When USB Stick Is Plugged?

May 31, 2012

Script to detect when USB stick is plugged to my mac.

View 11 Replies View Related

OS X Technologies :: Any Way To Detect Current Volume Level Using Command?

May 7, 2012

I can change the volume level from the command line using this command, For example: osascript -e 'set Volume 3'. Is there a way to detect the current volume level using a similar command and a way to assign it to a variable? And just for good measure, are there similar commands for detecting and setting the current balance?

Info:
iMac, Mac OS X (10.6.7), MySQL 5.1, Perl 5.10, Apache 2.2

View 4 Replies View Related

OS X Technologies :: Finding An Apple-script To Detect If A Cd Is Inside The Mac?

Jun 13, 2012

I'm looking for an applescript to detect if a cd is inside my mac, if cd inside (possible to detect if empty?) do one thing.Otherwise do another thing. 

View 6 Replies View Related

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 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 :: Running On OS 10.5.8 - Does It Need An Update

Apr 12, 2012

If im running on OS 10.5.8, do i need to update this too?

View 2 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 :: Automator Perpetually Running On Second Action?

Feb 8, 2012

I had been using automator quite successfully until recently now I'm unable to get automator to step through even the most basic setup. It refuses to step through to the second action and perpetually runs without producing any results as the image below shows.for any of my automator setups I get results for the first step and then an indefinate hang on the second leaving the step icon greyed out. I have tried this with numerous other actions like calendars etc but to no avail. Below are the very basic automator steps I'm using in this example. 

Info:
iMac, Mac OS X (10.7.2)

View 10 Replies View Related

OS X Technologies :: Apache Error Running Constantly?

Feb 9, 2012

How can I correct this error?

Could not open configuration file /Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/fmi-test.conf: No such file or directory 

View 6 Replies View Related

X Technologies :: Remove Flashback Malware From A Mac Running OS 10.5.8?

Apr 14, 2012

How do I remove Flashback Malware from a Mac running OS 10.5.8?

Info:Mac Pro, Mac OS X (10.5.8)

View 2 Replies View Related

OS X Technologies :: Running Slow With Some Of The Sites Such As Facebook?

May 15, 2012

I am having difficulty in slow in some locations and as especially in the facebook site

Info:
MacBook
Pro, Mac OS X (10.7.3)

View 3 Replies View Related

OS X Technologies :: Running An Applescript Without Username Or Password?

Jun 18, 2012

I am trying to write a generic script that will mount a disk upon log in of a user So far I have this: (which works for a specific user:) 

try
mount volume "smb://MyUserName:MyPassWords@ServerIAmPointingTo"
end try  

I have pointed the script to my log in prefernces so it runs automatically when I log in. Is there a way to do this with a generic username/password? If I wanted to give this script to 100 of my co-workers, they would all have to modify the code to their credeintals. But is there any defaut usernames or passwords that AppleScript will take?  Maybe something like: mount volume "smb://default:default@ServerIAmPointingTo" ...? My goal for this script is to have it run on peoples desktops at work to point to the same server, since I work in IT. But, I don't want to modify each script for each unique person. 

View 1 Replies View Related

OS X Technologies :: Install A Base Java Before Running Update?

Apr 15, 2012

Does one have to install a base Java before running this update, or is it a full installer?

Info:
iMac, Mac OS X (10.7.3), Lee's computer

View 1 Replies View Related

OS X Technologies :: Running Multiple Folder Actions At Same Time

May 29, 2012

Does anyone have some experience running multiple folder actions at the same time? I've written a Applescript folder action that processes some files. When adding some files, the script starts and all goes well. The processing of each file takes a few minutes, but all files are processed correctly. However, when adding some new files to the dropfolder, while the folder action is all ready processing other files dropped a few minutes earlier, the process that is all ready running immediately aborts and the folder action is relaunched on the new files, leaving the old files for what they are.The same problem occurs with multiple folders, each having a folder action attached. When dropping files in "Folder A", the script starts processing. But if someone droppes files in "Folder B", The script of folder A aborts, and the script of folder B starts processing. When adding more files to the folders, the result is the same. In some casses, when the last dropped files are processed, the os continues where the operation was aborted on the previous files. But this not always happens. To make things worse, when you remove the items from the folders afterwords, the folder actions starts running again on items no longer present in the folder ..Does anyone know how I can prevent the folder action being aborted when new files are dropped and placing the new files in "Hold", until the previous files are processed? How can I prevent a folder action being aborted when a item is dropped into another folder? I've written a small script to test this behaviour. Just create one or more folders and attach the script below. Drop a item into the folder, wait a few seconds and drop another one in the same or another folder. To monitor what happens please check the console. [code]
Info:
Mac OS X (10.6.8)

View 2 Replies View Related

OS X Technologies :: Command That Works In Terminal Not Running As Launch Agent

Apr 11, 2012

Trying to run the following command as a Launch Agent (OS X 10.7): /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r 

Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl.  If I change the command to a simple Applescript test: osascript -e 'tell Application "Finder" to display dialog "hello"' 

It runs correctly as a launch agent when loaded and as the specified time Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.  

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

[Code].....

View 4 Replies View Related

OS X :: Is There A Way To Pause A Running Application

Sep 4, 2009

Is there a way to pause a running application? I don't want to quit out of it, but I don't want it to hog my cpu either (what it's using it for, I don't know since it's just frozen on a menu screen). I would think that "Activity Monitor" has something for it, but I didn't see anything.

View 2 Replies View Related

Mac Mini :: Running Out Of Application Memory?

Apr 24, 2012

I have had terrible problems with my Mac Mini. Apple has replaced the hard drive twice, the SATA cable once and the optical drive once in the first year I've had it. After the latest installation of Lion, I have had repeated problems with the error "Your Mac OS x startup disk has no more space available for application memory." This is false -- I have less than half of my 500 GB in use and 4 GB of wired memory. 

I believe that Safari is always running when I get this error. Also, I cannot cleanly quit Safari -- I always must force quit, b/c it hangs when I quit. The last time I got this message, Safari was using 1.26 GB of memory.  

My System Memory report is all out of whack: 

VM size: 221.25 GB
Page ins: 1.59 GB
Page outs: 40.15 GB
Swap used: 59 GB 

This is after only 1 or 2 days of uptime. I have just a couple of weeks left on my Apple Care and am desperate to know if this is hardware problem requiring my 5th trip to the Genius Bar or if this some kind of software problem that I can fix. 

On this latest Lion install, I did a clean install with no settings or applications, and I killed extensions on Safari. 

Info:
Mac mini, Mac OS X (10.7.3), Mid-2010 MacMini

View 3 Replies View Related

MacBook Pro :: How To Delete Application Running OS X 10.7.4

May 14, 2012

How do I delete an application from macbook pro

Info:
MacBook Pro (13-inch Late 2011), Mac OS X (10.7.4)

View 2 Replies View Related

Software :: Running Mail Application Remotely On Mac Possible

Jun 20, 2010

How can I run mail.app remotely on a Mac? I have a desktop and a laptop, both on 10.4.11. The desktop has my mail files, and sometimes I'd like to read them from the laptop. The laptop can log into the desktop over my wireless home network and I can run the copy of mail.app that's on the desktop. But when I do that, it looks for mail files that are on the laptop rather than the desktop.

View 3 Replies View Related

OS X :: Closing Application With X Icon - Leave It Running?

Oct 14, 2009

I'm used to KDE and Gnome, where if I close an app, it's closed, end of. No more consuming processor power and no need to go round housekeeping and right-click+quit. Please help me understand how to change the behaviour of my Mac mini so when I click the little red X, the app closes properly.

View 5 Replies View Related

Applications :: Running IWork As Portable Application?

Nov 24, 2009

Has anyone tried running iWork as a portable app? Are there any particular methods to make it work? If this doesn't work can anyone point me in the direction of a portable app that opens .pages documents?

View 4 Replies View Related

OS X V10.7 Lion :: Stop Running Application In Iphone 3gs?

May 19, 2012

how to stop running application in iphone 3gs

Info:
iPhone 3GS, iOS 4.1

View 1 Replies View Related

OS X Mavericks :: How To Delete Application That Is Broken But Still Running

Sep 5, 2014

Somehow, Quicken became broken so I replaced it with new copy and moved old to trash. When trying to empty trash I get the message that the application is still in use and can't remove. When I take the app out of trash and try to open it I get the message "Application is broken or incomplete."

Apparently, some part of the application failed to shut down and continues to run. It does not appear in the list when I try to force quit. Whatever it is that's running is either a memory hog or takes up too much CPU time because the whole system slows down to a point that I can't do any work (just get the spinning color wheel) and I have to manually force system shut-down.

When I restart the computer all works okay (but slow) and starts to degrade over time until the system runs out of whatever resource Quicken is using. Question is: How can I delete this application and eliminate the problem. 

Info:
iMac, OS X Mavericks (10.9.4)

View 5 Replies View Related

OS X V10.7 Lion :: Automatically Close A Running Application On Shut Down?

Apr 13, 2012

I recently found that the cause for my macbook pro hanging on shut down was due to Kaspersky running in the background. Because quiting it before shutting down every time is annoying is there a way to automate the quitting of an application when I request my computer to shut down? 

Info:
MacBook Pro, Mac OS X (10.7.3), Logic Pro 9

View 1 Replies View Related

MacBook Pro :: Automatically Close A Running Application On Shut Down?

Apr 13, 2012

I recently found that the cause for my macbook pro hanging on shut down was due to Kaspersky running in the background. Because quiting it before shutting down every time is annoying is there a way to automate the quitting of an application when I request my computer to shut down?

Info:MacBookPro, Mac OS X (10.7.3), Logic Pro 9

View 1 Replies View Related

MacBook Pro :: Display Shrinks When Running Application Modified By SwitchResX

Jun 1, 2014

I play the Elder Scrolls Online and was trying to tweak around with the game's settings to get the most frames possbile while running the game with a high level of rendering samples. I did this by lowering the game's window resolution by one level while in full screen. However, after a recent update the game's true full screen no longer works and I'm unable to change the game's in-game resolution. The game automatically sets itself to my Macbook Pro's native display, and this results in a frame rate drop. 

As a workaround, at least until it was fixed, I would lower my Macbook's native display before running the game, and restore it when I was finished playing. This was tedious to me, and I looked around for a program that would automatically change the display on a specfic application's startup or exit. I found SwitchResX at [URL] and wanted to try it. I made it so that the resolution would switch to 1280 x 800 whenever ESO was loaded. It worked fine, but I wanted to do a comparision of frames at the normal resolution to see if it actually fixed anything. This is where my problem lies: after closing ESO and disabling the SwitchResX setting, the entire screen shrinks down to a small square whenever I run other applications (initially I thought it was just with ESO, but I found out that more programs were affected while typing this), and most of it is surrounded by a big black border: 

(You can see the tool bar and the application dock hanging in the middle of the screen)

I've tried:

Uninstalling SwitchResX

Changing the display

Changing the display while running the programs affected

Soft Reseting

Hard Rereseting

A NVRAM Reset

Info:
MacBook Pro with Retina display, OS X Mountain Lion (10.8.4)

View 1 Replies View Related

OS X :: ICal Dock Icon Date Fade Display When Application Not Running

Nov 12, 2010

I was wondering if anybody out there may know why this is happening to my iCal dock icon. When the app is not running, the date on the icon is displaced by like 15px, then when it is launched, the date goes back to the correct position. Check it out:

View 2 Replies View Related







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