• 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
Script to insert the file name in TextWrangler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script to insert the file name in TextWrangler


  • Subject: Script to insert the file name in TextWrangler
  • From: CafeTran Wiki <email@hidden>
  • Date: Fri, 08 Jan 2016 08:48:40 +0100

Hello,

Could someone please help me with a script that copies the name of the open file without the path and the extension (.md) to the clipboard, for easy inserting in the open document?

So in TE I've opened:

/Users/Hans/Dropbox/CT/Man/en-GB/preview-me-in-the-viewer.md

The script puts the file name 'preview-me-in-the-viewer' on the clipboard.

Thanks for your help!

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

  • Follow-Ups:
    • Re: Script to insert the file name in TextWrangler
      • From: Christopher Stone <email@hidden>
    • Re: Script to insert the file name in TextWrangler
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Renamer script
  • Next by Date: standard library
  • Previous by thread: Re: Renamer script
  • Next by thread: Re: Script to insert the file name in TextWrangler
  • Index(es):
    • Date
    • Thread