RE: Linux and AudioClips

2006-05-28 Thread Stephen Barncard
AIFF file format was invented by apple but is used by all major audio 
softwares.

It works cross platform as it doesn't contain a resource fork, as SD2 files do.

Why on earth does UBUNTU need standard files saved at half speed? 
Major bug - and that means the top sampling rate would be half as 
well. Wouldn't sound as good.


Hasn't anyone followed up and fixed this in UBUNTU? Obviously sound 
isn't that important to those guys.


sqb


Richmond,

Interesting and useful. Thanks. I'm interested that you use AIFF 
files. I thought these were more Mac specific. Have you tried AU 
files?



I run a small EFL school in Bulgaria with Pentium 3s running Ubuntu 
and using RR programs made by myself. These programs use externally 
referenced AIFF files which were slowed down (!!!) to half-speed on 
MAC so that they play 'normally' with RR in Ubuntu.


This was the final situation I arrived at after a hell of a lot of 
false starts with sound, RR and Linux: not least the quite 
considerable abuse I recieved on the Ubuntu use-lists when I 
suggested that AIFF files had to be slowed down to half speed.


Embedded AIFF files also have to be slowed down.


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
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



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: ErrorLib 1.0b02 released

2006-05-28 Thread Martin Blackman

Constellation seems to grab the error before errorlib.
In fact this would be the best way to have it, because we normally
want errorlib to do its stuff for standalones, not in the IDE.

You can of course set the option to use Rev script/error handling in
Constellation (ie 'switch it off') - this gets you back to errorlib
handling the errors.


On 29/05/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:

Hi sqb,

I would expect it to be possible to get around Constellation's error
handling routines, just like it is possible to get around that of the
Rev IDE.

Best,

Mark

P.S. The Hundreds who bought Constellation are free to contact me in
case they encounter difficulties using it in combination with
ErrorLib. Your comments are highly appreciated.

--

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

Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html



Op 28-mei-2006, om 20:51 heeft Stephen Barncard het volgende geschreven:

> Because I'm sure Jerry re-worked the Error reporting in
> Constellation from the REV IDE - he's tapped into it somehow
> because the write-run-error-debug-edit cycle is faster and Const
> has its own error dialog.  However, the error messages are often
> inconclusive, as is in the REV IDE.
>
> I'll check ErrorLib out.
>
> thanks
> sqb
>
> ps there are hundreds of us now using Constellation. Jerry's world
> was a little weird at first but now we can't work without it -
> especially the editor. You might look into how you could make your
> plugin to work with his alt- plug system which is upwardly
> compatible with his forthcoming (free) Galaxy system.


___
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: Linux installation

2006-05-28 Thread Bob Warren
Just a little bit of follow-up on the use of the executable module 
"get_sys_info_linux". I have a Live CD (where you don't have to install 
anything on the HD) for the Brazilian Kurumin Linux (KDE). So I loaded 
it up and ran "get_sys_info_linux". This was the result in "sys_info.txt":


/home/kurumin/Desktop/
/home/kurumin/
/usr/
/tmp/

("Kurumin" is not only the name of the distro, but also the default user 
name.)


As you can see, the last parameter (TrashFolder) did not appear, and in 
fact the program module did not close as a result.


Richard (and others): Please let me know if this module is of any real 
use to you. If so, I will try to improve my RB project to include error 
handling, OK? But not tonight, Josephine!


Regards,
Bob


___
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: Linux installation

2006-05-28 Thread Bob Warren
OK Richard, I think I might have just about cracked it. If you navigate 
to http://www.howsoft.com/runrev/sysinfo/ you can download 
get_sys_info_linux.zip .


Inside, you will find a Linux executable to get system info as detailed 
below. For some reason that I haven't worked out yet though, changing 
the file name, up/downloading it over the Internet, or simply extracting 
the program from the ZIP file nullifies its executable status. So when 
you extract it, look at the file's properties (right click of the mouse) 
and GIVE IT EXECUTABLE STATUS.


Here is my first (and possibly last) routine in RB for creating the module:

  Dim g As FolderItem
  Dim h As string
  Dim f As FolderItem
  Dim t as TextOutputStream

  f = GetFolderItem("sys_info.txt")
  t = f.CreateTextFile

  g=DesktopFolder
  h=g.AbsolutePath
  t.Write h
  t.Write Chr(13) + Chr(10)

  //g=ApplicationsSupportFolder
  //h=g.AbsolutePath
  //t.Write h
  //t.Write Chr(13) + Chr(10)

  //g=FontsFolder
  //h=g.AbsolutePath
  //t.Write h
  //t.Write Chr(13) + Chr(10)

  g=PreferencesFolder
  h=g.AbsolutePath
  t.Write h
  t.Write Chr(13) + Chr(10)

  //g=StartupItemsFolder
  //h=g.AbsolutePath
  //t.Write h
  //t.Write Chr(13) + Chr(10)

  g=SystemFolder
  h=g.AbsolutePath
  t.Write h
  t.Write Chr(13) + Chr(10)

  g=TemporaryFolder
  h=g.AbsolutePath
  t.Write h
  t.Write Chr(13) + Chr(10)

  g=TrashFolder
  h=g.AbsolutePath
  t.Write h
  t.Write Chr(13) + Chr(10)

  //g=SpecialFolder
  //h=g.AbsolutePath
  //t.Write h
  //t.Write Chr(13) + Chr(10)

  t.close
  Quit

--
As you can see, the output is to the file "sys_info.txt". The items 
commented out are the ones which did not work under Linux. So what we 
have in "sys_info.txt" are the paths in the order above, ignoring the 
commented ones. On my computer (Ubuntu), this gives:


/home/bob/Desktop/  (DesktopFolder)
/home/bob/  (PreferencesFolder)
/usr/   (SystemFolder)
/tmp/   (TemporaryFolder)
/home/bob/.Trash/   (TrashFolder)

--
In RR, you can now do a "shell and wait end" on the get_sys_info_linux 
module.


One little detail that I might have to clear up eventually is that the 
RB coding was put into the window's "Activate" handler, but I found that 
if I made the window invisible, this handler would not be actioned. So I 
kept it visible and reduced the window's dimensions to 1x1 pixels, but 
it doesn't help very much because there must be a default minimum size 
that is independent of what I specified in the program, and in fact you 
can actually see a very quick flash of a window which is certainly 
bigger than 1x1 pixels.


That's the best I can do at the moment, I'm afraid. Hope it helps.
Let us know how you get on.

Regards,
Bob



___
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: Directory Walker Conundrum

2006-05-28 Thread Sivakatirswami

David and Alex, Aloha, Thank you!

I always tell people "Oh yes, the other thing about Revolution, is,  
its rare not to get a solution with 18 hours"


Of course, only if you don't ask for the Cheese In The Moon... no one  
responded to my query as to whether  one could apply unsharpMask to a  
photo in revolution. Like a great sage once said: "You can do  
anything, but don't try to fly like a bird."


Sivakatirswami


On May 28, 2006, at 2:06 PM, David Vaughan wrote:


On 29/05/2006, at 9:52, Alex Tweedly wrote:


change
  delete line 1 of tDirList
to something like
  filter tDirList without ".."


This one works anyway, and also does not suffer from a couple of  
other bugs which exist in Ken's older version, to do with  
permissions and infinite recursion in OS X and possibly other 'nixes.


-- This recursive function expects a folder path.
-- It returns a file list for that folder and for each
--  sub-folder it contains (pre-order search)
-- Invisible files are excluded.
function walkDir dirPath
  if dirPath contains "//Network" then
return empty
  end if
  put empty into tList
  set defaultFolder to dirPath
  -- Dar's discovery. Check permissions were ok
  get the Result
  if it is not empty then
return empty
  end if
  put the long files into fList
  repeat for each line fLine in fList
if char 1 of fLine <> "." then
-- Change this line to determine what components are returned
  put dirPath & "/" & item 1 of fLine & comma & item -2 to -1  
of fLine & return after tList

end if
  end repeat
  get the folders
  repeat for each line x in it
if char 1 of x <> "." then
  put walkDir(dirPath & "/" & x) after tList
end if
  end repeat
  return tList
end walkDir

regards
David
___
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: Linux installation

2006-05-28 Thread J. Landman Gay

Ken Ray wrote:

  dtFolder=DesktopFolder
  aSupFolder = ApplicationSupportFolder
  prefsFolder = PreferencesFolder


BTW, the RB Help has some clues as to where *it* thinks these folders
are/should be in Linux (substitute "folder path" wherever you see FolderItem
below):

DesktopFolder tries to return the desktop folder for the current user's
Window Manager. If there is a folder named "Desktop", it will return a
FolderItem to that. Otherwise, if there is a folder in the current user's
home directory named ".gnome-desktop", it will return a FolderItem to that.

ApplicationSupportFolder returns a FolderItem for the Home directory for the
logged in user, /home/username/. Typically, when an application wants to
create an application support file, it will create a folder in the Home
directory corresponding to the application's name. For example, for MyApp,
it will use the path: "/home/username/MyApp/".

PreferencesFolder returns a reference to the current user's Home directory,
/Home/username.


I know almost nothing about the 'nixes, but it seems to me that a script 
could calculate most of these using the globals that are automatically 
loaded when Rev starts up. All (or many? Not sure) of the standards are 
there and can be used in any script; i.e., $USR, $HOME, $PATH, etc. 
Maybe these can be used to calculate the necessary paths?


For example: $USER/Desktop/
Or: $HOME/.MyApp/

--
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: Linux installation

2006-05-28 Thread Rishi Viner
On Sun, 28 May 2006 12:16 am, Garrett Hylltun wrote:
> The other issue might be, what the equivalents of sudo and su are on
> other flavors of linux.  I know sudo and su are on debian, but not sure
> about the others.

All Linux flavors should have su! They will also all have sudo if it is 
installed (it is an application on its own). If sudo is not there it would be 
unusual and certainly very easy for the user to install, as long as they have 
the root password etc to set it up. 

-- 
Rishi Viner
--
Australia
___
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: Linux installation

2006-05-28 Thread Rishi Viner
On Mon, 29 May 2006 06:34 am, Bob Warren wrote:
> Richard Gaskin wrote:
>
> Thanks Bob.  While I'm sure RunRev will be interested in catching up
> with RB's well thought-out suite of folder paths, I'm not sure how long
> I can hold my breath waiting for Linux-related stuff in Bugzilla (I'm
> already in my 40s ) -- do you know of shell calls to get those paths?
>
> I don't need system or some of the others, just DesktopFolder,
> PreferencesFolder, and maybe ApplicationsSupportFolder.
>
> ---
> Richard:
>
> I don't know of any shell calls that can be made through Linux, but they
> must exist I imagine. Perhaps one of the Linux wizards out there can help.

"~" will find the users home folder. For example making a directory like this:
"mkdir ~/MyApp" will make the folder "/home//MyApp". 

So to place something on the users desktop, you would put it in "~/Desktop/" 
(note case sensitive!). This is the same on every Linux distro that I use 
(RedHat, SuSE, Gentoo). 

User specific preferences for an application would usually go in "~/.MyApp", 
which may be a file or a folder... Global preferences would go in the 
application folder, but I'm not sure if you will always have permissions to 
write to this? Not sure here. 

HTH

-- 
Rishi Viner
--
Australia
___
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: Linux installation

2006-05-28 Thread Ken Ray
>   dtFolder=DesktopFolder
>   aSupFolder = ApplicationSupportFolder
>   prefsFolder = PreferencesFolder

BTW, the RB Help has some clues as to where *it* thinks these folders
are/should be in Linux (substitute "folder path" wherever you see FolderItem
below):

DesktopFolder tries to return the desktop folder for the current user's
Window Manager. If there is a folder named "Desktop", it will return a
FolderItem to that. Otherwise, if there is a folder in the current user's
home directory named ".gnome-desktop", it will return a FolderItem to that.

ApplicationSupportFolder returns a FolderItem for the Home directory for the
logged in user, /home/username/. Typically, when an application wants to
create an application support file, it will create a folder in the Home
directory corresponding to the application's name. For example, for MyApp,
it will use the path: "/home/username/MyApp/".

PreferencesFolder returns a reference to the current user's Home directory,
/Home/username.

HTH,


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Linux installation

2006-05-28 Thread Ken Ray
On 5/28/06 3:34 PM, "Bob Warren" <[EMAIL PROTECTED]> wrote:


> After getting the above working, I need to get it to save the system
> paths mentioned in the last e-mail instead of the lines "nameline",
> "addressline" and "phoneline". I also need to find out how to execute
> this on prog startup (followed by an immediate quit) rather than putting
> it into e.g. a button's mouseUp handler.

Here's the RB code to write the data to the text file:

  Dim dtFolder,aSupFolder,prefsFolder,outputFile as FolderItem
  Dim fileStream as TextOutputStream
  
  dtFolder=DesktopFolder
  aSupFolder = ApplicationSupportFolder
  prefsFolder = PreferencesFolder
  outputFile = GetSaveFolderItem(FileTypes1.Text,"text_saved_by_rb.txt")
  fileStream = outputFile.CreateTextFile
  fileStream.WriteLine dtFolder.AbsolutePath
  fileStream.WriteLine aSupFolder.AbsolutePath
  fileStream.WriteLine prefsFolder.AbsolutePath
  fileStream.Close
 
If you make this into an executable, you can run it with the launch command
(I believe) and then I'd insert a pause for 1/2 second or so, and then
verify the file is there and then read from it.

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Directory Walker Conundrum

2006-05-28 Thread David Vaughan

On 29/05/2006, at 9:52, Alex Tweedly wrote:


change
  delete line 1 of tDirList
to something like
  filter tDirList without ".."


This one works anyway, and also does not suffer from a couple of  
other bugs which exist in Ken's older version, to do with permissions  
and infinite recursion in OS X and possibly other 'nixes.


-- This recursive function expects a folder path.
-- It returns a file list for that folder and for each
--  sub-folder it contains (pre-order search)
-- Invisible files are excluded.
function walkDir dirPath
  if dirPath contains "//Network" then
return empty
  end if
  put empty into tList
  set defaultFolder to dirPath
  -- Dar's discovery. Check permissions were ok
  get the Result
  if it is not empty then
return empty
  end if
  put the long files into fList
  repeat for each line fLine in fList
if char 1 of fLine <> "." then
-- Change this line to determine what components are returned
  put dirPath & "/" & item 1 of fLine & comma & item -2 to -1 of  
fLine & return after tList

end if
  end repeat
  get the folders
  repeat for each line x in it
if char 1 of x <> "." then
  put walkDir(dirPath & "/" & x) after tList
end if
  end repeat
  return tList
end walkDir

regards
David
___
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: Directory Walker Conundrum

2006-05-28 Thread Alex Tweedly

Sivakatirswami wrote:

I'm using an old Ken Ray stand by for directory walks.  I discovered  
a "bug" here where, if the folder name begins with a space, it is  
skipped. I cannot for the life of me figure out why...


on directoryWalk whatFolder
  set the itemDel to "/"
  set the directory to whatFolder
  put the files into  tFiles
  put the files into temp
  add the number of lines of temp to tCount
  sort temp
  repeat for each line x in temp
put whatFolder & "/" & x & cr after gHierList
  end repeat
  put the folders into tDirList
  sort tDirList


now the folder with a leading space in its name comes before the ".."


  delete line 1 of tDirList


And is now deleted :-(


  repeat for each line x in tDirList
if x = ".."  then next repeat
directoryWalk (whatFolder & "/" & x)
  end repeat
end directoryWalk


change
  delete line 1 of tDirList
to something like
  filter tDirList without ".."


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006

___
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


Directory Walker Conundrum

2006-05-28 Thread Sivakatirswami
I'm using an old Ken Ray stand by for directory walks.  I discovered  
a "bug" here where, if the folder name begins with a space, it is  
skipped. I cannot for the life of me figure out why...


on directoryWalk whatFolder
  set the itemDel to "/"
  set the directory to whatFolder
  put the files into  tFiles
  put the files into temp
  add the number of lines of temp to tCount
  sort temp
  repeat for each line x in temp
put whatFolder & "/" & x & cr after gHierList
  end repeat
  put the folders into tDirList
  sort tDirList
  delete line 1 of tDirList
  repeat for each line x in tDirList
if x = ".."  then next repeat
directoryWalk (whatFolder & "/" & x)
  end repeat
end directoryWalk


Folders  like " Proofed and Ready for Output"

will be skipped, files in those folders are not returned to  
gHierList  If I just remove the space in the folder name, then it is  
included in the dig.


Since the habit of putting spaces in front of folder names to force  
them to top seems to be a nearly "incurable" syndrome,  (much to our  
netSysAdmin's consternation...who says he can live with "*" at the  
beginning of files but not spaces...) I need to figure out how to  
include them in the dig.


Any ideas? I suppose I can turn on Variable watcher and do a lot of  
testing to see exactly where the folder name is getting dropped, but  
maybe someone has already faced-solved this one.


Sivakatirswami

___
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: Linux and AudioClips

2006-05-28 Thread Thomas McCarthy

Richmond,

Interesting and useful. Thanks. I'm interested that you use AIFF files. I 
thought these were more Mac specific. Have you tried AU files?


>I run a small EFL school in Bulgaria with Pentium 3s running Ubuntu and using 
>RR programs made by myself. These programs use externally referenced AIFF 
>files which were slowed down (!!!) to half-speed on MAC so that they play 
>'normally' with RR in Ubuntu.

This was the final situation I arrived at after a hell of a lot of false starts 
with sound, RR and Linux: not least the quite considerable abuse I recieved on 
the Ubuntu use-lists when I suggested that AIFF files had to be slowed down to 
half speed.

Embedded AIFF files also have to be slowed down.


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
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


audio file volume levels

2006-05-28 Thread Kurt Kaufman

Richmond,
Been away for a few days; came back and saw (all) your messages.   
Thanks for your leg work!


-Kurt
___
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


Saving information in Revolution

2006-05-28 Thread Stgoldberg

Saving information in Revolution is   simple.   While data cannot be saved to 
a standalone mainstack, it can be saved to a standalone's substack as 
follows:
1. In the standalone setting, under "Stacks" check off "Move substacks into 
individual stackfiles"
2.   Put "Save this stack" into the scripting on quitting.   The data in the 
substack will then be saved.
Steve Goldberg


___
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: Linux installation

2006-05-28 Thread Bob Warren

Richard Gaskin wrote:
>
Thanks Bob.  While I'm sure RunRev will be interested in catching up
with RB's well thought-out suite of folder paths, I'm not sure how long
I can hold my breath waiting for Linux-related stuff in Bugzilla (I'm
already in my 40s ) -- do you know of shell calls to get those paths?

I don't need system or some of the others, just DesktopFolder,
PreferencesFolder, and maybe ApplicationsSupportFolder.

---
Richard:

I don't know of any shell calls that can be made through Linux, but they 
must exist I imagine. Perhaps one of the Linux wizards out there can help.


As a 2nd class solution, I had the idea of getting these paths in an RB 
 module which would push them out to a text file so that they could be 
read in RR. The RR prog would then only have to shell the RB module and 
wait for it to terminate. In principle it was easy, but I don't have any 
practice in RB at all and I didn't manage to get the module to save the 
text file!


So here's an appeal. If anyone reading this is familiar with RB, perhaps 
they can tell me where I am going wrong. Here's the test routine for 
saving a text file:


  Dim nameline as String
  Dim addressline as String
  Dim phoneline as String
  nameline = "bob"
  addressline = "leonor de barros"
  phoneline = "32332951"

  Dim file as FolderItem
  Dim fileStream as TextOutputStream
  file=GetSaveFolderItem(FileTypes1.Text, "text_saved_by_rb.txt")
  fileStream=file.CreateTextFile
  fileStream.WriteLine nameline
  fileStream.WriteLine addressline
  fileStream.WriteLine phoneline
  fileStream.Close

As per Help (as far as I can gather***), I have defined the FileTypes1 
module in the IDE as:


Textapplication/textTEXTtext.txt

[***Though what is mentioned in the Help is "TextTypes" and not 
"FileTypes1" as appears for use in the IDE. If this is not an 
inconsistency in the Help, then it is probably where I am going wrong, 
and I need to learn how to define "TextTypes" more correctly.]


After getting the above working, I need to get it to save the system 
paths mentioned in the last e-mail instead of the lines "nameline", 
"addressline" and "phoneline". I also need to find out how to execute 
this on prog startup (followed by an immediate quit) rather than putting 
it into e.g. a button's mouseUp handler.


List moderators please note! I am simply trying to find a quick 
workaround for what is currently lacking in the Rev for Linux system 
info provided. I am NOT trying to discuss or promote RB! In fact, noting 
the difficulty I had trying to save a simple text file in RB, I am not 
all that impressed! Perhaps this kind of comparison between RB and RR is 
not such a bad thing.



The routine from the previous e-mail:

  Dim f As FolderItem
  f=DesktopFolder
  If f<>Nil then
MsgBox f.AbsolutePath
  else
MsgBox "The folderItem does not exist"
  end if

Other available functions are ApplicationsSupportFolder, FontsFolder, 
PreferencesFolder, StartupItemsFolder, SystemFolder, TemporaryFolder, 
TrashFolder, SpecialFolder.



Bob


___
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: ErrorLib 1.0b02 released

2006-05-28 Thread Mark Schonewille

Hi sqb,

I would expect it to be possible to get around Constellation's error  
handling routines, just like it is possible to get around that of the  
Rev IDE.


Best,

Mark

P.S. The Hundreds who bought Constellation are free to contact me in  
case they encounter difficulties using it in combination with  
ErrorLib. Your comments are highly appreciated.


--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 28-mei-2006, om 20:51 heeft Stephen Barncard het volgende geschreven:

Because I'm sure Jerry re-worked the Error reporting in  
Constellation from the REV IDE - he's tapped into it somehow  
because the write-run-error-debug-edit cycle is faster and Const  
has its own error dialog.  However, the error messages are often  
inconclusive, as is in the REV IDE.


I'll check ErrorLib out.

thanks
sqb

ps there are hundreds of us now using Constellation. Jerry's world  
was a little weird at first but now we can't work without it -  
especially the editor. You might look into how you could make your  
plugin to work with his alt- plug system which is upwardly  
compatible with his forthcoming (free) Galaxy system.



___
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: abort a handler

2006-05-28 Thread Ian Wood


On 28 May 2006, at 18:10, J. Landman Gay wrote:


It is essential, I have found, to build in an escape clause like this:

on mouseup
 repeat
  if the shiftkey is down then exit repeat
  put the ticks
 end repeat
end mouseup

--  
Jacqueline Landman Gay


Or add in a line with something like:

wait 1 millisecond with messages

Then there should be an opportunity for the handler to be aborted.

Ian

Edit - just tried it and it doesn't work, but at least Rev isn't  
totally frozen, allowing you to suppress messages, or to pick up on  
keypresses.

___
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: set the dontwrap

2006-05-28 Thread Dar Scott


On May 28, 2006, at 1:55 PM, BRAMI wrote:


set the dontwrap of field "example"  to true  works fine
set the dontwrap of field "example" to false doesnt work


I have not seen a problem.

Wrapping requires white space such as as a space character to break  
up lines.  Try putting some spaces in your test lines.


There is a bug related to fields with any lines longer than about  
32000 pixels before wrapping.  So if you have very long lines, that  
could be the problem.


Dar Scott

___
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: set the dontwrap

2006-05-28 Thread Klaus Major

Bon soir Brami,


a bug  :

set the dontwrap of field "example"  to true  works fine
set the dontwrap of field "example" to false doesnt work

do you have noticed the same problem


works fine here!

What exactly does not work for you?


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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


set the dontwrap

2006-05-28 Thread BRAMI

a bug  :

set the dontwrap of field "example"  to true  works fine
set the dontwrap of field "example" to false doesnt work


do you have noticed the same problem
___
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: abort a handler

2006-05-28 Thread BRAMI


Le 28 mai 06 à 19:35, Stephen Barncard a écrit :


And my question is -- is the cantAbort state DEFAULT?

Are you sure that the cantAbort of the stack containing your  
handler is set to false?


Best,

Mark



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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




thanks for your help
I ll try to put a secure code in repeat loop
best

___
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: ErrorLib 1.0b02 released

2006-05-28 Thread Stephen Barncard
Because I'm sure Jerry re-worked the Error reporting in Constellation 
from the REV IDE - he's tapped into it somehow because the 
write-run-error-debug-edit cycle is faster and Const has its own 
error dialog.  However, the error messages are often inconclusive, as 
is in the REV IDE.


I'll check ErrorLib out.

thanks
sqb

ps there are hundreds of us now using Constellation. Jerry's world 
was a little weird at first but now we can't work without it - 
especially the editor. You might look into how you could make your 
plugin to work with his alt- plug system which is upwardly compatible 
with his forthcoming (free) Galaxy system.




Hi Stephen,

I haven't tried Constellation in combination with ErrorLib, because 
there is no trial version of Constellation available. If you have 
Constellation, you can put ErrorLib to the test. ErrorLib will work 
in demo mode for one hour after opening it. Each time when you start 
the Revolution IDE, you can try ErrorLib for one hour. I can't 
really think of a reason why it wouldn't work with Constellation. If 
it doesn't, please let me know.


Best,

Mark


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: ErrorLib 1.0b02 released

2006-05-28 Thread Mark Schonewille

Hi Stephen,

I haven't tried Constellation in combination with ErrorLib, because  
there is no trial version of Constellation available. If you have  
Constellation, you can put ErrorLib to the test. ErrorLib will work  
in demo mode for one hour after opening it. Each time when you start  
the Revolution IDE, you can try ErrorLib for one hour. I can't really  
think of a reason why it wouldn't work with Constellation. If it  
doesn't, please let me know.


Best,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 28-mei-2006, om 19:21 heeft Stephen Barncard het volgende geschreven:


Does it work happy with Constellation?

sqb


Hello,

Economy-x-Talk has just released a maintenance update of ErrorLib.  
This update has been saved in the old file format and is  
compatible with Revolution 2.6.1 and earlier. The new library is  
available at .


___
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: abort a handler

2006-05-28 Thread Stephen Barncard

And my question is -- is the cantAbort state DEFAULT?

Are you sure that the cantAbort of the stack containing your handler 
is set to false?


Best,

Mark



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: abort a handler

2006-05-28 Thread Stephen Barncard

Yes, I've noticed that - command period NEVER WORKS in Rev. EVER.

One has to put in code:

if the mouse is "down" then exit to top

or put in a iteration limit like this


on yerHandler
 repeat forever
  add 1 to m
  if m > 500 then exit to top
  -- yer code here...

 end repeat
end yerHandler



 How to abort a handler  on Mac OS X

Command  .   doesnt work
Command : doenst work
Command space   doesnt work

so ?

what is the period key wich is mentionned in the userguide on a mac 
azerty keyboard ?




--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: ErrorLib 1.0b02 released

2006-05-28 Thread Stephen Barncard

Does it work happy with Constellation?

sqb


Hello,

Economy-x-Talk has just released a maintenance update of ErrorLib. 
This update has been saved in the old file format and is compatible 
with Revolution 2.6.1 and earlier. The new library is available at 
.


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: abort a handler

2006-05-28 Thread J. Landman Gay

BRAMI wrote:

 How to abort a handler  on Mac OS X

Command  .   doesnt work
Command : doenst work
Command space   doesnt work

so ?

what is the period key wich is mentionned in the userguide on a mac 
azerty keyboard ?


It doesn't always work, especially if you are inside a repeat loop. A 
client was asking me about this recently, and just last night I found 
myself in the same situation. Force-quit was the only way out, and if 
you have not saved your work then you will lose it.


For those curious, try this in a button:

on mouseup
 repeat
   put the ticks
 end repeat
end mouseup

Now try to get out of it. Remember to save your work first.

It is essential, I have found, to build in an escape clause like this:

on mouseup
 repeat
  if the shiftkey is down then exit repeat
  put the ticks
 end repeat
end mouseup

--
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: abort a handler

2006-05-28 Thread Mark Schonewille

So, set the cantAbort of your stack to false!

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 28-mei-2006, om 18:38 heeft BRAMI het volgende geschreven:



Ok but with this you quit rev and you lose everything

 i precise Can't abort of my stacks is set to true



___
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: abort a handler

2006-05-28 Thread BRAMI


Le 28 mai 06 à 14:35, Richmond Mathewson a écrit :

Every computer operating system that is available today is  
'imperfect' (and as the word 'imperfect' is essentially  
semantically empty one shouldn't get too upset).


COMMAND - OPTION - ESC will force Quit a frozen process

(on some keyboards the OPTION keys are called ALT).

sincerely, Richmond Mathewson



Ok but with this you quit rev and you lose everything

 i precise Can't abort of my stacks is set to true

so just how do you do ?___
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


Linux and AudioClips

2006-05-28 Thread Richmond Mathewson
I run a small EFL school in Bulgaria with Pentium 3s running Ubuntu and using 
RR programs made by myself. These programs use externally referenced AIFF files 
which were slowed down (!!!) to half-speed on MAC so that they play 'normally' 
with RR in Ubuntu.

This was the final situation I arrived at after a hell of a lot of false starts 
with sound, RR and Linux: not least the quite considerable abuse I recieved on 
the Ubuntu use-lists when I suggested that AIFF files had to be slowed down to 
half speed.

Embedded AIFF files also have to be slowed down.

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


-
 To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre.
___
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


updating a standalone app via internet

2006-05-28 Thread Thomas McCarthy

I download and use revert to update my stacks-- and it's made my life sooo much 
better. Sometimes I update just because I can!

Now, because I've updated my player app [the standalone I use to run my stacks] 
to 2.7, I'm sure I'll need to be able to get users to update that as well.

Is it possible to download an update to the running standalone? I'd have to 
delete/replace the file...should be ok, right? standalones can't save 
themselvesthoughts?

Tom McCarthy
-
Ego sum rex Romanus et supra grammaticam.
  Sigismund I (obit 1437)


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
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


Linux and AudioClips

2006-05-28 Thread Thomas McCarthy

Am I right in assuming that Rev on Linux systems can play audioclips if they're 
in au format?

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
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


Mouse down click captured with record sounds

2006-05-28 Thread Bill Ziegler
I realize this may be a problem only with Powerbooks but I always get  
the click of my trackPad recorded at the very end. I am stopping the  
record with a mouseDown script on a 17" original PowerBook G4. Is  
there a way I can use a  script  to edit out the last .5 or . 4  
seconds of an audio clip or always have the user use a USB Mic when  
recording on laptops?


Thanks

Bill Ziegler

Assistive Technology Specialist
Bucks County IU #22
Doylestown, PA




___
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


abort a handler

2006-05-28 Thread Richmond Mathewson
Every computer operating system that is available today is 'imperfect' (and as 
the word 'imperfect' is essentially semantically empty one shouldn't get too 
upset).

COMMAND - OPTION - ESC will force Quit a frozen process

(on some keyboards the OPTION keys are called ALT).

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


-
 All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine
___
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: abort a handler

2006-05-28 Thread Mark Schonewille
Are you sure that the cantAbort of the stack containing your handler  
is set to false?


Best,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 28-mei-2006, om 14:23 heeft BRAMI het volgende geschreven:


 How to abort a handler  on Mac OS X

Command  .   doesnt work
Command : doenst work
Command space   doesnt work

so ?

what is the period key wich is mentionned in the userguide on a mac  
azerty keyboard ?



___
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


abort a handler

2006-05-28 Thread BRAMI

 How to abort a handler  on Mac OS X

Command  .   doesnt work
Command : doenst work
Command space   doesnt work

so ?

what is the period key wich is mentionned in the userguide on a mac  
azerty keyboard ?



___
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


audio file volume levels

2006-05-28 Thread Richmond Mathewson
http://mmturner.home.mindspring.com/software.html SndFileEdX_1.0.2

http://www.airwindows.com/dithering/index.html  Mastering Tools (early version 
under GPL)

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


-
 Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail.
___
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: First record status inconsistent using SQLite

2006-05-28 Thread David Vaughan


On 28/05/2006, at 1:24, Devin Asay wrote:


OTOH, documentation errors are easy to fix. I recently stumbled  
across a minor doco error in one of the revDB functions and  
submitted it to BZ. Lo and behold it showed up as fixed in the next  
2.7.x release. You should submit it for sure. I would even vote for  
it because I've run into this before and was puzzled until I  
figured out what was going on.


#3647

regards
David
___
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: dragData["files"] problem

2006-05-28 Thread Sivakatirswami

h. not so fast! (smile) I'm  working with sound  files daily ...

For  the "Keep It Simple Fan Club"... try this,
known to  work . for .mp3, .wav, .aiff, .m4a sound files on the Mac

Make new  stack:

create player... set height to 17 pixels, loc locations... name  it  
"Listen"


Now:

create new field... call it "dropAudio" (or whatever)

put this script into that field.

on dragEnter
  set the acceptDrop to true
end dragEnter

on dragDrop
  put  dragData["files"] into tPath
  set the clipboarddata["text"] to tPath ## I often want that path  
for other reasons...

 stop player "Listen"
replace " " with "%20" in tPath
set the filename of player "Listen" to ("file://"&tPath)
start player "Listen"
end dragDrop

Viola! (Big Violin!) Mp3 Player...  11 lines of code...

Disclaimers: no error trapping, assumes a single  valid QT playable  
file drop,  and doesn't handle  special characters... works here with  
file names as long as:


09_law of another chance 5-21-61 discipline begets freedom  
6/18/61.aiff.mp3



I have about 6 different "flavors" of Rev  mp3 players... used in  
various contexts for different  tasks.


Sivakatirswami

Further disclaimer --! Aiyo! (lamentations of dispair in Tamil) Long  
file names not recommended  on the Mac if you can avoid them, as  
there are other issues with dealing with long file  names that are  
*not* solvable like the QT player assignment is... and Rev *really,  
really* needs to fix this. Worst case scenario I'm experiencing now  
is using "Save As" in a template stack and then users, type in a 42  
char filenameand the result is an un readable, un processable   
file  name with some  hash string. in the file name.







On May 26, 2006, at 9:12 AM, Garrett Hylltun wrote:


Much appreciate all the information and efforts on this from everyone.

It does explain the problems I've been having making an MP3 Player  
for myself.


I believe that this isn't just a dragData issue either, as I've had  
problems with trying to load files into the "player" with long file  
names on OS X.


Well nix the MP3 player for me.  :-(


Thanks,
-Garrett


___
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


ErrorLib 1.0b02 released

2006-05-28 Thread Mark Schonewille

Hello,

Economy-x-Talk has just released a maintenance update of ErrorLib.  
This update has been saved in the old file format and is compatible  
with Revolution 2.6.1 and earlier. The new library is available at  
.


ErrorLib gives you control of execution errors. With ErrorLib, you  
decide whether errors are reported and how they are reported.  
Password protected stacks no longer hamper bug reports from your  
clients and you will get all error information Revolution can  
possibly provide.


With errorLib, you have a simple light-weight set of commands and  
functions that you can include with your standalones and use in the  
IDE. You can easily parse error information and choose whether to  
have the error displayed by the Revolution IDE, by the built-in  
routines of errorLib, or in your own custom error dialog.


Best regards,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.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


audio file voume levels

2006-05-28 Thread Richmond Mathewson
This is a well-trodden path - and, although I personally seem to spend most of 
my time reinventing the wheel - the following URL covers this whole discussion 
extremely effectively:

http://ask.metafilter.com/mefi/21289

'Normalize' looks as though it might be "just the ticket" - am now stumping off 
to try a Mac build from the source code.

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


-
 All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine
___
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