Перейти к содержимому

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Фотография

Applescript for selecting text until a marker is encountered [Solved]


  • Please log in to reply
В этой теме нет ответов

#1 Compton

Compton

  • Pip
  • Title: Member
  • Group: Members
  • 4 сообщений

Отправлено 06 Июль 2012 - 04:17

I would need an applescript that would select text from the cursor leftwards until a character marker is encountered. I have the code that will process the selected text further.

However, currently I have to select the area of interest manually. I would like to automate the entire process. Suggestions?

Edit: Apparently the Evernote applescript library doesn't give access to the sub-selection within the text. I was able to execute the desired action through System Events.




Количество пользователей, читающих эту тему: 1

0 пользователей, 1 гостей, 0 анононимных

Clip to Evernote