Thank you everyone for your support! The script does work, but just with text mode and not current selection.
On 29 Apr, 23:46, philostein <[email protected]> wrote: > Change this line: > > if name of front document starts with "Untitled" and text of ¬ > front document is "" then set d to front document > > to 2 lines: > > if name of front document starts with "Untitled" and text of ¬ > front document is "" then > set d to front document > > It works great! Thanks Jon. BTW I don't get the TextEdit Service for > QS text or grabbed selected text. > > On Apr 30, 6:14 am, Guy Manchester <[email protected]> wrote: > > > > > > > > > Thanks but I'm getting an error when I try to compile: > > > Screen shot 2011-04-29 at 22.09.59.png > > 82KViewDownload > > > On 29 Apr 2011, at 19:56, Jon Stovell wrote: > > > > The bug report is athttps://github.com/quicksilver/Plugins/issues/49 > > > > Here is an AppleScript that can fill in until the plugin is fixed. > > > Save it in ~/Library/Application Support/Quicksilver/Actions using a > > > name that makes sense to you. > > > > using terms from application "Quicksilver" > > > on process text t > > > tell application "TextEdit" > > > activate > > > try > > > if name of front document starts with "Untitled" and text of ¬ > > > front document is "" then set d to front document > > > else > > > error > > > end if > > > on error > > > set d to (make new document) > > > end try > > > set text of d to t > > > end tell > > > end process text > > > end using terms from > > > > On Apr 29, 2:40 pm, Jon Stovell <[email protected]> wrote: > > >> Okay, I've filed a bug report on this. Hopefully a dev will be able to > > >> fix it soon. In the meantime, I'll look into making an AppleScript > > >> action to provide a workaround. > > > >> On Apr 29, 8:46 am, Guy <[email protected]> wrote: > > > >>> 1) No 'New TextEdit Window Containing Selection action' appears > > > >>> 2) Yes 'New TextEdit Window Containing Selection action' appears > > > >>> On Apr 29, 1:10 pm, Jon Stovell <[email protected]> wrote: > > > >>>> Hm. I think I just discovered what is up... > > > >>>> Please try the following two operations, and tell me the result of > > >>>> each: > > > >>>> 1) Put the first pane in text mode and enter some text, then try to > > >>>> select the New TextEdit Window Containing Selection action in the > > >>>> second pane > > > >>>> 2) Select some text in a window or document, use the Quicksilver > > >>>> service to send the text to the first pane, and then try to select the > > >>>> action. > > > >>>> On Apr 28, 3:14 pm, Guy <[email protected]> wrote: > > > >>>>> Yes, New Textedit Window Containing Selection is present & activated. > > > >>>>> The latest Services Module @ QSApp.com is dated 2006. Is there a more > > >>>>> recent version? I tried downloading & installing the one 2006 version > > >>>>> & relaunched a couple of times (after the first relaunch the action > > >>>>> wasn't present) & it still doesn't appear. > > > >>>>> On Apr 28, 8:01 pm, Jon Stovell <[email protected]> wrote: > > > >>>>>> Does "New TextEdit Window Containing Selection" appear anywhere in > > >>>>>> the > > >>>>>> actions list in QS's preferences for you? If so, is it activated > > >>>>>> (i.e. > > >>>>>> is there a checkmark in the box beside it)? Do you have the latest > > >>>>>> version of the Services menu plugin installed from qsapp.com? > > > >>>>>> On Apr 28, 8:43 am, Guy <[email protected]> wrote: > > > >>>>>>> I've also never had the TextEdit service appear in Quicksiler. I use > > >>>>>>> Textwrangler so it's never been an issue for me really. I've also > > >>>>>>> just > > >>>>>>> got a new Mac & Quicksilver was the first thing I installed & > > >>>>>>> configured (Obviously) & it has never appeared here or did it ever > > >>>>>>> appear in my previous install despite it always being under Services > > >>>>>>> in the contextual menu. > > > >>>>>>> Not a very helpful reply I'm afraid but I just thought I'd let you > > >>>>>>> know you're nit alone. > > > >>>>>>> On Apr 28, 9:00 am, Citizento <[email protected]> wrote: > > > >>>>>>>> Thank you for your answer Jon. I logged in and out from my Mac > > >>>>>>>> multiple times these days, but nothing changed. I always get the > > >>>>>>>> good > > >>>>>>>> service from Bean but not from TextEdit. Maybe there's something > > >>>>>>>> wrong > > >>>>>>>> in the Services settings in my Mac. I already tried the preference > > >>>>>>>> pane without luck. I heard somewhere that there is a .plist which I > > >>>>>>>> should edit to modify the system services, I will look for some > > >>>>>>>> manuals/how-to for it. > > >>>>>>>> Thank you very much again for your support. > > > >>>>>>>> On 27 Apr, 19:30, Jon Stovell <[email protected]> wrote: > > > >>>>>>>>> When was the last time you logged out and logged in? I once had > > >>>>>>>>> the > > >>>>>>>>> Services menu get messed up (which in turn affected QS's access > > >>>>>>>>> to the > > >>>>>>>>> Services), but the next time I logged in the operating system > > >>>>>>>>> rebuilt > > >>>>>>>>> the Services menu and everything worked fine after that. > > > >>>>>>>>> On Apr 27, 5:14 am, Citizento <[email protected]> wrote: > > > >>>>>>>>>> Sorry, but it wasn't enough, I am still missing the service from > > >>>>>>>>>> TextEdit. > > > >>>>>>>>>> On 24 Apr, 20:16, Jon Stovell <[email protected]> wrote: > > > >>>>>>>>>>> Try restarting Quicksilver. > > > >>>>>>>>>>> On Apr 22, 6:44 am, Citizento <[email protected]> wrote: > > > >>>>>>>>>>>> Sirs, > > >>>>>>>>>>>> I am new to Quicksilver but I read that when I type some text > > >>>>>>>>>>>> in text > > >>>>>>>>>>>> mode I should see from the possible actions from the second > > >>>>>>>>>>>> tab all of > > >>>>>>>>>>>> the compatible services in my Os. In fact I can process said > > >>>>>>>>>>>> text with > > >>>>>>>>>>>> services from Bean, LaTex, MacJournal, Dictionary... What I > > >>>>>>>>>>>> can't > > >>>>>>>>>>>> understand is why “New TextEdit window containing selection” > > >>>>>>>>>>>> doesn't > > >>>>>>>>>>>> show up. I can see it in the Services Menu and I can use it > > >>>>>>>>>>>> from the > > >>>>>>>>>>>> right-click menu, but Quicksilver doesn't see it. Do you have > > >>>>>>>>>>>> any > > >>>>>>>>>>>> ideas? > > >>>>>>>>>>>> Thank you for your support. > > >>>>>>>>>>>> Citizento
