• 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: AS in TextExpander with user interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS in TextExpander with user interaction


  • Subject: Re: AS in TextExpander with user interaction
  • From: Michael Grant <email@hidden>
  • Date: Tue, 15 Sep 2015 21:14:27 -0500

Sorry Chris, you are right and your suggestion works — I read and responded too fast.

Michael

On Tue, Sep 8, 2015 at 10:26 AM, Christopher Stone <email@hidden> wrote:
On Sep 07, 2015, at 22:10, Michael Grant <email@hidden> wrote:
> The problem is that the application I'm actually writing in (I tested with BBEdit but I want the snippet to be available anywhere) is not the same as the application where the script is run (TextExpander.) If I don't explicitly call an app to show choose file, I either don't see the dialog, or the result doesn't get passed back to the original application, or both.
______________________________________________________________________

Hey Michael,

I don't understand.

frontmost application is the FRONT app — NOT the calling app.

Therefore the code should return you to any given app you're working in at the time.

--
Best Regards,
Chris


 _______________________________________________
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



--
There's really no such thing as translating. It's all a scam. We basically just make stuff up and try to make it sound plausible.
 _______________________________________________
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: 
 >AS in TextExpander with user interaction (From: Michael Grant <email@hidden>)
 >Re: AS in TextExpander with user interaction (From: Christopher Stone <email@hidden>)
 >Re: AS in TextExpander with user interaction (From: Michael Grant <email@hidden>)
 >Re: AS in TextExpander with user interaction (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: System Events & Key Code
  • Next by Date: System Events & Key Code
  • Previous by thread: Re: AS in TextExpander with user interaction
  • Next by thread: Simulating a Modal Dialog
  • Index(es):
    • Date
    • Thread