Request for a new script, Notes
-
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