Re: Commands out of sync, you can ´ t run t his command now

2006-12-16 Thread Horst

Good morning Ken,

You wrote:
> I guess the only thing left to do is restart mySQL (either by restarting
> the
> server or at the command line) unless someone else has a better idea...
> 
> Ok, But How? shut down the PC and start again?

>Yes, the PC that is actually running mySQL server (i.e. not a client PC
that
>is simply *accessing* mySQL).

Well, That´s (Shutdown the PC) what I did a few minutes ago. The message is
still the same. Anybody with another idea?

Thank you and best regards

Horst

-- 
View this message in context: 
http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7904307
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting the system date to Option fields

2006-12-16 Thread Eric Chatonet

Hi Charles,

Not sure I understand well what you want:
If you want to select by script the three right items in your option  
menus, it's quite easy :-)


local tDate
-
put the short date into tDate
convert tDate from short date to dateItems
select line lineOffset(item 1 of tDate, btn "Year" ) of btn "Year"
set the menuHistory of btn "Month" to item 2 of tDate
set the menuHistory of btn "Day" to item 3 of tDate

Le 16 déc. 06 à 04:10, Charles Szasz a écrit :

I have three option menus: year, month (expressed in numerical  
form) and day expressed in numerical form). How can I set the date  
for the year, month and day to the system date?


Charles Szasz



Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: EuroRevCon web gallery

2006-12-16 Thread Dom
Ian Wood <[EMAIL PROTECTED]> wrote:

> 

funny to see all these photographers photographied ;-)
anyway, a good mean to put a face on a name

I forgot: great shots!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Commands out of sync, you can ´ t run t his command now = FIXED NOW

2006-12-16 Thread Horst

Hello everybody,

I´m happy that I found the reason for the message. 

I just changed 

revexecuteSQL DB_ID, SQL_Befehl

to

get revQueryDatabase (DB_ID, ...

That´s it

Thank you all for your help

Horst
-- 
View this message in context: 
http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7904882
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Protecting key data

2006-12-16 Thread Richard Miller
I'm wondering what folks are doing to protect certain key pieces of  
data in a stack from unauthorized use. More specifically:


We're doing a lot of file transferring from our applications (which  
could be on any customer's computer) to and from our server. Hence,  
the IP address (and password) of our server needs to be in those  
applications. We need to protect that information.


We're already setting the password of the main stack, so its script  
data is encrypted. But this main stack has more than 50 sub-stacks,  
and unless a password is set for every one of those stacks (which may  
be necessary), anyone can see the scripts of those stacks. So it  
would appear necessary to set a password for every substack that  
contains important data.


A bigger problem is that we're putting the IP info into a global  
variable so it can be accessed throughout the application. That IP  
address is currently contained in a custom property in the main  
stack, which even though it is password protected... can be  
easily accessed through the message box, even before the password is  
entered. No security there.


Seems one route is to put the IP address into the script of some  
object in the main stack. This way, there's no way to get at it  
without the password. But it becomes a bit of a pain to reference  
that IP throughout the application, other than the long way (put the  
script of object x of cd x of stack x.).


Is there a better approach?

Thanks.
Richard Miller
Imprinter Technologies

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Protecting key data

2006-12-16 Thread Richard Gaskin

Richard Miller wrote:

Seems one route is to put the IP address into the script of some  
object in the main stack. This way, there's no way to get at it  
without the password. But it becomes a bit of a pain to reference  
that IP throughout the application, other than the long way (put the  
script of object x of cd x of stack x.).


Is there a better approach?


Using the built-in script encryption isn't bad, but if you need 
something especially strong why not use Rev's encryption library?  With 
Blowfish and other industrial-strength algos available, it should more 
than cover what you need.


If lightweight encryption is sufficient, the fwPack and fwUnpack 
handlers here are very easy to use, if not particularly strong:





--
 Richard Gaskin Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Protecting key data

2006-12-16 Thread Tereza Snyder


On Dec 16, 2006, at 7:57 AM, Richard Miller wrote:

We're already setting the password of the main stack, so its script  
data is encrypted. But this main stack has more than 50 sub-stacks,  
and unless a password is set for every one of those stacks (which  
may be necessary), anyone can see the scripts of those stacks. So  
it would appear necessary to set a password for every substack that  
contains important data.


A bigger problem is that we're putting the IP info into a global  
variable so it can be accessed throughout the application. That IP  
address is currently contained in a custom property in the main  
stack, which even though it is password protected... can be  
easily accessed through the message box, even before the password  
is entered. No security there.


Seems one route is to put the IP address into the script of some  
object in the main stack. This way, there's no way to get at it  
without the password. But it becomes a bit of a pain to reference  
that IP throughout the application, other than the long way (put  
the script of object x of cd x of stack x.).


Is there a better approach?




I have never dealt with this myself, but one approach that occurred  
to me is to store the data in a passworded script like so:


constant kPassWord="MyPassWord", kIP="192.168.0.100"


Access it in your application by providing, in the same script, a  
getprop handlers like so:



 getprop uPassWord
return kPassWord
 end uPassWord

 getprop uIP
return kIP
 end uIP

... which you invoke with statements like:

 put the uIP of stack  "MyMainStack" into tIP
 put the uPassWord of stack  "MyMainStack" into tPassWord
 -- do something with tIP and tPassWord

If tIP and tPassWord are local to the handler in which they are used,  
they'll not be floating around in globals.



You can exclude message box access by including, in the getprop  
handlers:


 if  not( the target contains "message field" ) then ...


I'm sure the security gurus have better answers, but I couln't hold  
myself back!


t

--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Problem with BinaryEncode and variable params

2006-12-16 Thread Bryan McCormick

Folks,

I am a bit baffled here. I have seen many sample scripts where variables 
are passed as parameter to binaryEncode (in my case, for imageData) but 
no matter how I try to pass the known numeric values, the compiler 
throws an error.


For example:

take a string of the form 0,206,0 as returned from the color picker, 
let's call this tColors


Then I put each value into a separate param

put item 1 of tColors+0 into c1

put item 2 of tColors+0 into c2

put item 3 of tColors+0 into c3

(I added the +0 to make sure the var was seen as a number, I tried it 
without as well with the same error)



Then I call:

put binaryEncode("",0,c1,c2,c3) into varNewImageData


and it fails.

I tried to pass all the params as a quoted string, concatenated, you 
name it I have tried it.


It's likely dead simple. But for the life of me I cannot get it.

This is in 2.7.4


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Midi and Revolution

2006-12-16 Thread Fred Moyer

This is for anyone who knows about midi:

1) I need a midi file to trigger events in Revolution. Is putting the  
midi file into a player and then using callbacks the only way? If so,  
is there some formula where I can tell exactly what callback number  
is associated with what note? I am trying to figure it out using  
tempo in the midi file and timescale in the player. So if tempo is 60  
beats per minute and the timescale of the player is 600, then at the  
end of the 60th beat, a minute should have passed and therefore the  
callback number would be 600 * 60 or 36000, but it isn't working out  
that perfectly. Maybe tempo in midi or callbacks in Revolution are  
not entirely exact?


2) Running midi in a player burns up the cpu. Just having a tiny 20K  
midi file in the player and not even playing spikes up Revolution's  
use of the cpu to 35% in Activity Monitor, the Apple applications in  
the Utilities folder. Then playing the midi file is also more  
intensive on the cpu than playing a sound file. The app that I am  
writing will be used with a laptop, often on battery power, so this  
is a crucial issue. What is the cpu doing with a dormant midi file  
that is so difficult and crucial so as to use 35% of the cpu? Is this  
a Quicktime bug, Revolution bug?


3) Is it always a midi FILE that has to play? One thing I need is a  
click that plays endlessly at a specific tempo. I am creating the  
click by making a midi file that uses one of the Drum instruments.  
But of course the file runs out eventually and I have to loop it and  
there is inevitably a jerk. Is there any way to not use a file at all  
and just play a note over and over at a certain tempo? (I know I  
could just skip midi altogether and play a tiny sound file over and  
over, but I'd like to stick to midi for some other reasons.)


4) I know very little about midi. Is there anyone out there who could  
help me with my project?


Thanks
Fred Moyer
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Variables in DB Query Builder

2006-12-16 Thread Horst

Holá SQL-Professionals,

I´m thinking, how to put a variable Part in the SQL-Message of the DB Query
builder

f.e.
Select Landname, Landvorwahl from land_kz where Landname BETWEEN "A%" AND
"¦"  ORDER BY Landname ASC;
How to put the variable instead of "A%" witch makes by the way, no sense.

Thanks for many good ideas and don´t let me alone :-)

Best regards

Horst
-- 
View this message in context: 
http://www.nabble.com/Variables-in-DB-Query-Builder-tf2832420.html#a7907686
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: getting U3 serial number on Mac OS X

2006-12-16 Thread Bill Marriott
Very impressive. This reminds me ... back in October when I was complaining 
about Rev 2.7.x not installing under Windows Vista, someone mentioned that 
using a U3 drive to run it should work. U3 is currently broken under Vista, 
and so you can't run Rev that way.  :( Sorry to interrupt the thread.

"Phil Davis" <[EMAIL PROTECTED]> wrote in 
message news:[EMAIL PROTECTED]
> Hi List,
>
> I decided to find a way to get a U3 drive's serial number on Mac (OS X 
> only). Sorry, I don't have a method for Linux but would welcome anyone's 
> contribution in this regard.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Importing data into standalones (and saving it)

2006-12-16 Thread Bill Marriott
The standalone file itself cannot be modified or saved. But,

- the standalone stack can create new stacks, and those can be written to & 
saved.
- you can ship an uncompiled template stack side-by-side with your 
standalone stack
- you can save/load data to disk in the usual ways.

"Richmond Mathewson" <[EMAIL PROTECTED]> 
wrote in message news:[EMAIL PROTECTED]
I am trying to "knock up" a testing program for a
client - the client will need to import a type of
delimited text file into a field of the standalone,
save that and then distribute the standalone with the
loaded text; the client would like to do that
repeatedly with a large number of text files.

Help gratefully recieved,  Richmond Mathewson



"Its time to do Philosophy and stop worrying about what dead men said."
 
   Mathewson 2006




___
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problem with BinaryEncode and variable params

2006-12-16 Thread Bernard Devlin

Bryan,

put "0,1,0" into tColors
put item 1 of tColors+0 into c1
put item 2 of tColors+0 into c2
put item 3 of tColors+0 into c3
put binaryEncode("",0,c1,c2,c3) into varNewImageData
put varNewImageData

works for me insofar as it will put some binary gibberish into the  
msgbox.  Are you sure that at least 1 item in tColors is non-zero?


I have never used imageData or binaryEncode, so maybe I am not  
appreciating your problem.


Bernard
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Socket timeout interval

2006-12-16 Thread J. Landman Gay
I have an app that downloads files, and it works fine for almost 
everyone except for one person who gets consistent socket timeout 
errors. What's a good setting for the socketTimeoutInterval for iffy 
connections like this one? Since there may be mulitple serial downloads, 
I'd like an interval that doesn't hang up the process too terribly long, 
but still waits long enough. Is there such a thing?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problem with BinaryEncode and variable params

2006-12-16 Thread Mark Schonewille
Bernard's solution works. You could write C4 instead of  and if  
you want to see some result, you could convert it to hex values,  
because you can't see NULL values without converting them.


  put "0,206,0" into tColors
  put item 1 of tColors into c1
  put item 2 of tColors into c2
  put item 3 of tColors into c3
  put binaryEncode("C4",0,c1,c2,c3) into varNewImageData
  get binaryDecode("H*",varNewImageData,x)
  put x

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 16-dec-2006, om 18:21 heeft Bernard Devlin het volgende geschreven:


Bryan,

put "0,1,0" into tColors
put item 1 of tColors+0 into c1
put item 2 of tColors+0 into c2
put item 3 of tColors+0 into c3
put binaryEncode("",0,c1,c2,c3) into varNewImageData
put varNewImageData

works for me insofar as it will put some binary gibberish into the  
msgbox.  Are you sure that at least 1 item in tColors is non-zero?


I have never used imageData or binaryEncode, so maybe I am not  
appreciating your problem.


Bernard

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Bug with revQueryDatabase 2.7.4 build 291

2006-12-16 Thread Mark Wieder
Robert-

Friday, December 15, 2006, 3:33:06 PM, you wrote:

> put "SELECT * FROM wt_springcalc WHERE wt_springcalc.year_model='" &
> gyearmodel & "' and wt_springcalc.company_id='1'" into theSQL
> put revQueryDatabase(dbID2, theSQL) into curID
> put curID into fld "curIDnum"

This is actually correct behavior. What you're doing is returning a
recordset id from which you can start to extract data. All the
revQueryDatabase() function is doing is getting you that far, and you
aren't getting any errors because you're connecting properly with your
database and don't have any syntax errors in your SQL statement. The
fact that the data represented by the recordset is empty is not
relevant. You would see an error if you specified a field that didn't
exist in the database or a if dbID2 didn't specify a currently open
database or some other such error.

If you use the recordset returned to you by the revQueryDatabase()
function in a revDatabaseColumnNamed() function call you will see that
it returns empty to you, but again no error.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: U3 broken in Vista (was: getting U3 serial number on Mac OS X)

2006-12-16 Thread Richard Gaskin

Bill Marriott wrote:

> U3 is currently broken under Vista, and so you can't run Rev that way.

Any details on what's broken, and when it's expected to be fixed?  Or 
has Vista gone the way of Apple and decided that auto-launchers are a 
security risk?


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: U3 broken in Vista (was: getting U3 serial number on Mac OS X)

2006-12-16 Thread Lynn Fredricks
>  > U3 is currently broken under Vista, and so you can't run 
> Rev that way.
> 
> Any details on what's broken, and when it's expected to be 
> fixed?  Or has Vista gone the way of Apple and decided that 
> auto-launchers are a security risk?

Ive heard that a Vista compatible launchpad is on its way - just not an eta
yet.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problem with BinaryEncode and variable params

2006-12-16 Thread Mark Smith
Bryan, for the purposes of encoding image data (1-byte unsigned  
integers), the numToChar function works just as well:


repeat for each item i in tList
  put numToChar(i) after tBinaryString
end repeat

Otherwise, "C4" (rather than "") has always worked for me...

Best,

Mark

On 16 Dec 2006, at 16:06, Bryan McCormick wrote:


Folks,

I am a bit baffled here. I have seen many sample scripts where  
variables are passed as parameter to binaryEncode (in my case, for  
imageData) but no matter how I try to pass the known numeric  
values, the compiler throws an error.


For example:

take a string of the form 0,206,0 as returned from the color  
picker, let's call this tColors


Then I put each value into a separate param

put item 1 of tColors+0 into c1

put item 2 of tColors+0 into c2

put item 3 of tColors+0 into c3

(I added the +0 to make sure the var was seen as a number, I tried  
it without as well with the same error)



Then I call:

put binaryEncode("",0,c1,c2,c3) into varNewImageData


and it fails.

I tried to pass all the params as a quoted string, concatenated,  
you name it I have tried it.


It's likely dead simple. But for the life of me I cannot get it.

This is in 2.7.4


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Midi and Revolution

2006-12-16 Thread Mark Smith
1) I need a midi file to trigger events in Revolution. Is putting  
the midi file into a player and then using callbacks the only way?  
If so, is there some formula where I can tell exactly what callback  
number is associated with what note? I am trying to figure it out  
using tempo in the midi file and timescale in the player. So if  
tempo is 60 beats per minute and the timescale of the player is  
600, then at the end of the 60th beat, a minute should have passed  
and therefore the callback number would be 600 * 60 or 36000, but  
it isn't working out that perfectly. Maybe tempo in midi or  
callbacks in Revolution are not entirely exact?


How accurate do you need this to be?
I'd imagine the quicktime midi player to be decently accurate in it's  
timing, so I'd think the inaccuracies you're seeing are more likely  
to be with the callback mechanism.


3) Is it always a midi FILE that has to play? One thing I need is a  
click that plays endlessly at a specific tempo. I am creating the  
click by making a midi file that uses one of the Drum instruments.  
But of course the file runs out eventually and I have to loop it  
and there is inevitably a jerk. Is there any way to not use a file  
at all and just play a note over and over at a certain tempo? (I  
know I could just skip midi altogether and play a tiny sound file  
over and over, but I'd like to stick to midi for some other reasons.)



It's fairly easy to use the 'beep' command to make a reasonably  
consistent click, using 'send in time'. Alternatively, you could make  
a looping sound file, and use the 'playRate' to adjust the tempo.


is there some formula where I can tell exactly what callback number  
is associated with what note?


I don't know if you can get at individual midi events (such as notes)  
using callbacks, though I doubt it. Again, depending on how accurate  
you need it to be, you might be able to actually parse the midi file,  
and trigger events at the right time, again, using 'send in time'.


I've not played around with midi files (though I've used midi a great  
deal), but I'd imagine something like this would be doable.
If you need millisecond accuracy, though, I doubt that this would be  
good enough.


Best,

Mark


On 16 Dec 2006, at 16:13, Fred Moyer wrote:


This is for anyone who knows about midi:

1) I need a midi file to trigger events in Revolution. Is putting  
the midi file into a player and then using callbacks the only way?  
If so, is there some formula where I can tell exactly what callback  
number is associated with what note? I am trying to figure it out  
using tempo in the midi file and timescale in the player. So if  
tempo is 60 beats per minute and the timescale of the player is  
600, then at the end of the 60th beat, a minute should have passed  
and therefore the callback number would be 600 * 60 or 36000, but  
it isn't working out that perfectly. Maybe tempo in midi or  
callbacks in Revolution are not entirely exact?


2) Running midi in a player burns up the cpu. Just having a tiny  
20K midi file in the player and not even playing spikes up  
Revolution's use of the cpu to 35% in Activity Monitor, the Apple  
applications in the Utilities folder. Then playing the midi file is  
also more intensive on the cpu than playing a sound file. The app  
that I am writing will be used with a laptop, often on battery  
power, so this is a crucial issue. What is the cpu doing with a  
dormant midi file that is so difficult and crucial so as to use 35%  
of the cpu? Is this a Quicktime bug, Revolution bug?


3) Is it always a midi FILE that has to play? One thing I need is a  
click that plays endlessly at a specific tempo. I am creating the  
click by making a midi file that uses one of the Drum instruments.  
But of course the file runs out eventually and I have to loop it  
and there is inevitably a jerk. Is there any way to not use a file  
at all and just play a note over and over at a certain tempo? (I  
know I could just skip midi altogether and play a tiny sound file  
over and over, but I'd like to stick to midi for some other reasons.)


4) I know very little about midi. Is there anyone out there who  
could help me with my project?


Thanks
Fred Moyer
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is "../foldername" a sufficient reference

2006-12-16 Thread Jeanne A. E. DeVoto
At 12:43 AM +0100 12/16/2006, Kresten Bjerg wrote:
>I wonder, whether there is a simple short way scripting for  a
>standalone in MacFAT & Linux ( where standalone consists of three
>files) to identify the parent folder, i.e. just naming it, without
>refering to grandparent and grandgrandparents etc -. We see  "
>../foldername".  often in the documentation, but I dont know, if
>that supposes the scripter to fill in series of parents above, or
>the "../" can be used literally?


Yes, it can be used literally. "../" means the parent of the defaultFolder, 
"../../" means the parent of that folder (the grandparent of the 
defaultFolder), and so on.

This actually is in the docs, in the article "About filename specifications and 
file paths" - but I'm not sure where what used to be the Encyclopedia has been 
placed in the current version of the docs...
-- 
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution