• 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: Detecting Applescript and SKYPE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Applescript and SKYPE


  • Subject: Re: Detecting Applescript and SKYPE
  • From: MList <email@hidden>
  • Date: Fri, 10 Oct 2008 22:12:07 +0100

I do have Skype (though I don't use it to its full extent). I have tested all the scripts and they run as set out, except Michelle's. I get a reply "boo hoo" rather than "boo" to this:

Michelle's script:
______________________
tell application "Finder"
if exists alias "skype.app" in (path to applications folder) then
display dialog "Boo"
else if exists alias "skype.app" in (path to applications folder from user domain) then
display dialog "Boo"
else
display dialog "Boo hoo"
end if
end tell
____________________


Skype is in my hard drive's apps folder. I am wondering if looking for it in the user's apps folder (part 2 of the script) cancels out the actual find in the main apps folder (part 1 of the script). I do not have a personal apps folder.



At 16:14 -0400 10/10/08, Deivy Marck Petrescu wrote:
On Oct 10, 2008, at 4:04 PM, Michelle Steiner wrote:

On Oct 10, 2008, at 12:51 PM, Deivy Marck Petrescu wrote:

You are right Michelle.
I forgot to mention you should compile the script first and dismiss the dialog.
After that it works.
I do not know if you shipped it would work. I assume it would.

Make up a phone application name, compile the script, save it, and email it to me. I'll let you know what happens.


-- Michelle

--
Crossing the starting line is 90%.  Crossing the finish line is the other 90%



I am attaching both a script and an app.
Both are compiled.


Attachment converted: Liandel:Stype.scpt.zip (pZIP/«IC») (0063005C) Attachment converted: Liandel:Stype.app.zip (pZIP/«IC») (0063005D)


I assume no one has Stype installed in their Macs...


Deivy Petrescu 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

_______________________________________________ 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
References: 
 >Detecting Applescript and SKYPE (From: Don Wieland <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Luther Fuller <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Michelle Steiner <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Michelle Steiner <email@hidden>)
 >Re: Detecting Applescript and SKYPE (From: Deivy Marck Petrescu <email@hidden>)

  • Prev by Date: Re: Detecting Applescript and SKYPE
  • Next by Date: Re: Detecting Applescript and SKYPE - MORE
  • Previous by thread: Re: Detecting Applescript and SKYPE (a bug)
  • Next by thread: Re: Detecting Applescript and SKYPE - MORE
  • Index(es):
    • Date
    • Thread