cd

Hi all,

looking into generating some xml with attachments and the like. As i'd like to copy those into the appropriate brain folder, i was wondering if there's a best pratice on creating guids for inclusion in PB. So far i've been working with the "!name"-convention that guarantees that PB will create a new guid at that place in the xml.

But now i would like to:

- generate a guid for the thought to be included that is unique to all my brains called e.g. GUID (where GUID is meant to be a guid-format),

- create a folder called GUID underneath Files/ in the brain's folder

- copy attachments into it and

- generating the corresponding xml for inclusion into PB.

Any thoughts on this? Can I simple generate a guid w/ standard libraries/ algos and that's it?

Thanks

Chris

ps: if anyone knows how to get shift-Enter (br instead of p w/i the forum editor) to work under mac, i'd appreciate. took me an hour alone to figure out a consistent pg-up|down/home/end use w/i vim under terminal. talking usability, the mac keyboard/std inputrc is a joke..

-- 9.0.250.0 (9.0.250.0) on Mac OS X 10.12.6
   Old enough to remember Natrificial times...
Quote
zenrain
Yes, I did exactly the same thing using AHK for windows. I called a .dll to create a GUID so I could link attachments, notes, and the like to a thought that was created within the same script. However that was pre 5.5, and I had the time to update it to compensate for the revised XML structure.

My Mac understanding is much more basic at the moment. Would you share what you come up with?
Windows 7
J-1.6.0_22
--
OSX 10.6.3
Java SE 6
Quote

Newsletter Signup  Newsletter        Visit TheBrain Blog   Blog       Follow us on Twitter   Twitter       Like Us on Facebook   Facebook         Circle Us on Google+  Google         Watch Us on Youtube  YouTube       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software