Request for a new script, Notes
-
Hello
Would like to requests a script to open up either WordPad or Notepad while in SketchUp. I would like the script to creat a directory in the SketchUp program directory called “NOTES” and in this directory have creat three directories, called “GENERAL”, “CHANGES-MODS” and “VERSION TRACKER” if these directories are not present. I envision that all my projects Notes would be in these directories. This way it would make it easier for me to copy the notes for a project; I wouldn’t have to remember which directory the project has been stored into. On the road, I use different computers, so my projects and not always in the same directory.
After opening the script, I envision a choice of going to the, General, Change-Mods or Version Tracker to look up the notes and info for the open project.
I have an unbelievable amount of small paper notes, with all kinds of info for the project and it seems I never get all the information taken with me as I travel. So if I had one place to copy the Notes for a project I could keep up on the information overload I seem to be in during work.
I got this idea from using the scrip “plugins_help_TIG.rb”, by TIG. TIG thanks for this and all the other scripts you have written.
Thanks in advance. Hope I haven't offended anyone by making this request.
Ken
-
A few years ago I posted a script called snippets.rb. You can get it here:
and then find the Dec 12 2004, 11:14 am post to get the latest copy. Maybe that will foot the bill.
Todd
-
And there's this http://www.smustard.com/script/ToDoList
Geeze Todd, and your partner has a new baby to support too
-
This will open WordPad. I made it to show up under Tools because my Plugins menu is too long. I just modified CALC.rb.
It's not exactly what you had in mind but I imagine it could be modified to do what you want. Or maybe Todd's script suggestion already does that?
-
@Ken
Just one thought (haven't experience on the following topic): Storing the data to the Sketchup folders may not work if you aren't logged in with admin permissions.azuby
-
-
@dave r said:
This will open WordPad. I made it to show up under Tools because my Plugins menu is too long. I just modified CALC.rb.
It's not exactly what you had in mind but I imagine it could be modified to do what you want. Or maybe Todd's script suggestion already does that?
I like this idea. You know Dave, you could have it open a specific doc file that has the same name as the model file. So each model has it's own unique notes doc. Simple and effective solution. Add a Open Note toolbar button and your done.
-
@jim said:
@dave r said:
This will open WordPad. I made it to show up under Tools because my Plugins menu is too long. I just modified CALC.rb.
It's not exactly what you had in mind but I imagine it could be modified to do what you want. Or maybe Todd's script suggestion already does that?
I like this idea. You know Dave, you could have it open a specific doc file that has the same name as the model file. So each model has it's own unique notes doc. Simple and effective solution. Add a Open Note toolbar button and your done.
Sorry, Jim. The script I posted shows the extent of my Ruby skills. I just modified a script I think Todd wrote. Your ideas are good but I haven't the foggiest idea how to implement them.
So could a Ruby be written to open WordPad, do a Save as... with the SU file name and save it following the model's path and then leave the WordPad open for use?
-
Thanks all
Todd Burch
Looked at snippets.rb. Almost what I want. However, I can’t get Wordpad to open the selected file in the script that I am modifying.
Gata
The ToDoList is something I may buy and use, however, right now it does not keep all the info I want to keep track of.
Dave R
Tried to modify that program. Got Wordpad to open by using the code, “UI.openURL("wordpad")”. However, I can not get Wordpad to open a particular txt file.
azuby
Doesn’t seem to be a problem without admin permissions. Side note, with no capitals in your name, any relation to e.e. cumming, the poet?
Jim
Also thought of opening file name associated with the file name. However, I save many different versions, so the notes would not be in one file, so I want to select the name to use.
Dave R
I have some macro programming in Excel, but Ruby is just beyond my capabilities. However, I am going to give it a whirl.
To all
I have shamelessly modified the script, “Didier and TIG Help file locator”. Almost have it working to find and modify a txt file of notes in the note directory that I have created.
This exercise has made me want to start scripting, so I have a lot of info to go over, but it will be worth the effort. I would share the almost completed project_notes script I have now, but it would not be fair to Didier and TIG. Hope you two don’t mind me using it as a bases for my start into Ruby scripting.
Thanks to all
Ken
-
Ken,
I could look at doing a custom mod of ToDoList that would store all the info in the model. Thoughts?
-
RickW
Not sure how I missed your note. That would be nice. As I said I have modified Didier’s and TIG "All Plugings Help Files ..." script to open up the Wordpad program, however, I can’t get it to open the Wordpad program and the selected TXT message. Side note, can't seem to find any Ruby help in opening other programs.
I am using Wordpad because it has more formatting capabilities than Notepad.
I have put in the Help menu a choice, “Project Notes”. When selected this checks the directory Notes, (which I have made) for TXT files, just like the “All Plugins Help Files...” script checks for Help files.
Anyway, I would appreciate your help.
Note, if this project information is stored in the model, would it move from model to model as I rename the various version I save to keep track of the work in progress? Also, would want to be able to print the Project Notes, so I could pass them along to others. Also, these notes could get large, as I get a lot of email advice and comments that I would like copy into the file and keep track of.
Well, again thanks for the offer. Hope to be able to return the favor.
Ken
Advertisement