Making items read only

2008-01-15 Thread Mike Landon

Hello,

I was wondering if there is anyway I could make an item(s) 'read only'  
to stop myself inadvertently changing some value like a password or  
login ID?


I occasionally select  copy values from Yojimbo to say Safari and  
have accidently blanked out the value by hitting a random key, thus  
overwriting the value as it was at that moment selected. I  
subsequently close Yojimbo without realizing I have changed the value.


Unfortunately I can be clumsy with the keyboard sometimes.

Cheers,

Mike.

--
--
This message is sent to you because you are subscribed to
 the mailing list yojimbo-talk@barebones.com.
To unsubscribe, send mail to: [EMAIL PROTECTED]
List archives:  http://www.listsearch.com/yojimbotalk.lasso
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: [EMAIL PROTECTED]


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 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
date would be returned when I am renaming it.

Steve Kalkwarf wrote:

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 date of item 1 of selectedItem
end tell

EOM


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
date would be returned when I am renaming it.


I think you're mixing too many tools and gestures into the 
process. And to repeat myself: There are no _files_ in Yojimbo.


However, if you want to rename an item using the date:

on FormatDate(modDate)
set dateString to ¬
(year of (modDate))  -  ¬
(text -2 thru -1 of (0  (month of (modDate) as 
number)))  -  ¬
(text -2 thru -1 of (0  (day of (modDate) as 
number))) ¬

as string
return dateString
end FormatDate

tell application Yojimbo
set selectedItem to selection
set itemTitle to name of item 1 of selectedItem
set modDate to modification date of item 1 of selectedItem
set prettyDate to my FormatDate(modDate)
set itemTitle to itemTitle  space  prettyDate

set name of item 1 of selectedItem to itemTitle
end tell


--
--
This message is sent to you because you are subscribed to
 the mailing list yojimbo-talk@barebones.com.
To unsubscribe, send mail to: [EMAIL PROTECTED]
List archives:  http://www.listsearch.com/yojimbotalk.lasso
Have a feature request, or not sure if the software's working
correctly? Please send mail to: [EMAIL PROTECTED]


Leopard compatible beta of SyncTogether available

2008-01-15 Thread TjL
See http://www.markspace.com/testing/ for a healthy dose of
disclaimers and a beta.

I'm definitely excited about this.  I can't get Yojimbo to sync over
.Mac.  I'm hoping over my LAN will be easier!  Making backups of
course!

TjL

-- 
--
This message is sent to you because you are subscribed to
  the mailing list yojimbo-talk@barebones.com.
To unsubscribe, send mail to: [EMAIL PROTECTED]
List archives:  http://www.listsearch.com/yojimbotalk.lasso
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: [EMAIL PROTECTED]