• 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: Script Editor Bug Tracking Open Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Editor Bug Tracking Open Windows?


  • Subject: Re: Script Editor Bug Tracking Open Windows?
  • From: Jon Pugh <email@hidden>
  • Date: Fri, 09 Mar 2018 10:53:59 -0800

On Mar 8, 2018, at 10:39 PM, Shane Stanley <email@hidden> wrote:
>
> I guess you meant file rather than folder, but it still runs the same risk of
> the file not being open before the next statement is executed.
>
> Safer to tell Script Editor:
>
> set theDoc to (((path to desktop) as text) & fname) as alias
> tell application "Script Editor"
>       open theDoc
> end tell

Ah yes, I normally use open from the Terminal to get a Finder window from my
current working directory, so I presumed that was the intent. I had forgotten
all about the Script Editor being involved. I blame Script Debugger for making
me forget about Script Editor.  ;)

Jon

Attachment: signature.asc
Description: Message signed with OpenPGP

 _______________________________________________
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: 
 >Script Editor Bug Tracking Open Windows? (From: Jonathan Levi <email@hidden>)
 >Re: Script Editor Bug Tracking Open Windows? (From: Shane Stanley <email@hidden>)
 >Re: Script Editor Bug Tracking Open Windows? (From: Jon Pugh <email@hidden>)
 >Re: Script Editor Bug Tracking Open Windows? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Script Editor Bug Tracking Open Windows?
  • Next by Date: padding dates etc.
  • Previous by thread: Re: Script Editor Bug Tracking Open Windows?
  • Next by thread: padding dates etc.
  • Index(es):
    • Date
    • Thread