Simple Color Counter App... stuck!
I'm trying to create an app using applescript that I can open quickly, double click the color of choice and be done until the next time I need it.
The app should increment the Color I choose by 1 and close.
Here is what I have so far:
But I can't seem to get it to work the way I want. I want it to load from a txt file and then save the updated results to the same txt file.
Here is the code I have so far:
set theFile to "/Users/me/Desktop/ColorData.txt"
set colorList to paragraphs of (read POSIX file theFile)
set selectedColor to choose from list colorList with title "Color Counter" with prompt "" OK button name "+1" cancel button name "Close"
The code after this just messes everything up... so I didn't include it. If anyone can help me find a solution to this, it would be appreciated. I've decided not to use datetimestamps with this since it seems to add another level of difficulty. But it would be a bonus to be able to have the last updated row moved to the bottom.
Thanks!