Jump to content


Photo

User Notes pre-filled with text from a verse


  • Please log in to reply
12 replies to this topic

#1 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 31 December 2013 - 10:12 AM

Has someone already created a User Notes file that is already populated, verse-by-verse, with the text of each verse? I realize that one can view Notes alongside any translation, but my personal workflow is such that I often end up copy-pasting the verse text up at the top of a User Note for that verse anyway, just for quick reference. And so I can do the sort of color-coding and note-taking as shown in the attached screenshot.

 

I realize there are other ways to do this in Accordance--highlight the text, just take notes in the Notes, etc. I also realize that I can set my Notes text to whatever text and see the verse when I hover over a hyperlink. But I like having the verse itself copied into the Notes.

 

Specifically I'm thinking about the GNT--either with GNT28-T or NA28-T.

 

If someone hasn't created a file like this that they're able to share, is there an easy way to tell Accordance to paste the text of each verse into the Notes, so as to not have to do it manually?

Attached Files


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#2 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,713 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 31 December 2013 - 11:55 AM

It sounds like a job for AppleScript Abram. I can't see an easy way to just select blocks and have individual notes entries created for each verse in the selection and paste the text in with it. I had a bit of a poke about and I couldn't see an option to paste the text with the ref. into user notes.

 

Thx

D


Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#3 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 31 December 2013 - 12:35 PM

A paste text into User Notes option would be awesome.

 

Maybe the inimitable Joe Weaks will know if/how a script is possible for this?


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#4 Tony Pyles

Tony Pyles

    Silver

  • Active Members
  • PipPipPip
  • 166 posts
  • Gender:Male
  • Location:Brisbane
  • Interests:Hebrew, Greek, Psalms, Septuagint, Linguistics, NT use of the OT, Reformed Dogmatics
  • Accordance Version:11.x

Posted 31 December 2013 - 07:18 PM

I imagine creating and distributing an already-filled User Notes file would raise copyright concerns. I'm interested, too, in a way to do this sort of thing! Perhaps down the line an option could be incorporated into preferences similar to what now exists for pre-populating a user note with the reference? It might be made more flexible by allowing an option between a given text and the text at the front when one creates a new note…


  • Abram K-J likes this

#5 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 31 December 2013 - 08:02 PM

Great idea, Tony!


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#6 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,713 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 31 December 2013 - 09:18 PM

I wondered about the copyright issue also Tony.

 

Abram, my first attempt at this in AS has hit a snag I knew about but do not yet know a solution for. I don't know how to move focus to the search tab results so that they can be copied into the note. I do know how to do repeated queries altering them on each iteration and how to move between zones and such but not this I'm afraid.

 

But another thought - would a User Tool be an easier route ?

 

tx

D
 


Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#7 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 01 January 2014 - 07:48 AM

I haven't used User Tools enough (yet) to know, but that's not a bad idea; I might try. However, I'm not sure those are any easier to pre-populate than User Notes?


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#8 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,506 posts
  • Twitter:accordancebible
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x
  • Platforms:Mac OS X, Windows, iOS

Posted 01 January 2014 - 08:43 AM

It would be easy but not useful to create a user tool with all the Bible verses. What you really need here is not for someone to create such a Notes file, since there are so many Bible versions, but for our dedicated developers to add an option to populate a new Note with a particular version of that Bible verse. I like the idea, but it will have to take its place in the rather long queue of planned features.


  • Tony Pyles and Abram K-J like this
Helen Brown
OakTree Software

#9 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 01 January 2014 - 08:54 AM

Okay--sounds like a good plan.


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#10 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,713 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 01 January 2014 - 12:13 PM

Hi Abram,

 

  Yesterday evening as an exercise in GUI scripting Accordance I managed to get this going in prototype form. I was able to get a script to produce a user note with a note entry for the first 24 verses of chapter 1 of Matthew, each populated with the verse text. I just cleaned up my test note and reran it this morning. It takes about a minute to do the 24 verses. To be really useful it would need code cleanup and some notion of the number of verses in a chapter and chapters in a book. I don't know how to query for this kind of information in Acc programmatically, so I'd probably tabulate it in the code. I've done that on another GUI scripting experiment with Acc recently and it worked ok. But in this case it would be an exercise to obtain the data to cover the GNT. The problem is that GUI scripting doesn't get good feedback from the application. You have to put sleeps to handle timing issues (which is why it takes so long) and you have to try to avoid having unexpected things happen.

 

  But with all those caveats if you are still interested I can give you the code. The result is like the attached note file which was done with GNT28-T.

 

Thx

D

Attached Files


  • Tony Pyles likes this

Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#11 Tony Pyles

Tony Pyles

    Silver

  • Active Members
  • PipPipPip
  • 166 posts
  • Gender:Male
  • Location:Brisbane
  • Interests:Hebrew, Greek, Psalms, Septuagint, Linguistics, NT use of the OT, Reformed Dogmatics
  • Accordance Version:11.x

Posted 01 January 2014 - 01:28 PM

Daniel,

 

Thanks for your work! I would find this helpful, too. The immediate application I'm thinking of is preparing a User Notes file for a Hebrew exegesis course.

 

Tony



#12 Abram K-J

Abram K-J

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,994 posts
  • Gender:Male
  • Location:Greater Boston, MA
  • Accordance Version:11.x

Posted 01 January 2014 - 02:06 PM

Sure, Daniel! That sounds great. I'll message you my email address through messages on the forums.

Though I have very little coding experience, so I'm not sure I could do what's needed. Willing to try, though.


Abram K-J
Pastor, Writer, Editor, Blogger
Web: Words on the Word

 

Accordance 11 on Yosemite: early 2008 iMac / late 2008 MacBook

Latest iAccord on latest iOS on iPad mini


#13 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,713 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 01 January 2014 - 07:47 PM

Hi Abram, Tony,

 

  I've attached it here as there may be more interest in such stuff. Perhaps this will serve as small example.

  I've commented the code fairly heavily, not line by line, but generally with all the gotchas and limitations I can think of.

  As I get more time to think about some of these things I'll try to work out how to provide solutions to them in a library. But for now have a grotty prototype as a way to welcome in the new year :) Oh and when running this first time around and perhaps anyway I would recommend having only the one required workspace open and using a new User Note for it. Am I paranoid about data - oh yes. :)

 

  Let me know if you have issues.

 

Thx

D

Attached Files


  • Tony Pyles likes this

Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users