Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Create global hotkeys to control Google Music playback' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Create global hotkeys to control Google Music playback
Authored by: regulus on Jan 10, '12 02:33:52AM
A comment about the applescript code (I understand you didn't write it)... a better way to do it would be the following. This removes most of the "as string" stuff which isn't necessary.

if text -12 thru -1 of (title of currTab) is "Google Music" then set musicTab to currTab

An even better way where you won't have to make changes every time the title spacing changes...

if (title of currTab) contains "Google Music" then set musicTab to currTab

---
Hank
http://www.hamsoftengineering.com


[ Reply to This | # ]