Oddly enough, that plain display dialog Applescript is known (to me,
at least) to consistently crash QS. QS doesn't actually have the
ability to properly display dialog boxes, strange though it may seem.
Try using

tell application "Finder" to display dialog "Hello World"

and see what the result of that is.

I'm not sure if that will do anything, since the symptoms you describe
are bizarre and I can't see anything wrong with the initial script you
posted (although I will point out that the three "set ... to null"
lines are unnecessary), but it might.

On Dec 6, 2:14 pm, Arlo <[EMAIL PROTECTED]> wrote:
> Hi, Howard. Thanks for your response.
>
> My I.T. folks installed AdmitMac:
>
> http://www.thursby.com/products/admitmac.html
>
> Installing it apparently required migrating the contents of my user
> folder to a new user folder that used my new domain user name. They
> tell me they then "ran a script" that changed all of my file
> permissions to the new user. This new user does not have
> administrative rights, but they did create an administrator user, and
> they gave me the password to the administrator user because they know
> I'm a poweruser and trust me. (It's always good to buddy up to the
> I.T. guys. :) ) Honestly, I think they did a decent job, as I haven't
> had any difficulty with any other software.
>
> To very specifically identify the problem: when an Applescript is
> present in ~/Library/Application Support/Quicksilver/Actions/, I am
> unable to invoke Quicksilver via a keyboard trigger. Also, the menu
> bar icon, which I have set to appear, does not appear when there is a
> script present. The only way I'm able to invoke QS is by clicking on
> the dock icon. When I remove the script file and restart Quicksilver,
> the problem goes away and I am able to invoke QS with the keyboard
> trigger.
>
> The script I was using has not changed since I.T. performed these
> tasks on my machine. In fact, here's the script, if you're interested,
> which I use for tracking my time at work, saved as Time.scpt:
>
>   using terms from application "Quicksilver"
>         on process text theString
>                 set theDate to do shell script of "date \"+%a %b %e\""
>                 set theCmd to ("echo \"" & theDate & " | " & theString & "\" 
> >> ~/
> Desktop/\~Time.txt")
>                 do shell script theCmd
>                 set theCmd to null
>                 set theDate to null
>                 set theString to null
>         end process text
>   end using terms from
>
> I did follow the instructions to reset Quicksilver in the FAQ. I also
> deleted those caches. I also removed everything and installed
> Quicksilver fresh. I followed the instructions in the FAQ to add items
> back one-by-one to find the problem, and that's when I identified that
> it was my Applescript causing the problem. I replaced the Applescript
> with only:
>
>    display dialog "Hello World"
>
> However, the problem returned. I then assumed that the problem is the
> presence of ANY Applescript.
>
> After posting my original message in this thread, I did find this
> advice:
>
>    http://tinyurl.com/6grknr
>
> ...where a user suggests saving the scripts as applications instead of
> scripts. When I do that and save them in the /Actions folder, I can
> invoke Quicksilver, but Quicksilver doesn't show the scripts in /
> Actions at all, even after rescanning the catalog.
>
> It may be worth noting that AdmitMac puts my user folder in an odd
> place. My user folder was (as is typical):
>
>    /Users/aguthrie
>
> Now, my user folder is located at:
>
>    /Domain/[my company's domain]/Users/guthra
>
> I would think that could have something to do with it, but Quicksilver
> doesn't seem to have a problem saving Plugins, so I kind of ruled that
> out.
>
> I'm running Quicksilver B56, OS X 10.5.5. I very much appreciate any
> assistance anyone can offer, and if there is anything else I can tell
> you that will be helpful, please let me know. Thank you.
>
> -Arlo ;->
>
> On Dec 5, 4:50 pm, Howard Melman <[EMAIL PROTECTED]> wrote:
>
> > Well it certainly sounds like something is broken but I haven't heard  
> > of this issue before.
>
> > Is it the *same* script that used to work or did you recreate it  
> > possibly making a typo?
>
> > What versions of QS and OSX?
>
> > The renaming of the user folder sounds suspicious. It's hard to guess  
> > what else they might have done when described as "a whole bunch of  
> > crap". I'd try reseting QS as described in the FAQ.  Maybe there's a  
> > path left over in the in cache that's screwing something 
> > up?http://groups.google.com/group/blacktree-quicksilver/web/faq
>
> > Howard
>
> > On Dec 3, 2008, at 4:10 PM,Arlowrote:
>
> > > I have an Applescript action that I wrote that was working with
> > > Quicksilver just fine. Then, I.T. did a whole bunch of crap to my
> > > machine (installed AdmitMac, renamed my user folder, etc.). I've spent
> > > all day setting my machine back up, which included backing up my ~/
> > > Library/Application Support/Quicksilver folder contents and
> > > reinstalling Quicksilver. When I put my Applescript action into the /
> > > Actions folder and restart Quicksilver, all of a sudden, I cannot
> > > invoke Quicksilver with any trigger, including the default Control-
> > > Space I had been using. Once I delete the Applescript and restart
> > > Quicksilver, Quicksilver behaves as it should. There don't seem to be
> > > any permission issues. I've even tried a simple 'display dialog "hello
> > > world"' action to see if my code was the issue, and it cause the same
> > > behavior. Is something happening in my new set up that screws with
> > > Quicksilver if I have anything in the Actions folder? I apologize if
> > > this bug has already been documented or if there is already a
> > > workaround in the forum -- I searched all over for an answer. Thank
> > > you.

Reply via email to