Re: Script Editor Bug Tracking Open Windows?
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