osx - Parsing a set of lines in Applescript -


I am trying to parse a set of lines that read from a file in ApplesScript.

This is how my code looks:

  My status_dialog (IndexData) sets the AppleScript text item delimiter back to the indexfreck (1 of index data 1 item from)  

IndexData is a set of lines line delimiter does not work IndexFreq gives me the line of the whole set instead of the first one again.

I am a newbie here and online resources are not helping me in this.

Many thanks! Pradeep

Your code should work as expected The problem may be That return is not the correct character for this special set lines

You can try to use different characters instead of return .

>
  (ASCII character 10) Tell me to set text item delimiter - // L.F. Ask me to set the text item delimiter (ASCII character 13) - // CR  

Also, to ensure that your other code is Set up the set up, do a simple test:

  set test_string to "thisQisQaQtest" Set the text image delimiter for the "Q" return text item  

The items below should be generated in the following (in your Apple Script console):

{"this", " Is "," a "," test "}


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -