May 21, 2013, 09:21:39 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
EvilLyrics forum
>
EvilLyrics
>
General discussion
>
Lock/Unlock State?
Pages:
1
« previous
next »
Print
Author
Topic: Lock/Unlock State? (Read 1237 times)
Seether166
Newbie
Karma: 0
Posts: 4
Lock/Unlock State?
«
on:
August 10, 2007, 07:19:23 PM »
Marek,
Firstly, thanks so much for great program! I use it constantly and love it.
What I'm wondering is this: Where do you store the Lock/Unlock state of a TXT file? When I "Lock" a file, presumably because I've edited it with changes I like, where do you store this state?
The TXT file's themselves look the same, and I can't seem to find any files (a DB, for instance) that are recently edited such that I believe they would store this persistent state. I know you must store it somewhere, because when EvilLyrics comes back that file later it knows that it was locked.
My reason for asking this is that I use EvilLyrics predominately in two places: my work computer; my home computer. I'd like to be able to "synch" my lyrics between the both of them. Right now, I consider my home computer to be "authoritative" and if a file exists on both computers, I prefer the one on my home computer. However, what I'd really like to prefer it on, is which ever one I've locked. Does that make sense?
Thanks!
Logged
EvilLyrics forum
Lock/Unlock State?
«
on:
August 10, 2007, 07:19:23 PM »
Logged
Marek
Administrator
Hero Member
Karma: 8
Posts: 795
Re: Lock/Unlock State?
«
Reply #1 on:
August 13, 2007, 02:52:10 PM »
Hi Seether166, this info is stored in file's read-only flag ... if file is locked, it's read only attribute is set
Logged
EvilLyrics Developer
Seether166
Newbie
Karma: 0
Posts: 4
Re: Lock/Unlock State?
«
Reply #2 on:
August 13, 2007, 11:37:10 PM »
Heh. Brilliantly simple, Marek. Thanks
Logged
EvilLyrics forum
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EvilLyrics
-----------------------------
=> General discussion
=> Bug reports
=> Suggestions
Loading...