Jump to content

raguay.customct

Member
  • Posts

    756
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by raguay.customct

  1. I think it's this one #1

    Scroll down a bit to

     

    running-apps

    Lists all of the running OS/X applications (not processes, what OS/X considers as a running app). Selecting one will activate the application. Holding down the alt modifier key will trigger the built-in 'quit' Alfred command.

    Responds to the keyword 'running'.

     

    That is the one. The apple script in it gets the name of the process from the script filter. Just make another applescript with the command key modifier to run it that will minimize that application. It should not be hard. I will not have time until Monday to look at it.

  2. It does some, but those also just get the current clipboard and nothing from the history. So, the request was for more than pbpaste and pbcopy will do. I am using these for now, but I really would like the history accessible as well. With this functionality, I can make keywords that will perform actions similar to TextExpander using the history for the different fields. Now you get it?

  3. Hi,

     

    I would like to see the ability to get to clipboard content easier in all scripts. Similar to the {query}, there could be a {clipboard} macro to expand the contents of the clipboard. I know there are command line functions that I can incorporate in my scripts, but that requires loading more programs. I usually have my system running at max (video editing, program editing, uploading/downloading videos all at the same time). Therefore, it actually is noticeable on my system the slow down of launch more programs (I know, I need to get more memory. Money is not easy these days!).

     

    Even better, it would be great to have {clipboard1}, {clipboard2}, ... for the different levels in the clipboard manager in Alfred. That way I can write workflows that would use the clipboard "stack" like a register stack in programming. Just load up the different contents and then launch the workflow (yes, I come from a Forth background. I have written several TILs, so that mindset is easy for me).

     

    What do you think?

  4. I'm not sure what would be causing that. If you open up the workflow folder, what is in the units setting? It should be either 'us','si','uk', or 'default'. I thought I had accounted for errors but I might have missed something.

     

     

    That's Alfred re-ordering rows based on usage. I'm still pretty green to script filters and am not sure what the best way to override this would be.

     

     

    To each their own I guess. I wonder how much of that has to do with getting those comments before Alfred was opened up to non-mega supporters?

     

     

     

     

     

    Someone else made that comment and helped out with some code on github, but I never updated the workflow link. This should allow you to set location now.

     

    Well, I loaded this new one and it works fine now. Thanks.

  5. I am often changing text around to different formats in large quantities. So, I made a workflow for keeping all of them. I call it text massagers because you are "massaging" the text with the script. You can use this as your template for your own massagers. All of these scripts takes the item from the clipboard, massages it, and places back into the clipboard while showing you the results.
     
    <alt><command>m  - Expects a markdown anchor line in the clipboard
                       and converts it to a HTML anchor within a list
                       item.
     
    <alt><command>o  - Changes the "streaming=off" to "streaming=on" in
                       a WordPress shortcode in the clipboard.
     
    <alt><command>t  - Fixes a time into HH:MM:SS format no matter what
                       it was before.
     
    <shift><command>” - Takes the current selection and passes it to the “tm:select” command for selecting the text massager from a list. It will show the result of the massager in the list. It will then perform the selected “massage” to the text, and copy it to the clipboard and back into the document it was grabbed from if possible.
     
    <shift><alt>” - Takes the current selection and passes it to the “tm:select” command for selecting the text massager from a list. It will not show the result of the massager in the list. It will then perform the selected “massage” to the text, and copy it to the clipboard and back into the document it was grabbed from if possible.
     
     

    Download: https://github.com/raguay/MyAlfred

  6. Hi, if I set the units, the workflow no longer works. It says that it returned a non-JSON file. I do prefer US units, but I am getting use to metric. BTW: My location is Thailand. My only other problem is that it is much slower than others.

  7. This little workflow allows you to sequentially step through items in multiple list files. You use the "Next Item: Set File" file action on the file containing a list of items: One item per line. For example, a list of urls; one per line. Then the hot key (you will have to set yourself since mine being <alt><command>n will be erased) will take the next item from the specified first list and copy it to the clipboard and to a notification. If you view all lists before the first list, you will see each corresponding item for each list. The counter is only incremented after passing the item from the first list.
     
    "ni:move #" will move the last set file to the # list. If you do not move the file items to a list number, then it will not get sent to you.
     
    "ni:item" will give the next item from the first list and increment the counter.
     
    ni:l #" will give the next item from the # list, but the count will not be incremented unless it is list 1.
     
    "ni:inc" and "ni:dec" will increment or decrement the counter. 
     
    "ni:set" allows you to set the counter to any number. 
     
    "ni:clear" will clear the counter and erase the temporary files. 
     
    "ni:current" will display the current count number.
     
    The items are addressed using a zero reference. Therefore, if the counter is 1, the the second line in the file will be displayed.
     
    Setting a new list will clear the count. The file specified is copied to a work area that all the other scripts will use to access it. Therefore, you do not need to worry about the original file being changed.

     

     
  8. Gotcha, yeah I remember that convo now. Old age is getting to me ha

    Your not old....yet! But, I use oh-my-zsh to setup my environment. All variables that I set inside of the custom section do not get set. I am trying to write a workflow to launch different test servers, the the servers are not finding the environment they need. I guess I will have to create a zsh script file for each server from PHP.

  9. Hi,

     

    It seems that Alfred does not contain the full environment (ie: the path is not right, environment variables for compilers are not set, etc). I have to source my .zshrc file in a zsh script in order to have a full environment. But, under PHP and Python, I can not seem to get the environment set good. Is it possible for Alfred to have more of the environment setup or should we always plan on it not being there and figure out how to get it right? Thanks.

     

    Richard

×
×
  • Create New...