Jump to content

Cassady

Member
  • Posts

    62
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Cassady

  1. Hello all! Hoping some experienced users can guide me on this – not sure what would be the appropriate/easier tool. I receive queries on an hourly basis from "clients", which – to process their query further – requires their "client number". Assume I am able to compile a simple Excel/Numbers spreadsheet, that has two columns: Column 1 | Column 2 Name | Client number Ideally, would it be possible to invoke an Alfred workflow, and start typing a name, to then have a list (extracted from the spreadsheet) start appearing – and when narrowed down sufficiently – I hit enter, and the associated "Client number" is pasted onto my clipboard? What is the sense here – could I explore how to cobble something together in Alfred – or would this type of thing be more at home in KM??
  2. Wait, what??! ? Wow. I just maximised the Alfred editor, and saw the OneUpdater node, top-left. Clearly, I was the confused one! I clearly didn't read properly, and thought the user needed to add the node, should they prefer. Gah! That said, somewhere, something isn't working as it should. The workflow is still sitting on version 1.2.4, which is why I tried to drop in OneUpdater in the first place (after seeing that new versions had dropped), thinking it would then do the updates. Regardless, I have disabled my node now, and will wait and see if it triggers as it was initially intended to [I have dropped the 'frequency' down to "0", just to test]. Thanks for the clarification, and apologies for introducing some confusion into the mix! ?
  3. Appreciate the reply and assistance @vitor – I have made the change, wouldn't have spotted that. I just want to be clear – so I copy the appropriate Run Script node, paste it into the BE workflow, and link the node to my most frequently used BE workflow 'action'. Once the URLs are then in place, is the idea that upon me firing the BE trigger a few times, the Script will periodically check the GitHub repository of the BE workflow, and if there is a newer version available, install it in the background? Or will I be prompted?
  4. Hoping someone who has the OneUpdater script attached to the BE workflow, will be kind enough to check whether I have the URL settings correct? I attached the OneUpadter script to my most frequently used BE trigger, and set the update frequency to "0" while testing, but it is still running v1.2.4, as opposed to having updated to the newest version. Am I pointing OneUpdater at the right place? # THESE VARIABLES MUST BE SET. SEE THE ONEUPDATER README FOR AN EXPLANATION OF EACH. readonly remote_info_plist="https://raw.githubusercontent.com/iandol/bookends-tools/master/source/info.plist" readonly workflow_url="https://github.com/iandol/bookends-tools/blob/master/bookends-tools.alfredworkflow" readonly download_type='direct' readonly frequency_check='0'
  5. @iandol Have you seen Jon's offer for a beta-test in regards to the new floating window, over at the SonnySoftware forum? Been playing around with it, hope you will share your thoughts!
  6. This workflow is ridiculously helpful - thank you for all the time and effort put into creating (and updating) it. Makes the interaction between Bookends and Scrivener seamless.
  7. Thank you for this! I used to use the excellent Skimmer workflow, available through these forums - but unfortunately Sierra seems(?) to have broken it. Stumbled across yours, and works a charm!
  8. Thank you for the clear explanation - I get it now!
  9. Greetings! Under AlfredPreferences/Features/Dictionary, right at the bottom under "Spell a word", is a check-box next to "Paste word on action", with "... after copying it to the clipboard" as description. Blame the lack of coffee today - but what does this setting do? Cannot work out/see any difference regardless of it being selected, since I'm presumably not pasting/actioning right? Could someone please enlighten me? Many thanks!
  10. You've had me go and look, and now - in running tests - some things are starting to happen. On my 'older' smart folders, created many years ago, the workflow is working as it should. It hadn't occurred to me to check it on older folders, I was simply checking the two I created today. In ONE of the new smart folders, after several seconds following me pressing Tab, the 'hits' are revealed, but they are not the correct ones. By way of background - both of my smart folders are watching a specific Folder. One is telling me what new (client) folders have been created in that Folder over the past month, the other is telling me which new documents have been created in that Folder. The one watching for folders, when I press Tab - a list of folders that I have recently touched, but system-wide, is revealed. It is not the list of (client) folders created in that watched Folder. The one watching for new documents, nothing triggers. The long and short of it, is your workflow appears to be fine. It's something this side that is tripping things up, and I don't want to have you go the effort of fixing something that's only because of problems my side!! It might be due to the Smart Folder watching a specific folder (since all my other 'old' smart folders, are simply watching system-wide, for new PDFs; new Tags etc.), or not, and maybe a re-boot will fix things. Regardless, thanks for the query - but please, I don't want to cause any work for people kind enough to share their workflow creations!!
  11. Your screenshot explains what I'm missing. What a pity - that would have been really useful! I've tried the edit and re-save, with no difference. I'll reboot in a bit, maybe that will cause something to trigger. Regardless, thanks for the assistance in trying to sort this out!
  12. Aw shoot. Appreciate the prompt reply, and details - downloaded it today, and did indeed make the changes as you did, but without luck... Unless it's actually working as it should? When you have your Smart Folder option 'selected' after invoking Alfred >> .sf , and then hit 'Tab' - what happens exactly? Over here, hitting Tab sees the exact name of the Smart Folder getting added to the main Alfred search line, after .sf, followed by a single ">", as in .sf "name of smart folder" > Nothing really happens thereafter, despite me typing anything in an attempt to search, and hitting Enter, simply takes me back to Finder..., with the (weirdly) next Smart Folder option selected. I presume this is not what is/was supposed to happen?
  13. Hi msa - just want to check if that is all you did? Simply opened the alfred.py file, and replaced the two instances of Alfred 2/Alfred-2 to Alfred 3/Alfred-3 respectively? Tried it this side, and unfortunately no go still. Opens in Finder, which is useful - but the "tab" option doesn't appear to do anything...
  14. Can I just chime in and thank you for this 'simple' workflow! This had made a HUGe difference to me, a big thank you! I am faced with saving 10/30/50 emails out of Outlook 2016 for Mac, into PDF, and placing them into individual folders (named after the client), many of whom are first-time - so they have no folder as of yet. Previously, I was forced to save the PDFs into a dedicated 'hold/sort' folder, then create the folders in Finder, and then drag/drop the relevant emails into the new sub-folders. Now, invoke KM to save the message as PDF, opening it in Preview. Invoke TE snippet to name PDF file correctly. Invoke Alfred, navigate to Parent Folder, search for existing subfolder - if none, jump back to Parent Folder, create new sub-Folder >> all within Alfred. Move PDF to new sub-folder. Still several steps - but far quicker than it used to be - and gradually adding/tweaking to the above, until eventually, I'll probably be able to automate much of this.
  15. Wow - very well thought out! Many thanks for this workflow - sure to be a real time saver. :thumbs up:
  16. Thanks - I'm going to have to give this a try. After firing up Chrome Safari yesterday, today, it's back to Win Chrome. Not sure how or why, since I never changed anything... Will see if I can manage with the renaming technique, otherwise will fall back to a KeyboardMaestro macro.
  17. Just to close this loop, and FWIW - just tried your initial suggestion (with the shell script) - and it works, even when Parallels is closed! As in, it opens Parallels, then opens Win Chrome, and pastes the Mac Safari url... Didn't expect that. And if I understand things correctly, it does suggest that OS X scripting (in limited(?) scenarios) can be applied to "Windows" applications? Hmm. Interesting.
  18. LEGEND! The second PATH option did the trick! Yay - learnt something! This was so annoying, since even with Parallels closed/quit, the script would first start it up, and then open Windows Chrome - which saw me waiting, and waiting [1st world problems] and waiting... before I could do anything useful. Thanks for the help! As an added bonus, will be able to fix any others as well, if this happens again.
  19. No go. Am too stooopid when it comes to scripting - must still learn the ropes. I gather the suggested shell script above, was intended to bypass most (if not all) of the current Chrome applescript - but figure that it would interrupt the latter stages, managing the opening of windows/tabs etc? I tried placing the shell script in front of the "tell Google Chrome", and then tried with it removed, leaving only the "if" bit, but regardless, Parallels Chrome was activated each time, without a whisper from OS X Chrome. Here be the original script, unedited: [PS - I realise I could ask these questions in the OP's thread - but I'm not wanting to, since the script works as planned. This scenario might play itself out with other Windows apps as well, where OS X calls Parallels, instead of the native app - so hoping I can use this script to understand what might need to change in the others... Regardless of whether this gets resolved, thanks for all the help so far!] if application "Safari" is running then tell application "Safari" try set currentSafariURL to URL of current tab of front window set pageName to name of current tab of front window on error return "There are no pages open in Safari at the moment" end try end tell tell application "Google Chrome" activate # If Chrome has no windows open make a new window if (count of windows) is 0 then make new window set currentChromeURL to «class URL » of «class acTa» of front window # Don't do anything if the page is already open in Chrome if currentChromeURL is not currentSafariURL then # If the active tab is in use make a new tab if currentChromeURL is not "chrome://newtab/" then make new «class CrTb» at end of every «class CrTb» of front window end if # Open the URL from Safari set «class URL » of «class acTa» of front window to currentSafariURL else return "The current Safari tab is already open in Chrome" end if end tell # Enable the following line to post notifications after sending URLs to Chrome --return "Opening '" & pageName & "' in Chrome" else return "Safari is not open at the moment" end if
  20. Many thanks - will give your suggestion a try, and come back with what happens!
  21. Hello all, Downloaded one of those "Open Safari in Chrome" workflows (many thanks to Andrew Curtis-Black), that I use extensively to get around any video-play issues. Now I've hit a bit of an annoyance/1st World Problem. I've since started using Parallels to run Windows 7 as a VM, but in the "coherence"(?) mode - i.e., where the Win apps 'open' as OS X apps - as opposed to being 'kept' inside the VM desktop/machine (hope I'm explaining that sensibly). What happens now, is when I run the workflow, the Windows Chrome version is opened, as opposed to the OS X version, and in the case of the former, the script obviously(?) doesn't complete, in order to paste the Safari url across. After checking the script, I think the 'problem' is that the script says [[tell "Google Chrome"...]] - and since both are 'called'(?) Google Chrome, and are available to be triggered, the wrong one gets opened (mostly - sometimes the OS X version triggers first)... Please understand - I'm not complaining, or being at all critical of someone's work/workflow! It works perfectly, it's me that's introduced the complications! But regardless, is this something that is unavoidable, or could there be a way to use an alternative 'identifier'(??) for Chrome, or something? I don't know anything about scripting, but know where to go and ask - but figured I would 1st pop something up here, to see if there isn't maybe a simpler solution - or (alternatively), to confirm that nothing can really be done, before I start searching properly... Many thanks!
×
×
  • Create New...