Jump to content

ArekS

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by ArekS

  1. Thank you for answer but it seems like 'pbpaste' not paste clipboard text from clipboard to PHP variable i.e.: $ciag = 'pbpaste'; is not working. I think it is OS X Terminal commands but thanks second part of your post I found solution and my workflow is now working OK. I created workflow triggered by a keyboard shortcut and selected the argument as the selected text. Then using Run script (PHP): $ciag = '{query}'; $ciag = nl2br($ciag); echo $ciag; Next Output "Copy to Clipboard" And it working :-) Now I'm wondering why when I replaced script in my original workflow for this new one it not working. It just paste copied text but not replacing new lines to <br />. Is any difference between using keyword trigger, copy text and then use '{query}' in script versa trigger by a keyboard and selected the argument as a selected text (or contents of the clipboard) and then use '{query}' in script? It must be because first version (with keyword trigger) is not working :-(
  2. Hi, Today I was trying to create simple (I thought :-) ) workflow to convert new line in text into html <br /> tag. So I created workflow with keyword (no argument required because I assumed that I will always copy to clipboard text to convert before will use workflow). Then I added Run script (change language to /usr/bin/php) and in script put: $ciag = {clipboard}; $ciag = nl2br($ciag); echo $ciag; Finally I added Output Copy to Clipboard. Of course it is not working because can not recognize {clipboard} variable. I receive "Parse error: parse error in Command line code on line 1" error. If I replace {clipboard} with some string in double quotes it working OK but can not find way to pass my OSX clipboard to this PHP script (to be precise to $ciag variable). I was spend 20 minutes googling and can't find answer. Can anybody help me? Br Arek
  3. Hi, I'm sorry for delay in answer. No, I have not any connected drives or network drives. I will not call it as Alfred hanging. In my opinion Alfred is working and is responsible when trying to display System preferences but it taking so long. I need agree it is inconsistent. It always take long at first attempt but second and all other are typically much faster but not always, mostly third one is as fast as form Apple menu. Can I make other test for help? In midtime I created new account, disable all started at login software (Dropbox, Cafeine, TextExpander and other) and nothing changed, problem still occur. It is definitely something wrong with Alfred 2.
  4. Hi, I'm using Alfred since one year. After releasing v.2 I switched to it. On version 2 I can see big lag (or delay about 15-20 seconds) when trying access System Preferences. For example I write in Alfred "Disp", choosing "Displays" and need wait about 15-20 seconds to show preference dialog. Same story with "Network" or all other dialogs in system preference. If I use Spotlight instead Alfred or click System Preferences->Displays dialogs displays almost immediately. It is almost identical on my both mac's. When using Alfred v.1 there was no any delay like in Spotlight. Can anybody help me solve this problem? My hardware: 15" Retina MBP ML 10.8.3 - about 10-12 seconds delay 11" MB Air ML (last model) 10.8.3 - about 15-20 seconds delay Best wishes ArekS
×
×
  • Create New...