Jump to content

vanclute

Member
  • Posts

    18
  • Joined

  • Last visited

vanclute's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I have lots of workflows set up basically just as hotkeys for my various applications. I like the way Alfred does it because I can launch and show/hide the application all with the same shortcut. Except for this one application, for my external audio interface. The application is called "iConnectivity iConfig" and it used to show/hide just fine. I think when I upgraded to Sierra a few months back is when it went sideways. It will launch/show just fine, but will never hide. I'm stumped as to why, and it's the only app I have this problem with. Workflow is nothing more than a hotkey pointing to the application. "Toggle visibility for apps" is selected. Anyone have any ideas? Thanks!
  2. I'm using a Run NSAppleScript block and it definitely does not have any output showing. Am I doing something wrong somewhere?
  3. I have an existing AppleScript that when executed, hides all applications and dumps me at my pristine desktop. Sometimes you just need a "reset" and this does the trick. I also have many workflows that are essentially just shortcuts for launching/hiding my various oft-used applications. Some do so via scripting because they do a few other things at the same time, others are just simple keyboard shortcuts attached to an application. I would now like to combine the two for one particular application. When using it, I'd like to hide EVERYTHING else going on with my machine. So first use my existing script to hide everything, then launch the app in question (Called "Live"). Seems so simple, but I was shocked to se that it appears that scripts and applications are the end of the line. There is no connection node on them to continue their processing after they run, so I can't chain them together. What's the trick to something like this? Am I stuck just apple scripting the whole thing? Thanks!
  4. Totally inexplicable, but all of a sudden today the shortcut is launching Skype. No idea why... I did just reboot, but I've done that many times since starting this thread. Go figure!
  5. Well that was a bust. kMDItemDisplayName = "Skype" Nothing fancy. Plus, the shortcut DOES work as long as Skype has already been launched, so I suppose this was never likely to be the problem anyway. It's only an issue with launching. For now I have to always launch Skype manually, but from there I can use my shortcut to show/hide it. Very strange. Any other thoughts from anyone?
  6. Great tip Vero, thanks! Will check into it now. I had a similar thought.
  7. No ideas from anyone? Still happening, but only Skype... so weird.
  8. Not sure what's going on here but it's driving me nuts. Recently one of my workflows has stopped working. It's a shortcut that launches an AppleScript that pops a dialog asking if I'm sure I want to launch whatever application I'm launching, to make me think before I reflexively launch certain apps throughout the day. I use this same script with only a change to the name of the app, for about 20 apps and it works perfectly on all of them, except Skype (and only recently stopped working). Now if I hit my shortcut (and I can change the shortcut, it doesn't make a difference), the current window loses focus, but Skype does not launch. However if I launch Skype manually, then the shortcut does work and shows/hides Skype as expected. I don't think it matters but here's the AS code: on alfred_script(q) set appName to "Skype" set appID to id of application appName if application id appID is not running then if button returned of (display dialog "Are you sure you want to launch " & appName & "?") is "OK" then tell application id appID to activate tell application id appID to activate else tell application "System Events" set frontid to bundle identifier of the first process whose frontmost is true end tell if frontid is appID then tell application "System Events" set visible of first process whose bundle identifier is appID to false end tell else tell application id appID to activate end if end if end alfred_script It works for all my other apps, and worked with Skype too until last week some time. Any ideas anyone?
  9. Turns out the application name in the workflow script was wrong. Not sure how, but changing it fixed the issue. Now Chrome launches just fine and I don't get the applications list. Thanks for the reload tip though!
  10. I recently reinstalled my OS and Alfred along with it. I recovered my old preferences and got all my workflows back (which are primarily just app launching shortcut keys), but the first time I launched one shortcut in particular (to launch Chrome), Alfred asked me where Chrome was. This has revealed two issues: 1. After I point Alfred to Chrome, all is fine until I reboot. At that time, Alfred will have again forgotten where Chrome is and I have to select it again, repeat. 2. All my applications shown in Alfred's selector that pops up when it can't find Chrome, are doubled. Two of everything. No idea why, I definitely don't have two of any of my applications and it doesn't matter which one I select, they are all pointing to the same places. Appreciate any tips anyone can share on how to address these issues. Thanks!
  11. Awesome, that's exactly the concept I was going for but didn't know how to do with Applescript. I'll look into implementing what you've posted here... thanks again!! Will reply again if I run into any issues.
  12. Well there is no workflow currently, that's what I'm trying to create. The Applescript in question is here: http://dougscripts.com/itunes/scripts/ss.php?sp=ratethissong I just want to assign keyboard shortcuts so that I can instantly rate a song without having to see a dialog, choose a rating, and click a button. One keystroke and the song is rated based on whatever I typed (like CTRL-1 through CTRL-5, or something) Thanks for any assistance!
  13. I thought for sure this would be so basic as to have a simple tutorial or section in the help documents, but I couldn't find any such thing nor could I find anyone discussing how to do it. I have an existing Applescript (one of Doug's Applescripts for iTunes) that allows for rating iTunes songs via a menu. But I'd like to be able to rate via keyboard shortcuts, so that while working and a song comes up I can just quickly flick a key combo and bam - rated. No mousing, selecting, or reading required. So what I need to do I believe is set up 5 hotkeys (for ratings 1 to 5 stars) and pass the typed value to the applescript and act accordingly. I see that by default the hotkey is apparently passed through to the workflow, but then what? How do I access that variable in the Applescript? Thanks in advance!
  14. Aha... perfect. I was attempting to chain the applescript node to the application launch node, but I guess that's not the way Alfred wants things to be done. Thanks for the script!
  15. This should be really trivial, and in my experience would be in any other "macro" or scripting app, but like most things I've tried to do in Alfred, I can't figure it out. I've decided to post here in the hopes that someone can share with me the simple solution for this. I just want a dialog to display on launching a particular app, that I have to click OK on to continue, or cancel to abandon the app launch. Nothing more complex than that. However the only way to do this appears to be via AppleScript, and I can't figure out a way to link the script to an application launch (or anything else actually) after the dialog is accepted. Script objects don't even appear to allow for anything to execute after them (no outgoing node). My guess is that I'm missing something fundamental about how Alfred is intended to work. I've had it since 1.x but ever since the 2.x release I've not been able to get my head 'round anything more complex than a simple keyboard shortcut. Very disheartening. Anyway, I'm hopeful there is a simple way to accomplish what I seek. Thanks in advance!
×
×
  • Create New...