Profile: Mareo Raft (mareoraft)
10 comments | |
2 xtras |
Latest comments
# by mareoraft on 09/14/13 at 15:13:14
Okay, I found this workflow (newer version?) which worked just the same. I made some edits to the applescript to make Adium automatically hide when I go offline:
on alfred_script(q)
tell application "Finder"
set visible of process "Adium" to false
end tell
try
tell application "Adium" to go offline
on error
beep
end try
end alfred_script
Also, I changed the "back" applescript to SHOW the application as opposed to activating it, to make it execute faster.
on alfred_script(q)
try
tell application "Adium" to go available
on error
beep
end try
tell application "System Events"
tell process "Adium"
set frontmost to true
end tell
end tell
end alfred_script
You can use these examples to similarly edit your "online" and "away" applescripts as you please. You can add the line
if application "Adium" is not running then tell application "Adium" to activate
to make the application open in the case that it is not running. This is still faster than using the activate command.
on alfred_script(q)
tell application "Finder"
set visible of process "Adium" to false
end tell
try
tell application "Adium" to go offline
on error
beep
end try
end alfred_script
Also, I changed the "back" applescript to SHOW the application as opposed to activating it, to make it execute faster.
on alfred_script(q)
try
tell application "Adium" to go available
on error
beep
end try
tell application "System Events"
tell process "Adium"
set frontmost to true
end tell
end tell
end alfred_script
You can use these examples to similarly edit your "online" and "away" applescripts as you please. You can add the line
if application "Adium" is not running then tell application "Adium" to activate
to make the application open in the case that it is not running. This is still faster than using the activate command.
# by mareoraft on 09/13/13 at 16:48:52
I am having an issue with the installation. When I first opened the file I did "open with TextWrangler" to see what it looked like. But this ruined the double-clicking installation. So then I tried "open with Alfred 2.app", but this didn't work either. Thank you so much for your help.
# by mareoraft on 09/14/13 at 15:16:35
https://github.com/alanmoo/Duck-Butler...ow?raw=true
There is also a guy who is making more features here:
http://www.alfredforum.com/topic/1274...m-workflow/