Sebastian Daza, to remove any option you need delete some lines from
print alfred.render([
switched,
uppers,
lowers,
titles,
ru_translation,
en_translation,
uk_translation
])
How it work?
uppers = val.upper() #convert your text to upper
uppers = alfred.Item(arg=uppers, title=uppers, subtitle="UPPER", icon='icon.png') #generete alfred item instance with your values
print alfred.render([ #render list of instances
...
uppers,
...
])
If you delete some from alfred.render area, you need delete it from announcement area for better performance. Some additional information with languages:
ru_translation = Translator(from_lang="auto", to_lang="ru").translate('''{query}''') #translate from auto detect to russian, {query} - your input
en_translation = Translator(from_lang="auto", to_lang="en").translate('''{query}''') # from auto detect to english
uk_translation = Translator(from_lang="auto", to_lang="uk").translate('''{query}''') # from autodetect to ukrainian
deanishe, if you want you can show me your screen in the skype: datysho, i need more info about this problem. I have mavericks 10.9.3 my root python packages is
>>>pip freeze<<<
Pygments==1.6
gnureadline==6.2.5
httpie==0.8.0
ipython==2.0.0
requests==2.2.1
stevedore==0.14.1
virtualenv==1.11.4
virtualenv-clone==0.2.4
virtualenvwrapper==4.2
wsgiref==0.1.2