{"id":1905,"date":"2013-05-06T08:00:05","date_gmt":"2013-05-06T06:00:05","guid":{"rendered":"http:\/\/www.razumny.no\/blog\/?p=1905"},"modified":"2013-05-07T08:21:24","modified_gmt":"2013-05-07T06:21:24","slug":"sense-referencing-files","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=1905","title":{"rendered":"Sense: Referencing files from wherever you want"},"content":{"rendered":"<p>In Sense, you can reference a list to control what your program does. By default, the [line X from_file &#8220;file.txt&#8221;] references the Sense project folder, but it can reference one of many locations. How this works differs on Windows and Mac, but the approach is much the same.<br \/>\n&nbsp;<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/ReferenceSpecificFile.png\" target=_blank><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/ReferenceSpecificFile.png\" ><\/a><br \/>\n&nbsp;<br \/>\nThe way you do it, as you can see in the screenshot above, is that you simply enter the path you want to reference. On Windows, that would look like this:<code>c:\\result.txt<\/code>, while on Mac OS X, it would look like this: <code>\/Users\/Example\/Desktop\/Sources\/results.txt<\/code>. Keep in mind that you can address any mounted share on either platform.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sense, you can reference a list to control what your program does. By default, the [line X from_file &#8220;file.txt&#8221;] references the Sense project folder, but it can reference one of many locations. How this works differs on Windows and Mac, but the approach is much the same. &nbsp; &nbsp; The way you do it, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[119,615,507,733,729],"tags":[967],"class_list":["post-1905","post","type-post","status-publish","format-standard","hentry","category-code-examples","category-how-to-2","category-script","category-sense","category-tu100","tag-sense"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-uJ","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3929,"url":"https:\/\/www.razumny.no\/?p=3929","url_meta":{"origin":1905,"position":0},"title":"How I blog &#8211; software","author":"Aleksander Nordgarden-R\u00f8dner","date":"23\/01\/2017","format":false,"excerpt":"A few weeks ago, I wrote about my process around blogging, and how I get from ideas in my head to finished posts. A reader emailed me,\u00a0asking what software I use, other than WordPress. The truth is, I don't use a single piece of software, for a number of reasons.\u00a0First,\u2026","rel":"","context":"In &quot;Opinion&quot;","block_context":{"text":"Opinion","link":"https:\/\/www.razumny.no\/?cat=521"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3455,"url":"https:\/\/www.razumny.no\/?p=3455","url_meta":{"origin":1905,"position":1},"title":"Manage login items in Mac OS X","author":"Aleksander Nordgarden-R\u00f8dner","date":"21\/03\/2016","format":false,"excerpt":"Last week, I showed you how to manage login items in Windows 8 and 10, and the week before that how to do so on Windows 7 and previous versions. This can be useful knowledge for Mac OS X, too. Here's how: Open System Preferences Go to Users and Groups\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1450,"url":"https:\/\/www.razumny.no\/?p=1450","url_meta":{"origin":1905,"position":2},"title":"What&#8217;s in a name","author":"Aleksander Nordgarden-R\u00f8dner","date":"31\/10\/2011","format":false,"excerpt":"After Apple CEO Tim Cook announced their newest offering of iPhone, it was immediately clear that fans and commentators alike were disappointed that he did not announce the iPhone 5. My question is simply, \"Why?\" \u00a0 First of all, Apple do not conform to usual naming conventions, which is exemplified\u2026","rel":"","context":"In &quot;Apple&quot;","block_context":{"text":"Apple","link":"https:\/\/www.razumny.no\/?cat=663"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3848,"url":"https:\/\/www.razumny.no\/?p=3848","url_meta":{"origin":1905,"position":3},"title":"OneNote keeps asking for a password to sync with OneDrive","author":"Aleksander Nordgarden-R\u00f8dner","date":"12\/12\/2016","format":false,"excerpt":"One of the tools I use in my studies, is OneNote. I find it does a good job\u00a0of being a place to sort my study notes, and offers the benefit of search, which lets me easily find what I'm looking for. While there are certainly other tools out there that\u2026","rel":"","context":"In &quot;Mac OS X&quot;","block_context":{"text":"Mac OS X","link":"https:\/\/www.razumny.no\/?cat=619"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1624,"url":"https:\/\/www.razumny.no\/?p=1624","url_meta":{"origin":1905,"position":4},"title":"Disabling Caps Lock on Mac OS X","author":"Aleksander Nordgarden-R\u00f8dner","date":"03\/09\/2012","format":false,"excerpt":"For me, the Caps Lock key constantly comes in the way, and I routinely disable it on all of my machines. Whenever I need to write things in all-caps, I have no problem with holding down either of the Shift-keys with my little finger, and when I don't need it,\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1790,"url":"https:\/\/www.razumny.no\/?p=1790","url_meta":{"origin":1905,"position":5},"title":"Mac OS X: Automatically mount a network share","author":"Aleksander Nordgarden-R\u00f8dner","date":"04\/02\/2013","format":false,"excerpt":"On Windows, when you map a network share, you can tick a box marked \"Reconnect at login\", which will then cause the computer to reconnect to the share when you log back in. Not so on Mac OS, which can be a bit annoying. While the Cmd+K shortcut to connect\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/1905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1905"}],"version-history":[{"count":4,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/1905\/revisions"}],"predecessor-version":[{"id":1934,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/1905\/revisions\/1934"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}