{"id":409,"date":"2006-11-25T13:36:53","date_gmt":"2006-11-25T21:36:53","guid":{"rendered":"http:\/\/boulter.com\/blog\/2006\/11\/25\/importing-stickies-from-windows-to-macintosh\/"},"modified":"2006-11-25T20:57:32","modified_gmt":"2006-11-26T04:57:32","slug":"importing-stickies-from-windows-to-macintosh","status":"publish","type":"post","link":"http:\/\/boulter.com\/blog\/2006\/11\/25\/importing-stickies-from-windows-to-macintosh\/","title":{"rendered":"Importing Stickies from Windows to Macintosh"},"content":{"rendered":"<p>I&#8217;ve been a fan of <a href=\"http:\/\/www.zhornsoftware.co.uk\/stickies\/\">Zhorn Software&#8217;s Stickies<\/a> for Windows, but now that I&#8217;ve switched to a Mac, I need to get all those stickies back. <\/p>\n<p>First I had to find the stickies file on my Windows Laptop, located under C:\\Documents and Settings\\[YOUR NAME]\\Application Data\\stickies\\stickies.ini. I copied that to my Mac and wrote this little perl script to convert the stickies file to a bunch of little text files.<\/p>\n<p><code>#!\/usr\/bin\/perl -w   <\/code>                                                                                                                                                                                                                      <\/p>\n<p><code><br \/>\nmkdir('stickies');<br \/>\n$i = 1;<\/code><\/p>\n<p><code><br \/>\nwhile (&lt;&gt;)<br \/>\n{<br \/>\n    s\/.*\\\\fs20(.*)\\\\par\\^M\\}\\^M$\/$1\/;<br \/>\n    s\/\\\\par\\^M\/\\n\/g;<br \/>\n#    s\/\\r\\n\/\/g;<br \/>\n    s\/\\\\\\{\/\\{\/g;<br \/>\n    s\/\\\\\\}\/\\}\/g;<br \/>\n    s\/\\\\f[01]\/\/g;<br \/>\n    s\/^\\s+\/\/g;<\/code><br \/>\n<code><br \/>\n    open(NOTE, \">stickies\/$i.txt\");<br \/>\n    print NOTE $_;<br \/>\n    close(NOTE);<br \/>\n<\/code><br \/>\n<code><br \/>\n    $i++;<br \/>\n}<br \/>\n<\/code><\/p>\n<p>I ran it with<br \/>\n<code><br \/>\nperl stickies.pl < stickies.ini\n<\/code><\/p>\n<p>Then I ran Stickies and went to File > Import Text. I selected all files in the stickies folder and hit open. <\/p>\n<p>Tada! My surrogate brain is back.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been a fan of Zhorn Software&#8217;s Stickies for Windows, but now that I&#8217;ve switched to a Mac, I need to get all those stickies back. First I had to find the stickies file on my Windows Laptop, located under C:\\Documents and Settings\\[YOUR NAME]\\Application Data\\stickies\\stickies.ini. I copied that to my Mac and wrote this little &#8230;<\/p>\n<p><a href=\"http:\/\/boulter.com\/blog\/2006\/11\/25\/importing-stickies-from-windows-to-macintosh\/\" class=\"more-link\">Continue reading &lsquo;Importing Stickies from Windows to Macintosh&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-409","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/posts\/409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/comments?post=409"}],"version-history":[{"count":0,"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/posts\/409\/revisions"}],"wp:attachment":[{"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/media?parent=409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/categories?post=409"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/boulter.com\/blog\/wp-json\/wp\/v2\/tags?post=409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}