Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
UsingApp

UsingApp

Submitted By Stephen Grace (LtRammstein)

Description

The script is a very basic script. It determines the application the user is currently using and displays it in the status.

How To Use:
%_usingapp

Example:
If you are currently using Safari. It'll say Safari.

Example of Playing a Video Game:
If you are playing Call of Duty 4. It'll say Playing Call of Duty 4.

*NOTE: THE STATUS MESSAGE WILL NOT DISPLAY IN BOLD! IT IS ONLY USED TO SHOW THE DIFFERENCE. ALSO, WHATEVER STATUS TYPE YOU PUT IT TO IT WILL STAY THAT WAY!

It has a few issues with not updating quickly, and it should be fixed in the near future.

Future 2.0 Additions:
• Quicker update timing
• Install and set as a status and let it run!

Any other suggestions to the script are more than appreciated!

Changes

1.0 Initial Release

1.1 Fixed getting frontmost from a loop to one line statement. With the help of my friend [01]Monoman, I was able to have a text file with all the Mac games that Xfire supports (thanks to MacFire and Xflame for the lists) to be added and searched. So if someone is playing a game and don't ant to be bothered, it will set the person's status to "Away" and the status message will be "Playing \Insert Game Name here\".

1.2 Fixed issues with setting away status (sadly, it won't come back to available status) and check loop. With the help of [01]Monoman a lot of the basic issues were solved. Sadly, we believe there is a bug with Adium executing a tell block of itself properly, or there's a bug with AppleScript 2.2. If anyone knows a work around to this, it will be greatly appreciated!

Comments

You can reply to individual comments by clicking the "Reply" link next to each.

# by jozan on 01/30/09 at 12:01:40

Doesn't work for me. Script returns nothing. =(

# by LtRammstein on 01/30/09 at 18:59:42

I'll look into it. I think the Adium updates broke it. I'll keep you informed.

# by jozan on 01/31/09 at 12:48:51

Thanks for fast reply! I use latest release candidate of Adium.

# by LtRammstein on 02/02/09 at 06:54:49

I have the same, and I just started running it. Right now, I've been running it for a good 2 hours, and the same message is presented, Adium.

I think there's an issue with the way Adium is calling the script, so I'm investigating when I have time.

# by jozan on 02/02/09 at 16:29:55

I can give some more info what probably helps you. I'm running Adium on a aluminium Macbook (interesting, huh?) and I don't use any AppeScript addons (or libraries, I don't know how you call it). Feel free to ask me more.

PS. Don't panic! =)

# by LtRammstein on 02/02/09 at 16:40:03

Oh, I'm not, don't worry. ;)

The issue, I believe from my first glance, is how I'm getting the information and returning the value. I'm quite busy with school and working on projects, so I'll try to get a 1.3 update out fairly soon, you probably won't see it 'til this weekend.

If I get it out earlier, great! If not, do not worry, it will be out soon.

Post a New Comment

You must be logged in to post comments.

Install | Download
11.85kb (515 downloads)

12345
5.00 / 1 votes
Current Version: 1.2
Last Updated: 01/02/09
Credits:
Apple, [01]Monoman, O'Reilly Books