PageSourceSearch

https://varya.me/component---src-templates-post-js-content-file-pa…-on-mac-index-en-md-094e9e36a752ea267b39.js

js varya.me collected 2026-09-24 10:33:03 UTC 10,284 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkvarya_me=self.webpackChunkvarya_me||[]).push([[168],{1780:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var a=n(8453),r=n(6540);function l(e){const t=Object.assign({p:"p",a:"a",h3:"h3",span:"span"},(0,a.RP)(),e.components);return r.createElement(r.Fragment,null,r.createElement("div",{"data-excerpt":!0},r.createElement(t.p,null,"I use the same laptop for both work and personal needs. This is useful but makes me see to keeping my\nwork-life balance. I do this simply — turn off all the applications running when I finish my working day\nin the evening. The only issue is not to forget to open them again next day. But this process can be automatized. :-)")),"\n",r.createElement(t.p,null,"The most important is to run the applications which are in use by the other team members. For example, I a Jabber app\nhas to be running since the workday has started. The same goes for any other messenger."),"\n",r.createElement(t.p,null,"We here at AppGyver use ",r.createElement(t.a,{href:"https://www.flowdock.com"},"Flowdock"),"\nfor team communication. So I needed to be sure that it is open every morning."),"\n",r.createElement(t.p,null,"It turned out that this is doable on Mac with the native Calendar application. Let me show you how exactly."),"\n",r.createElement(t.h3,{id:"create-a-new-event-in-the-calendar",style:{position:"relative"}},r.createElement(t.a,{href:"#create-a-new-event-in-the-calendar","aria-label":"create a new event in the calendar permalink",className:"anchor before"},r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg>'}})),"Create a new event in the Calendar"),"\n",r.createElement(t.p,null,'I named mine "Run Flowdock". Do not bother about the laptop being opened by the event time your are setting up. The\napplication can run in advance. My event has ',r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">9:35</code>'}})," time."),"\n",r.createElement(t.h3,{id:"make-your-event-repeated",style:{position:"relative"}},r.createElement(t.a,{href:"#make-your-event-repeated","aria-label":"make your event repeated permalink",className:"anchor before"},r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg>'}})),"Make your event repeated"),"\n",r.createElement(t.p,null,"This event should be repeated every week at the workdays."),"\n",r.createElement(t.h3,{id:"run-the-application",style:{position:"relative"}},r.createElement(t.a,{href:"#run-the-application","aria-label":"run the application permalink",className:"anchor before"},r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg>'}})),"Run the application"),"\n",r.createElement(t.p,null,"Now the most interesting thing. You can run any application using custom event alerts."),"\n",r.createElement(t.p,null,"Choose the last item in the ",r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">alert</code>'}})," select, which is ",r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">Custom</code>'}}),"."),"\n",r.createElement("img",{class:"article__image",src:"http://img-fotki.yandex.ru/get/4802/14441195.32/0_88921_7d53950e_L.png",width:"300",height:"500",border:"0",title:"",alt:""}),"\n",r.createElement(t.p,null,"Once the next dialog is opened, choose ",r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">
1Open file</code>'}}),"."),"\n",r.createElement("img",{class:"article__image",src:"http://img-fotki.yandex.ru/get/4813/14441195.32/0_88925_47986a79_M.png",width:"300",height:"167",border:"0",title:"",alt:""}),"\n",r.createElement("img",{class:"article__image",src:"http://img-fotki.yandex.ru/get/5109/14441195.32/0_88924_ea39983e_M.png",width:"300",height:"162",border:"0",title:"",alt:""}),"\n",r.createElement(t.p,null,"By ",r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">file</code>'}})," they mean an applicaiton to be run. It is defined to be ",r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<code class="language-text">Calendar</code>'}})," by default but you can\nchoose another one."),"\n",r.createElement("img",{class:"article__image",src:"http://img-fotki.yandex.ru/get/4810/14441195.32/0_88922_22d155c7_M.png",width:"300",height:"193",border:"0",title:"",alt:""}),"\n",r.createElement(t.p,null,"Then, select the application needed in the Finder dialog. In my case it is Flowdock."),"\n",r.createElement("img",{class:"article__image",src:"http://img-fotki.yandex.ru/get/4809/14441195.32/0_88923_7597bf28_M.png",width:"300",height:"196",border:"0",title:"",alt:""}),"\n",r.createElement(t.p,null,"Then, fix the time. 5 minutes before 9:35 is exactly half past nine. Let me remin you, this does not mean that\nyou need to be at work by this time and have your laptop opened. You can be riding a bus or even sleeping. The\napplication will run later, when you open your computer."),"\n",r.createElement(t.h3,{id:"drawback",style:{position:"relative"}},r.createElement(t.a,{href:"#drawback","aria-label":"drawback permalink",className:"anchor before"},r.createElement(t.span,{dangerouslySetInnerHTML:{__html:'<svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg>'}})),"Drawback"),"\n",r.createElement(t.p,null,"Not ideal, indeed. If your calendar is synchronized with iPhone, it peeps by this time. The phone cannot run the\napplication, so it reminds you about the event with sound. But as ",r.createElement(t.a,{href:"http://varya.me/ru/posts/run-app-in-time-on-mac/#comment-1582219469"},"one of my friends\nsuggests")," the workaround can be to create a\nseparate calendar for such event and not to synchronize it with other devices."))}var i=function(e={}){const{wrapper:t}=Object.assign({},(0,a.RP)(),e.components);return t?r.createElement(t,e,r.createElement(l,e)):l(e)},o=n(5556),c=n.n(o),s=n(3433),h=n(9868),m=n(7037),d=n(3928),u=n(4449);const p={Box:s.a,Button:h.$,Text:m.E,Heading:d.DZ,Paragraph:d.fz,PatternJourney:d.Rl,PureHtml:d.Qi,Section:d.wn,Hero:d.lq,Widget:d.x0,PatternJourney:d.Rl,WidgetContainer:d.uM,Workshop:d.cR,ProjectRoles:d.JV,DsAspects:d.nD,Link:d.N_,Image:d._V,ImageBlock:d.Dq,Map:d.T5,YandexImage:d.zX,Instagram:d.pd},g=e=>({children:t})=>r.createElement(d.DZ,{level:e},t),f={h1:g(1),h2:g(2),h3:g(3),h4:g(4),h5:g(5),h6:g(6),p:({children:e})=>r.createElement(d.fz,{standout:!0},e),a:d.N_,ul:d.Ul,ol:d.Ol,div:({"data-excerpt":e,children:t,...n})=>e?r.createElement(d.fz,{as:"div",lead:!0},t):r.createElement("div",n,t)};f.h1.propTypes={children:c().node};const v=({data:{mdx:e,site:{siteMetadata:{siteUrl:t}}},children:n,pageContext:{next:l,prev:i,fileSourceUrl:o}})=>{const{readingTime:c,slug:h,disqusIdentifier:m}=e.fields,{date:g,title:v,subTitle:y,cover:b,tumblr:E}=e.frontmatter,w=e.frontmatter.tags&&e.frontmatter.tags.split(","),_=h.startsWith("blog/");return e?r.createElement(d.PE,null,r.createElement(d.I0,{imageUrl:b&&b.childImageSharp.gatsbyImageData.images.fallback.src,tags:w,date:g,readingTime:_&&parseInt(c.minutes)>0?`${Math.round(c.minutes).toFixed(1)} min read`:null,title:v,subTitle:y}),r.createElement(d.G$,{data:e}),r.createElement(s.a,{flex:"grow",width:"xlarge",margin:{horizontal:"auto"},pad:"medium",direction:"column"},r.createElement(a.xA,{components:{...f,...p}},n),r.createElement(s.a,{direction:"row",fill:"horizontal",justify:"center",margin:{bottom:"auto"},pad:{vertical:"medium"}},w&&w.length>0&&w.map(e=>r.createElement(d.vw,{key:e,name:e.trim(),slug:(0,u.fX)(e),margin:"xsmall"}))),_&&r.createElement(r.Fragment,null,r.createElement(d.WB,{flex:!1,prevSlug:i&&`/${i.fields.slug}`,nextSlug:l&&`/${l.fields.slug}`,prevTitle:i&&i.frontmatter.title,nextTitle:l&&l.frontmatter.title,pad:{vertical:"medium"}}),r.createElement(d.Sn,{link:o}),r.createElement(d.Hw,{slug:h,title:v,disqusIdentifier:m,tumblr:E,siteUrl:t})))):null};function y(e){return r.createElement(v,e,r.createElement(i,e))}},8453:function(e,t,n){n.d(t,{RP:function(){return l},xA:function(){return o}});var a=n(6540);const r=a.createContext({});function l(e){const t=a.useContext(r);return a.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}const i={};function o({components:e,children:t,disableParentContext:n}){let o;return o=n?"function"==typeof e?e({}):e||i:l(e),a.createElement(r.Provider,{value:o},t)}}}]);
2//# sourceMappingURL=component---src-templates-post-js-content-file-path-content-posts-run-app-in-time-on-mac-index-en-md-094e9e36a752ea267b39.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.