Jump to content

CarlosNZ

Member
  • Posts

    392
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by CarlosNZ

  1. 4 hours ago, Basket said:

    I installed the version setup by @ianhowson  and am having problems with egg timer.  When I set a timer I receive a notification; however, upon completion of a timer or alarm, no notification shows up.  Has anyone experienced this issue? I've tried the solution by djan92 on page 4 to no avail

    Hey, have you tried the "timer nuke" command? That fixes 95% of these kind of issues -- it does a factory reset to the workflow, forcing it to rebuild all the working folders, etc.

  2. 5 hours ago, Yourname said:

    For some reason, I see the custom times in 24H format, and not the PM format. I checked the other thread to make sure of AMPM format, and it was correctly set. But it still shows in 24H format even after reloading :/

     

    Any ideas?

    So you're looking in the timezone_list.sh file?

     

    You want to make sure this line is as follows:

    city_time=$(date -u -j -f %s $city_epochtime +"%l:%M %p") #Create readable time expression

    That's the format for AM/PM time. Note that this line is in there twice — one for the main list, and one for custom times.

  3. Hi, I found something that is not working properly when using the word count of selected text (suggested as control + w), this method always gives me one extra word in the result. Curiously all other methods work fine, with keyword and by "ctrl + w".

     

    Does anyone know how to fix this?

     

    Greetings,

    That's odd, I'm not seeing this behaviour. I get the same consistent result with each method. Can you be more specific as to what you're doing to get this result?

  4.  

    Hi Guys

     

    I am unable to find the "includes.sh" file in the Finder - all I can view is files named "config 1-5" and "timezones.txt" - I am using the latest V1.7 also.

     

    Would appreciate help.

     

    Kind Regards
    Paul

     

    Hi Paul, in Alfred, if you right-click on the workflow (in the Workflows tab), then select "Open in Finder", it'll take you the unpacked workflow in Alfred. the includes.sh file is in there.

     

    Cheers,

    Carl.

  5. Updated to Alfred 3 and get this now every time I want to execute the workflow :

     

    LpRWdFG.png

     

    Pressing either of the options doesn't do anything and this pop up comes back again after I try and execute the workflow once more.

    Okay, so obviously this workflow hasn't been updated for Alfred 3 yet. It's working (mostly) for me, but I chose to "migrate settings" when updating to A3, but I'm guessing you didn't do this?

     

    Anyway, you might be able to fix it by manually updating the preferences location. Reveal the workflow in Finder, go into "scripts" and open "first_run_check.sh" and "includes.sh" in a text editor. Change any references to "Alfred 2" to "Alfred 3". Then "nuke" the workflow by running "timer nuke" and see how it goes after that.

     

    As I said, it's currently working for me, so I can't test that procedure properly, but hopefully you can figure your way through it. If not, you'll probably have to wait until I update it for Alfred 3. Which probably won't be for a little while.

     

    Good luck. :)

  6. How can one change the sound that EggTimer makes when it is done? 

     

    Thank you for such a great workflow.

    Right-click on the Workflow in Alfred Preferences and select "Show in Finder". Then in the sounds folder is a file called "alarm_done.mp3". You should be able to replace this with an mp3 file of your own, just rename it to "alarm_done.mp3"

     

    Hope that helps.

     

    Carl.

  7. Hi, Thanks for this excellent Alfred app.

     

    Please may I trouble you to let me know where I can find the docs since 'timer help' no longer seems to go anywhere?

     

    Thanks, cheers, -Alan

    Hi Alan, thanks for your feedback. The "help" feature *should* be working -- it is for me, at least. All it does is open an html page within the workflow bundle in your default browser, so I'd guess that the problem is something to do with your system not allowing the browser to open the page.

     

    Anyway, if you go to the workflow folder (right-click "Show in Finder" on EggTimer on Alfred's "Workflows" tab), then look in the "docs" folder, and open "help.html".

     

    Hope that helps.

    Carl.

  8. I ended up modifying the script myself. In timezone_list.sh

    <       city_time=$(date -u -j -f %s $city_epochtime +"%T") #Create readable time expression
    ---
    >       city_time=$(date -u -j -f %s $city_epochtime +"%l:%M %p") #Create readable time expression
    157c157
    

    Note the %l:%M %p was changed to  simply %H:%M

    Yeah, good, that's what I was going to suggest. I think there's already a couple of posts regarding that further up in this thread.

     

    Cheers,

    Carl.

  9. Hi Carlos, Thanks for your workflow. I saw a little discussion about DST in the posts. Any chance you'll add that? For instance, it says it's 10:30pm here in New York, but it's 9:30pm.

     

    Paul

    Hi Paul, hope you've figured it out by now, but you'll just need to run "timezone update" on the workflow to force it refresh its local offset database. It should show the correct time (DST or normal) after that.

     

    Carl

  10. I noticed that EggTimer initiates sticky notifications (upon timer completion) with Growl, but not Notification Center. I like the sticky notifications, but Growl is largely unsupported at this point. Any ideas on how I can get Notification Center to display similarly to Growl?

    Hey, that's a great suggestion, but I'm not sure it's possible at this point. The ways you can control NC notifications are limited, which is why I left Growl in as an option. I see Notifications can now be triggered by Applescript (which I may implement), but not seeing any way to control whether they're sticky or not, except as a global per-app setting in NC settings. If anyone has any other info regarding this, please let me know.

     

    Thanks for the feedback.

  11. I just installed EggTimer v2 and am able to set a timer, but 'timer help' does not work. The notification pops up but the page doesn't open in my browser (Chrome). The only thing I can think of on my end that might be getting in the way is Choosy, a system preference panel that allows you to choose between browsers when an app opens a link. But even with that disabled the help page doesn't show up.

     

    Best,

     

    Todd

    Hi Todd, I can confirm that this is something to do with Choosy, but not sure what exactly. It was working fine for me, I installed Choosy, I messed around with a couple of settings and it still seemed to be working. However, when I uninstalled Choosy, it wouldn't work. I think this happens when there is a default browswer selected in the system that is not available. I went back to Firefox settings and re-checked "Make default" (FF is my default browser) and it worked fine again.

     

    Also, I note that Choosy has an option to "Enable Choosy for HTML files", which would be relevant to this as the help file is a locally stored HTML file.

     

    Hope that helps in some way.

    Cheers,

    Carl.

  12. Hello!, nice workflow :)

     

    When creating a timer, i cannot see them when o list them (`timers` in alfred), i'm using el capitan, is this expected?

    Hi there, yes, this seems to be a common problem when upgrading the OS -- it must reset folder permissions for some reason.

     

    Anyway, best bet is to reset the workflow to default settings with the "timer nuke" command. That should take care of it.

     

    Cheers.

  13. Thanks a lot for the workflow, Carlos. That's very useful. One thing though - there's no such a folder in Maverick:/Users/YOURUSERNAME/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data"/Users/YOURUSERNAME/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data"

     

    The good news is that the command "timer nuke" of your workflow did the trick.

     

    Thanks again.

     

    Oh good, glad you got it working. Was about to refer you to that solution. Yeah, it's been a common issue -- something seems to happen to the permissions on the settings folders, usually when upgrading OS versions. "timer nuke" to reset everything is the simplest remedy. :)

     

    Cheers.

  14. I am looking for a way to repeat a timer every x minutes/hours. 

     

    The "repeat" keyword lets me repeat a timer but I have to type the keyword every time I want to repeat a timer. 

     

    Is there a way I could say timer "1H30 work session" repeat 4 times in on time?

     

    Thank you.

    Hey there, you can do a auto-repeating timer with "timer every 1:30 work session". However, you'll have to manually stop it when you're done with it, you can't (yet?) specify it to only run 4 times.

     

    Cheers. :)

  15. Great workflow, but personally I'd find displaying a local time offset (rather than UTC offset) much more useful. Also, a feature for 'tz time in <place> at <local time>' would be great for scheduling international phone calls.

    That's a good point, and something that has been asked before. I'll add it to my TO DO list. (Hopefully I'll get some time soon...)

     

    Thanks for your feedback. :)

  16. Just wanted an update about this feature. Can you confirm if this feature is not yet developped?

    Just to make sure I am not so stupid I can't make the workflow work  :)

    Thnak you.

    Hi policus, since version 2.0 the Growl (or Notification Centre) notifications ARE built into the EggTimer process. So you should see "EggTimer" as a registered application in your Growl prefs and be able to choose whatever style you want. Note that the workflow obeys your selection of Notication Center or Growl that you specified in the workflow prefs.

     

    Cheers,

    Carl.

  17.  

    I get this error when I try to check recent/current timers using Mavericks: 

     

    [ERROR: alfred.workflow.input.scriptfilter] Code 0: ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/recent_timers: No such file or directory

    ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_timers: No such file or directory

    ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_autotimers: No such file or directory

    ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_alarms: No such file or directory

     

    My eggwd is: 

     

    /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3C1BF412-79C9-4EC6-98FB-C17710863FA4
     
    How could I fix this?
    Thanks!

     

    Hi Sebastian. First thing to try would be to reset the workflow back to "factory" settings, using the command "timer nuke". 

     

    Let me know if that works. (It should I think.)

     

    Cheers.

×
×
  • Create New...