This was only a quick script I wrote in 5 minutes. It works on my 10.7.4 machine, but may not on 10.6 or 10.7
The line that is causing your problems is the following line: *if* target *of* *window* x *as* *alias* *is* *equal to* the_folder *then* * * perhaps 10.8 or 10.6 (not sure which one you're on) doesn't give the same output for the word 'target' @Alan - you can keep the script file anywhere, but home/Library/Scripts is a typical place. Keep it on your desktop or wherever, it won't make a difference :) Try opening it in AppleScript Editor and running it to see if it works for you On 23 August 2012 09:57, Ian Hay <[email protected]> wrote: > I also tried this, had to put it in /Library/Scripts and change owner etc > however when i run the script it fails with : > > *error* "Can’t make «class fvtg» of window 2 of application \"Finder\" > into type alias." number -1700 from «*class* fvtg» *of* *window* 2 to * > alias* > > and that's the end of my abilities sadly although will go google for some > inspiration > > Ian > On 23 Aug 2012, at 10:46, Alan G <[email protected]> wrote: > > Thanks for the quick reply Patrick > I can only thank you for your quick response, I have to admit Apple > scripts are a little over my head and whilst I am always open to learning , > the bits you probably take for granted are a little deep for me, I did try > to follow what I took to be your directions ref librarys and didn't see a > scripts folder option but would probably need to ask too many "do i go left > or right" too many times so all i can say is thanks again its great we > have people like you but I would need too much guidance to get there > > Alan > > On Thursday, August 23, 2012 8:27:13 AM UTC+1, Alan G wrote: >> >> I have just installed Quick Silver and have OSX10.8 Mountain Lion, all I >> really need to do is use a couple of Hotkeys to open and close access to a >> folder on a drive called elements , I have spent hours trying to get toggle >> to work but whilst it is ticked in Actions and shows in Preferences /All >> Actions& Applications & Files + Folders I cannot see toggle when creating >> a trigger, this is killing me can any one suggest the best way and maybe a >> route map of how to do this please ? >> >> I ideally want: >> >> - To show and Hide/Quit a folder application via an Hot key >> - I dont want to have anything showing on the desk top >> - I have created a trigger that Opens the Folder but need something >> to close it i.e.: Quit or Toggle >> >> I am new to Quicksilver and need a little assistance anybody? >> >> Alan >> > > -- > You received this message because you are subscribed to the Google Groups > "Quicksilver" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/blacktree-quicksilver?hl=en. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Quicksilver" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/blacktree-quicksilver?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Quicksilver" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.
