• 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: Yvan KOENIG <email@hidden>
  • Date: Tue, 08 Sep 2015 09:48:37 +0200


Le 2015/09/08 à 05:10, Michael Grant <email@hidden> a écrit :

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.

For now I've gotten it to work by using Keyboard Maestro instead of TextExpander.

Thanks,
Michael


For months (maybe years), to get rid of this problem, I use
tell application "SystemUIServer"
choose file
end tell

Yvan KOENIG running Yosemite 10.10.4 in French (VALLAURIS, France) mardi 8 septembre 2015 09:48:31



 _______________________________________________
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>)

  • Prev by Date: Re: AS in TextExpander with user interaction
  • Next by Date: Re: AS in TextExpander with user interaction
  • Previous by thread: Re: AS in TextExpander with user interaction
  • Next by thread: Re: AS in TextExpander with user interaction
  • Index(es):
    • Date
    • Thread