• 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: Does this work for anyone in Yosemite?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does this work for anyone in Yosemite?


  • Subject: Re: Does this work for anyone in Yosemite?
  • From: Deivy Petrescu <email@hidden>
  • Date: Wed, 16 Sep 2015 12:55:06 -0400

> On Sep 16, 2015, at 12:50 , Deivy Petrescu <email@hidden> wrote:
>
> Yvan, run the script as Ed sent.
>
> Then run the one I sent.
> I modified the script bit by bit, i.e.,
>
>
> tell application "Safari"
> activate
> set myDoc to make new document at beginning
> set myWindow to window 1
> end tell
>
> tell application "Safari"
> activate
> set myDoc to make new document at beginning
> end tell
>
> tell application "Safari"
> activate
> make new document at beginning
> end tell
>
> tell application "Safari"
> activate
> make new document at front
> end tell
>
>
> but it might not be necessary to go thru all the steps.
>
>> On Sep 16, 2015, at 12:46 , Yvan KOENIG <email@hidden> wrote:
>>
>>
>>> Le 2015/09/16 à 18:39, Deivy Petrescu <email@hidden> a écrit :
>>>
>>> I’ll be darned!!!!!
>>>
>>> I ran the script as suggested by Ed and it worked.
>>> Changed it back to the one I proposed and now … it works!!!
>>>
>>> As Yvan noted and I had the same in my log window, “front" gets converted to “beginning" during execution.
>>> So, I think that there was a problem connecting “front" with the right “beginning”, which miraculously gets fixed when you use beginning.
>>>
>>>
>>> Whatever this is, is one of the most bizarre bugs I’ve seen.
>>>
>>
>> You are more lucky than me.
>>
>> Here, maybe it's because I use the system in French but with the script triggering explicitely beginning changes nothing.
>>
>>
>> Yvan KOENIG running Yosemite 10.10.5 in French (VALLAURIS, France) mercredi 16 septembre 2015 18:46:00
>>
>>
>>
>> <2015-09-16T18.43.57.jpg>

Forgot to say that, after it worked with “Safari” it worked with all the other applications without having to change anything other than the name of the app.
In other words, after one worked all the others worked as well (Script Editor, TextEdit, Pages)

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


References: 
 >Does this work for anyone in Yosemite? (From: Deivy Petrescu <email@hidden>)
 >Re: Does this work for anyone in Yosemite? (From: "Stockly, Ed" <email@hidden>)
 >Re: Does this work for anyone in Yosemite? (From: Deivy Petrescu <email@hidden>)
 >Re: Does this work for anyone in Yosemite? (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Does this work for anyone in Yosemite?
  • Next by Date: Re: Does this work for anyone in Yosemite?
  • Previous by thread: Re: Does this work for anyone in Yosemite?
  • Next by thread: Re: Does this work for anyone in Yosemite?
  • Index(es):
    • Date
    • Thread