Re: Applescript to get modified date of file selected in Yojimbo

2008-01-15 Thread Christopher Dare
Thanks Steve. It works. BUT it doesn't work if I try and re-name an item. When I click on an item and select rename (from the Ctrl+click menu) the script doesn't work. It only works if I am just selecting the item. Any ideas? What I am trying to do is get the modified date of the item and be

Re: Applescript to get modified date of file selected in Yojimbo

2008-01-15 Thread Steve Kalkwarf
What I am trying to do is get the modified date of the item and be able to rename the item by appending the modified date to the end of the filename (but before the file extension). I was trying to do it using a TypeIt4Me abbreviation - .e.g so that every time I typed ytag the item's modified

Applescript to get modified date of file selected in Yojimbo

2008-01-14 Thread Christopher Dare
Hi there! I want an Applescript that will grab the modified date of a file selected in Yojimbo. Here is how I want it to work: 1) Select file in Yojimbo 2) Execute an applescript. (either from the Script menu, or Quicksilver or TypeIt4Me/TextExpander) 3) The Applescript gets the Modified date of

Re: Applescript to get modified date of file selected in Yojimbo

2008-01-14 Thread Steve Kalkwarf
I want an Applescript that will grab the modified date of a file selected in Yojimbo. Keep in mind that there aren't files in Yojimbo. If you want to get the modification date of an item in Yojimbo: tell application Yojimbo set selectedItem to selection set modDate to modification