Re: Determine if file is already open
Re: Determine if file is already open
- Subject: Re: Determine if file is already open
- From: Raymond P Reedy <email@hidden>
- Date: Sat, 3 May 2008 15:18:23 -0400
On May 3, 2008, at 15:00 , email@hidden
wrote:
Ray,
Here's one of many ways;
tell application "Finder" to set appRunning to (processes whose name
= "Safari") â {}
ignoring application responses
if not appRunning then launch application "Safari"
end ignoring
On May 2, 2008, at 3:04 PM, Raymond P Reedy wrote:
Before I issue an "Open File" command to the Finder, how do I
determine if the file is already open?
Thanks. That tells me if the App is open. I want to know if
particular file is already open before I issue an 'OPEN' command.
Ray
Raymond P Reedy
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden