• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Check For Open Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check For Open Application


  • Subject: Re: Check For Open Application
  • From: Ted <email@hidden>
  • Date: Sun, 27 Nov 2005 11:38:23 -0800


On Nov 21, 2005, at 10:57 AM, kai wrote:

Could be a nesting issue, Ted.

It looks like you nailed it! This now works perfectly from my FMPro script:


Perform AppleScript =

tell application "System Events"
	set noSkype to not (exists process "Skype")
end tell

if noSkype then
	tell application "Skype" to activate
	tell application "System Events"
		repeat until exists process "Skype"
			delay 1
		end repeat
	end tell
	delay 10
end if
set phoneNumber to  cell "Phone_Customer" of current record

tell application "Skype"
	 send command "CALL +1" & phoneNumber script name "My Script"
end tell


Failing that, I'd be scratching around for a possible cause (and might even start yelling obscenities like... "bug!") ;-)

LOL! I didn't know there were 3 letter obscenities!

Thanks again, Kai.  You've been a huge help!
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Check For Open Application
      • From: Jay Louvion <email@hidden>
    • Re: Check For Open Application
      • From: kai <email@hidden>
References: 
 >Re: Check For Open Application (From: Ted <email@hidden>)
 >Re: Check For Open Application (From: kai <email@hidden>)

  • Prev by Date: Re: Weeding out items from list
  • Next by Date: Re: Weeding out items from list
  • Previous by thread: Re: Check For Open Application
  • Next by thread: Re: Check For Open Application
  • Index(es):
    • Date
    • Thread