Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by ixium

  1. Hey Deanishe, any suggestions on how to do that? I use this workflow constantly and am missing it!
  2. ok that sounds like the avenue I should head down, thank you so much for looking at this for me, you have been quite helpful throughout the years!
  3. Awesome, thank you, this is written in googles script editor, I have no idea how to get it to link back to my alfred, thank you function newClient() { var clientName = ('Last Name, First Name - Company Name'); var clientFolder = DriveApp.createFolder(clientName); var masterClientFolder = DriveApp.getFolderById("0B2Xyh0kSszIcYXJtemlSSUNlYUE"); masterClientFolder.addFolder(clientFolder); DriveApp.getRootFolder().removeFolder(clientFolder); var clientFilesFolder = DriveApp.createFolder('Files'); var clientNotesFolder = DriveApp.createFolder('Notes'); var clientReportsFolder = DriveApp.createFolder('Reports'); //add new folders to new client folder and remove extra root drive folders clientFolder.addFolder(clientFilesFolder); DriveApp.getRootFolder().removeFolder(clientFilesFolder); clientFolder.addFolder(clientNotesFolder); DriveApp.getRootFolder().removeFolder(clientNotesFolder); clientFolder.addFolder(clientReportsFolder); DriveApp.getRootFolder().removeFolder(clientReportsFolder); var ss = SpreadsheetApp.openById("1BEcSVNy2esknAtcKc5-W_cV-PQy0yJAKt4rdLizrgNc"); var newSS = ss.copy(ss.getName () + " for " + (clientName)); // Move to original folder var newSSFile = DriveApp.getFileById(newSS.getId()); clientFolder.addFile(newSSFile); DriveApp.getRootFolder().removeFile(newSSFile); var ss2 = SpreadsheetApp.openById("1uIbex2ACiIa8AINjivwfLQldQSvMqMZ-Hyl1msbj8Tg"); var newSS2 = ss2.copy(ss2.getName () + " for " + (clientName)); // Move to original folder var newSS2File = DriveApp.getFileById(newSS2.getId()); clientFolder.addFile(newSS2File); DriveApp.getRootFolder().removeFile(newSS2File); var ss3 = SpreadsheetApp.openById("1rbyaBq5dQuYMwOtv1isZg0Bf2OHY3W3eaL4zP_wayhY"); var newSS3 = ss3.copy(ss3.getName () + " for " + (clientName)); // Move to original folder var newSS3File = DriveApp.getFileById(newSS3.getId()); clientNotesFolder.addFile(newSS3File); DriveApp.getRootFolder().removeFile(newSS3File); } So its just taking my input of name (Last name, first name - Company) and making copies of files I have in a template folder. So all I need to do is be able to run this script from within alfred and have it pass the argument to the var ClientName Thank you so much for looking at this
  4. well thats a good sign. Ok to add script here? It references files but I dont think anyone could access them without being in my account right? Or should censor it or PM you the code?
  5. I havent had any luck with this as I know its pretty complicated. I do have one more question for you if you dont mind (and thank you so much for all the help you have provided throughout the years!) The script I wrote about above is a google script and only requires one thing to be changed, the name field, which propogates all the documents with the right names. What im wondering is, is there any way to trigger this script from within alfred and pass the one variable I need to the script. Right now I have to open the script (which I do with an alfred shortcut) change the varialbe I need and then run it, Im just wondering if I can hotkey open alfred, type the name and hit enter to run the script. Just not sure if Alfred can interact with google that way. Thank you so much!
  6. Hmm not sure how that would implement, thinking about it now, maybe I could do it with IFTTT and another program, not really sure how to accomplish this, thank you for taking a look
  7. Good Morning, I am writing on a whim here so no rush or urgency, I just have always had great success bringing my ideas to the table here and seeing what others think. I run a web hosting / design company, and use Alfred every day all day for many of my tasks. One of my organizational techniques is Google Drive with a huge client folder structure where each client has a folder (last name, first name - Company name) and then inside each folder I have sub folder (files, notes, etc) and even a password doc that gets changed for each client (Passwords for Last Name, First Name - Company name) and the same with general information. I tell you all of this so you can see how it connects with alfred. I then use the a Drive workflow from this forum to query the drive for the files im looking for quickly. IE: Open Alred >> D passwords for clients name shows me that document and I can open right there. First thing I want to know, and I know this is a long shot. Any way to make it show the contents of that doc in alfred (I would imagine it couldnt pull the data, but just wanted to throw it out there0 Then my main question. Is there any way I can use this same type of flow, (make a google docs file called Notes for Client Name) and be able to add content to it straight from alfred. It would be extremely helpful to have a way to add a quick 1 line note to a clients files for when we make changes that need to be documented or time lined. So I would say Open Afred >> Notes for client name >> Made changes to adword account 8/24/2018, and that would be written write into that notes file I created, and every time I did that it would just be added to a new line (could be a spreadsheet) Any thoughts, I know its a long shot but ive seen that great workflow I sheet you not that interacts with sheets. Thank you for any suggestions!
  8. Wow thank you for taking the time to explain that to me, I understand a little more and now this command is working flawlessly, thank you so much! You are always an amazing help deanishe
  9. yep that what I was using, but how would I run this command through script ssh <host> pmset sleepnow´╗┐ Wouldnt I need to call terminal and everything, sorry im very novice with all of this
  10. Hmm so the code is working great (was having a hard time with being on the right network) but now Im running into how to close terminal after the command is complete. I can send through the command+q command and that works well, except when the command is still running, any way to make it exit after finishing the command? I know im knit-picking now so no problem if not! Thank you both for your amazing help
  11. Worked perfect once, now its hanging, not sure whats going on, may try the other method
  12. ssh <host> pmset sleepnow´╗┐ Seems to do exactly what I needed, thank you so much!
  13. gonna take a stab at all this now will let you know what I see
  14. Im sorry I should have clarified, I do have keys set up I believe as it doesnt require password anymore
  15. Good morning, this is one I've been trying to accomplish a few times but have hit walls many times as my knowledge is limited. I have a computer in the office (imac) that we use as a display only. I want a simple workflow to run on my macbook that would sleep the machine. I can do it with a few commands manually by SSH into the machine, then run osascript -e 'tell application "System Events" to sleep'. But for some reason I cant get past this. I see 2 ways forward and havent figure out how to do it either way. Firstly I believe theres a way to send the command via SSH without first logging in, but I cant get this to do anything so im sure my syntax is wrong, I am trying to do it like this ssh username@192.168.1.xx 'osascript -e 'tell application "System Events" to sleep'' so im sure thats wrong as when I run that from my computer nothing at all happens. So in light of that not running I was thinking, make alfred run the ssh command, then paste in the second part osascript -e 'tell application "System Events" to sleep' press enter, wait then clsoe terminal, but for some reason this isnt working either, which makes no sense as Im doing the same thing I manually do just through alfred simulations Not really sure what to do, anyone got any ideas? I feel like its really simple and I just lack the knowledge
  16. wow, well that was a much different solution than I thought. But that worked, it opened a new instance of chrome that allowed me to sign in to a different account, what exactly is happening with this, because it asked me to make chrome default, like it was a completely fresh install. Also, thank you so much for your help with this!
  17. Ok great, but what do I put in that directory to define the user profile? Sorry for the noobish questions
  18. Thank you so much for making that for me, now im confused though. Firstly I do not know how to create correct type of folder like you mentioned there, so I figured I would just got to the file and see if I can figure it out, but my computer doesnt seem to have a chrome folder inside the Google folder in application support. Sorry for the confusion I wish I knew more about this, I understand if your too busy to help, you have already done so much, thank you!
  19. Hey sorry, just doing this quickly at work, I will look into your workflow, I actually use your Incognito Workflow all the time so good job on that, Ill try to figure out what you mean and try that with a modification of yours! Thank you so much for your help so far, I'll see what I can do!
  20. That would work as well I guess, but how would I make a workflow that launches a specific link in a specific profile? I have tried using the workflow on the forums that does this (launches link with new profile) but it doesn't appear to be working for me
  21. Good afternoon Everyone, I have a few ideas that have been bugging me for a while that Im pretty sure alfred could do but I just don't have the knowledge to figure it out. You all have helped me with some awesome stuff in past so hopefully this is possible and easy 1. All the time I find myself opening chrome incognito, logging into a different account, and then opening the spreadsheet I wanted to use. Can I make a workflow that opens chrome incognito, logs into the specific account I need for that spreadsheet and then opens the link? If so, how do I do that. I've seen workflows that are close but I couldnt get them to work for me. 2. I use Google Play Music Desktop Player for whatever reason I chose that service. Well I have a workflow that I edited a bit to show me lyrics from Genius.com for the current track, but I havent been able to make it work for Google Music Desktop Player, it was working for iTunes but I no longer use that. So launching the current song into a search on genius is something I manually do all the time and would love if I could do it automatically. I mean I would love a full featured workflow that allowed me to add songs to playlists but starting with just using the current song name to do a search would be great, I will include the current workflow I have that I cannot port to Google Play Music Desktop Player (and thats the name of the actual program if that is needed) (turns out I cannot upload that workflow, here is a link to the original but I had modified it to work with regular Genius.com instead of rap genius. http://www.packal.org/workflow/find-lyrics-current-song-rap-genius Thank you so much for anyone that can help with these, they have been bugging me for a while
  22. Quick update, failed to connect to local does not happen when the app is running, so simple fix for now is to leave the app open, hope this helps
  23. Same problem for me Failed to connect to localhost
  24. thank you so much, that should be exactly what I need. Yea I couldnt belive the simple trick of changing my password works. Its funny I can stop it for a few weeks but then I just break and go back to biting, I swear it helps me consentrate on things ( I find myself doing it when im working on something I have to think about a lot or talking on the phone with someone) but its something I need to break! thank you for your efforts and your story, I also play guitar and would love to get into finger picking so that would be very helpful. So for violen im guessing that means you have to press the notes with your nails, not your fingertips? Thats interesting
  25. Ok so I have a question about an idea I want to make, please let me know if this is possible. I would like to have a workflow that you tell, every x hours or minutes, pop up the alfred window with predefined text and ask you to enter text and hit enter. Let me explain, I am a nail biter and have been my whole life. I had beaten this before by doing a very simple and interesting trick, changing my password on my computer. It was an article I read about doing this simple thing will help you remember to keep it in your mind, and it did work, I changed my computer password to stopbitingyournails and had to type it every time I turned the computer on, that simple task of writing it out gave me enough mindfulness to catch myself when I strayed, but the problem is I dont log into my computer but once a day now a days so I was wondering, can I make alfred, lets say every hour, pop up and say "Remember this" or something and make me type something in the bar to close it, I dont need it to check and make sure I wrote it out correctly or anything because I will make myself write out sbyn (stop biting your nails) so it doesnt have to validate or anything, just give me the quick reminder that I have to interact with to close, Im sure I could do this with reminders but I was thinking the whole reason that it worked for me before was that I had to interact with the password by typing it in and thats what made it stick I know its a weird one, but you guys and this plugin are always amazing and have redefined a lot of my current workflows Thank you for anyone that can help!
  • Create New...