• 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
Is this possible in apple script? sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is this possible in apple script? sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g'


  • Subject: Is this possible in apple script? sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g'
  • From: Vincent <email@hidden>
  • Date: Wed, 18 Dec 2013 15:01:35 +0400

Doing a search on a NAS which does not support spotlight searching,
I would like, within its search function in its web interface, do a copy on the link and have applescript process it for me to open the folder containing the item.

set FolderLocation to (do shell script "pbpaste | sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g' | pbcopy")

how can I make applescript work on this.

many thx all for your help

 _______________________________________________
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

  • Prev by Date: Re: launch command bug
  • Next by Date: Re: launch command bug
  • Previous by thread: Re: launch command bug
  • Next by thread: Re: Is this possible in apple script? sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g'
  • Index(es):
    • Date
    • Thread