• 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: Timeout Not Working As Expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timeout Not Working As Expected


  • Subject: Re: Timeout Not Working As Expected
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Thu, 19 Mar 2015 17:42:01 -0400

On Mar 18, 2015, at 7:05 PM, Shane Stanley wrote:

> On 19 Mar 2015, at 6:06 am, S. J. Cunningham <email@hidden> wrote:
>>
>> Firefox doesn't support Applescript but I discovered that
>>
>> 	tell application "Firefox" to open location "http://www.yahoo.com";
>>
>> works
>
> "open location" is part of Standard Additions, and will try to open the URL in your chosen browser. So you don't need the "tell" statement (and you won't find it in a browser's scripting dictionary).

I'm sure you are right but riddle me this:

	open location "imacros://run/?m=LastPostPreviewClip.iim"

		--> An error of type -10814 has occurred

but

	tell application "Firefox" to open location"imacros://run/?m=LastPostPreviewClip.iim"

Works fine.

I'm guessing "imacros://" isn't recognized as a url by Applescript but is by Firefox. "http://"; url's work as you describe.  Thankfully the tell statement works or I'd be up the creek.
 _______________________________________________
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: 
 >Timeout Not Working As Expected (From: "S. J. Cunningham" <email@hidden>)
 >Re: Timeout Not Working As Expected (From: "S. J. Cunningham" <email@hidden>)
 >Re: Timeout Not Working As Expected (From: Christopher Stone <email@hidden>)
 >Re: Timeout Not Working As Expected (From: "S. J. Cunningham" <email@hidden>)
 >Re: Timeout Not Working As Expected (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Properties not saved when a script is executed by a Mail rule?
  • Next by Date: Re: Properties not saved when a script is executed by a Mail rule?
  • Previous by thread: Re: Timeout Not Working As Expected
  • Next by thread: Re: Timeout Not Working As Expected
  • Index(es):
    • Date
    • Thread