Re: copy large files in Rev on Mac

2007-12-06 Thread Klaus Major

Hi Chipp,

so, how exactly do you copy a folder full of files when some of  
them are
folders? Let's say I want to copy only the files in folder temp,  
and NOT

the other folders

In windows I do:

set the defaultfolder to temp
get the files
repeat for each line L in it
  put URL (binfile:  L) into URL (binfile:  myNewPath)
end repeat

How much more difficult is it on Mac?..assuming you also have to copy
creator codes  too.


on the mac I use - shell(ditto...) to let the OS handle the files  
AND bundles

including resources and all Mac specifi stuff.

Right now this is extremely mentally challenging, see bug # 5549 :-)
...
answer file yadda
## you can select a bundle file here!
## Obviously this dialog is provided by the Mac OS
put there is a file it
## - FALSE!
## Big fun...

AND bundle files do not appear when you get the files since they  
are in fact folders.

Please hand me the Prozac :-)


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


Re: copy large files in Rev on Mac

2007-12-06 Thread Chipp Walters
On Dec 6, 2007 2:24 AM, Klaus Major [EMAIL PROTECTED] wrote:



 Right now this is extremely mentally challenging, see bug # 5549 :-)
 ...
 answer file yadda
 ## you can select a bundle file here!
 ## Obviously this dialog is provided by the Mac OS
 put there is a file it
 ## - FALSE!
 ## Big fun...

 AND bundle files do not appear when you get the files since they
 are in fact folders.
 Please hand me the Prozac :-)


Hmmm. Then there's no native api that Rev can hook into? Seems like the same
guys who programmed QuickTime SMIL support got involved in creating the
filesytem too ;-)
___
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: copy large files in Rev on Mac

2007-12-06 Thread Klaus Major

Hi Chipp,


On Dec 6, 2007 2:24 AM, Klaus Major [EMAIL PROTECTED] wrote:


Right now this is extremely mentally challenging, see bug # 5549 :-)
...
answer file yadda
## you can select a bundle file here!
## Obviously this dialog is provided by the Mac OS
put there is a file it
## - FALSE!
## Big fun...

AND bundle files do not appear when you get the files since they
are in fact folders.
Please hand me the Prozac :-)



Hmmm. Then there's no native api that Rev can hook into?


I'm afraid not :-/

And Mark Waddingham insists on the fact that these files are folders,
which one can't deny unfortunately. See his comment on bug 5549.

So we will have to parse the folders, too, if we want to provide  
these non-files

in a list or whatever to the user of our software.


Seems like the same guys who programmed QuickTime SMIL support got
involved in creating the filesytem too ;-)


Yep, looks like :-)


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


Re: OS X cgi error

2007-12-06 Thread Richard Miller
I've tried all the suggestions so far, but no luck. Does the problem  
have to do with not having a license.rev stack in the cgi folder?  
None was provided with the Darwin download, so I assumed one wasn't  
needed. If one is needed, where do I get it?


Thanks.
Richard



On Dec 6, 2007, at 2:27 AM, Jim Ault wrote:





On 12/5/07 7:53 PM, J. Landman Gay [EMAIL PROTECTED] wrote:


Richard Miller wrote:
I'm sure there's an answer somewhere in the archives, but I can't  
find it.


Trying to run Rev cgi on an Intel Mac, 10.4.10. Using the sample
hello.cgi script. Downloaded the Darwin engine, as per the
instructions at the Rev web site. All permissions are set to 755.

Error log says:

revolution: Can't load stack or script  license.rev
Premature end of script headers:
/Library/WebServer/CGI-Executables/hello.cgi

What's the solution?


Permissions?


You need to check the owner/group (Get Info) to see if the 'user'  
is your
login and the apache 'www' is only the group (or not even that,  
which means

'everyone')

Step 1 is to see what group
Step 2 is either change the group to 'www' and the permissions to 775
or permissions 777
or owner to 'www'
or add the apache 'www' to the existing group...

Bottom line is that apache as 'www' needs to have execute  
permission of '7'


If you are using Path Finder (alternative Finder app) this is very  
easy

without requiring Terminal or command line.

Hope this helps

Jim Ault
Las Vegas


___
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: OS X cgi error

2007-12-06 Thread Richard Miller
I'm doing more reading through the archives and getting even more  
confused. Will the Darwin engine run on an Intel Mac? Is ANYTHING  
else needed in the CGI folder besides the Darwin engine and the  
hello.cgi script? I see references to other Apache libraries that MAY  
be needed, but that's not clear to me. I already asked the question  
about the license.rev stack (is it needed?). Should the hello.cgi  
script use CR or CRLF?


I've tried every possible permission setting and it still does not work.

Thanks.
Richard Miller
___
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: OS X cgi error

2007-12-06 Thread Richard Miller
For the heck of it... since there's no documentation I can find on  
the subject, but the error logs are referencing license.rev... I  
stuck a license.rev stack (from Rev 2.5) into the cgi folder. This  
produces an entirely new message in the error log (no longer  
referencing license.rev):


revolution: can't open display
revolution exiting on signal 10
[and then the usual error] premature end of script headers

Richard
___
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: OS X cgi error

2007-12-06 Thread paolo mazza
Hi Richard,
I am glad to know some more people are using Rev as CGI in OSX.  It is a
great tool combined to MAcOSX server!

How to use Revolution use-revolution@lists.runrev.com writes:
I'm doing more reading through the archives and getting even more  
confused. Will the Darwin engine run on an Intel Mac?

This is interesting. I am curious too.  It should work but I am not sure
about it.

 Is ANYTHING  
 
else needed in the CGI folder besides the Darwin engine and the  
hello.cgi script? 
I see references to other Apache libraries that MAY  
be needed, but that's not clear to me. I already asked the question  
about the license.rev stack (is it needed?). Should the hello.cgi  
script use CR or CRLF?


You can use both provided you save the file as text.

On the contrary you have to pay attention to the stack format. The old
Darwin engine do not read the stacks saved in the latest format so,
anytime you have to make a change on these stacks you have to use an old
version of revolution.
This is a mess.I hope we will find a brand new Darwin engine under the
Christmas tree.

I've tried every possible permission setting and it still does not work.

As far as I know you just need to put the Darwin engine int the cgi-bin
folder and set permission accordingly.


Here it is some documentation about Revolution as CGI . I hope it helps.

The last Darwin engine available is 2.1.2. This version still works 
fine. You can get it here:

http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip

A great  tutorial:
http://www.hyperactivesw.com/cgitutorial/

... and a message  from Andre Garzia and references to his valuable
RevHTTP :


Hi Folks,

I did this announcement on the use-rev mailing list but I guess some
people just use the forum so I am posting it here too. I'll also expand my
text a little since we have no 18k limit here and I feel like writting.

It is with imense happyness that I make available what I came to call
RevOnRockets package. This package is a bundle of a web server, libraries
and demos, everyting in 100% transcript.

The objective is to help the aspiring web developer (and the seasoned one)
to create their web applications, the RevHTTP server runs inside the
Revolution IDE and is able to run text file based cgis as well as serve
files, this alone enables everyone to develop for the web from inside rev,
using the debugger!!! Develop and Test your CGIs from inside revolution!

This is of course freeware with source. All code is commented, specially
the webserver code. I give this to this wonderful community as a token of
gratitude for all the years that everyone and his dog helped me!

What is included:

* RevHTTP - 100% transcript web server with new features and cleaner
code.
* EasyCGI Core library - a simple library for building text file cgis.
* EasySessions - a simple library for session management.
* EasyDebug - a error report tool for CGIs.
* libCGI compatibilty functions - RevHTTP has a compatible API that
allows libCGI based apps to run inside it.
* Demos for all libraries and even AJAX demos!!!

More documentation is expected as time goes. The demos and the libraries
will also have updates. Right now they are very bare but I do like them
and use them everyday.

Have I mentioned that I commented my code yet?

ALL FREE license is:
cannot-blame-the-brazilian-guy-if-it-explodes-public-license 1.0

Have fun! file is here http://andregarzia.com/RevHTTP.zip

Launch http.rev and click start!

This is the foundations of what I discussed on this post This post. From
here now, I'll build plugins and higher level libraries. Anyone in the
mood to discuss anything?




Cheers,

Paolo Mazza

___
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: OS X cgi error

2007-12-06 Thread paolo mazza
How to use Revolution use-revolution@lists.runrev.com writes:
For the heck of it... since there's no documentation I can find on  
the subject, but the error logs are referencing license.rev... I  
stuck a license.rev stack

Hi Richard,
I am not sure you are in the right track. You do not need to place any
license.rev stack in the cgi-bin folder.
Just place the the Darwin engine and refer to it as:


#!revolution -ui
on startup
put htmlbodyHello/body/html
end startup

I hope it helps.

Ciao

Paolo Mazza

___
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: OS X cgi error

2007-12-06 Thread Richard Miller

Paolo,

I've done exactly as you say.
Nothing in the cgi-bin except for the Darwin engine and the hello.cgi  
script.

The hello.cgi script is definitely saved as a text file.
All permissions in the cgi-bin are set to 755.
The owner of the cgi-executables folder is my login id.
The group is www

I still get the same error when I try to access the cgi script  
through my browser:

can't load stack or script   license.rev
premature end of script headers

Any other ideas? I don't know what to try next.

Thanks.
Richard



On Dec 6, 2007, at 7:24 AM, paolo mazza wrote:


How to use Revolution use-revolution@lists.runrev.com writes:

For the heck of it... since there's no documentation I can find on
the subject, but the error logs are referencing license.rev... I
stuck a license.rev stack


Hi Richard,
I am not sure you are in the right track. You do not need to place any
license.rev stack in the cgi-bin folder.
Just place the the Darwin engine and refer to it as:


#!revolution -ui
on startup
put htmlbodyHello/body/html
end startup

I hope it helps.

Ciao

Paolo Mazza

___
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: OS X cgi error

2007-12-06 Thread paolo mazza
Hello Richard,

I still get the same error when I try to access the cgi script  
through my browser:
can't load stack or script   license.rev
premature end of script headers

I have  never seen this message before. Actually, I do not understand it.

Are you using  Darwin engine 2.1.2 ?  As far as I know this is the last
Darwin engine available.
You can download it from:
http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip

I guess there is a problem with you engine.  Some months ago Mark wrote in
this list:

 I mean can we use the engine of the standalone as CGI?

The -ui option works on all platforms and prevents the engine from doing 
anything GUI related. Specifically this means that the engine will not 
attempt to connect to a window server and will not create windows for 
stacks. This makes it possible to use the standalone engine as a 
command-script processor from a terminal/shell-script.

However, your mileage will vary when attempting to use standard 
standalone engines as CGIs depending on your system setup. In 
particular, the OS X engine requires a 'desktop context' to function - 
this is not generally available when it is run as a CGI engine from a 
web-server installed on OS X.

The reason the Linux standalone engine (will) work as a perfectly good 
CGI engine in -ui mode is that it's only direct 'desktop' related 
dependency is the Xlib, which is usually installed regardless of whether 
a machine is a server or desktop box.

Warmest Regards,

Mark.




How to use Revolution use-revolution@lists.runrev.com writes:
Paolo,

I've done exactly as you say.
Nothing in the cgi-bin except for the Darwin engine and the hello.cgi  
script.
The hello.cgi script is definitely saved as a text file.
All permissions in the cgi-bin are set to 755.
The owner of the cgi-executables folder is my login id.
The group is www


Any other ideas? I don't know what to try next.

Thanks.
Richard


**

Paolo Mazza
NEOL SRL
Società partecipata da Università di Padova
via N. Tommaseo 84
35131 - Padova (Italy)
Tel 049- 2050147 - Fax 049-7964386
www.neol.it

___
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: LibURLftpCommand error when port is specified

2007-12-06 Thread Roger . E . Eller
 On 4 Dec 2007, at 22:20, [EMAIL PROTECTED] wrote:

 In the 2.8.1 documentation for LibURLftpCommand, it says I can use a
 non-standard port. The script will not compile with ANY number
 specified as the port, even 21. Any ideas? Is this a bug?



 When I try the following here, it works OK:

 put libUrlFtpCommand(PWD, 192.168.1.104:21, myname, mypassword)

 I notice that the examples in the docs don't quote the host
 parameter. Would that explain what you are seeing? If so, it looks
 like a documentation bug.

 Dave

Dave - you are correct... this is a documentation defect. Now, I need to be
further enlightened on the proper use of the command. I have setup a
callback field. When I issue a LIST command, all that I get back is the
response 150 Opening ASCII mode data connection for /bin/ls.
, but not the
actual list. Is this going into another variable somewhere?

Roger Eller [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: copy large files in Rev on Mac

2007-12-06 Thread Trevor DeVore

On Dec 6, 2007, at 3:46 AM, Chipp Walters wrote:

Hmmm. Then there's no native api that Rev can hook into? Seems like  
the same
guys who programmed QuickTime SMIL support got involved in creating  
the

filesytem too ;-)


I wouldn't blame the OS X programmers because Revolution doesn't have  
support for bundles . Just because this isn't straightforward in  
Revolution doesn't mean it the file system is at fault. The original  
Revolution syntax just wasn't built with bundles in mind  
(understandably).


Bundles are very well documented and you can find out all sorts of  
information here:


http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/index.html#//apple_ref/doc/uid/1123i 



This particular section describes how the finder uses bundles and  
makes reference to the bundle bit that a folder can have set on it.  
Rev just doesn't give us direct access to this information.


http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/Concepts/BundlesAndFinder.html#//apple_ref/doc/uid/20002127-BAJIBGGC 



When it comes to copying files/folders Revolution really should have  
native copy routines that use the file system (with callbacks) rather  
than making us resort to the shell.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: OS X cgi error

2007-12-06 Thread Richard Miller

Paolo,

I am positive I am using the correct engine. I downloaded it again to  
be sure.


What other possibilities exist as the source of this problem?

Again:
- Nothing in the cgi-bin except for the Darwin engine and the  
hello.cgi  script.

- The hello.cgi script is saved as a text file.
- All permissions in the cgi-bin are set to 755.
- The owner of the cgi-executables folder is my login id.
- The group is www

Thanks.
Richard



On Dec 6, 2007, at 8:53 AM, paolo mazza wrote:


Hello Richard,


I still get the same error when I try to access the cgi script
through my browser:
can't load stack or script   license.rev
premature end of script headers


I have  never seen this message before. Actually, I do not  
understand it.


Are you using  Darwin engine 2.1.2 ?  As far as I know this is the  
last

Darwin engine available.
You can download it from:
http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip

I guess there is a problem with you engine.  Some months ago Mark  
wrote in

this list:


I mean can we use the engine of the standalone as CGI?


The -ui option works on all platforms and prevents the engine from  
doing

anything GUI related. Specifically this means that the engine will not
attempt to connect to a window server and will not create windows for
stacks. This makes it possible to use the standalone engine as a
command-script processor from a terminal/shell-script.

However, your mileage will vary when attempting to use standard
standalone engines as CGIs depending on your system setup. In
particular, the OS X engine requires a 'desktop context' to function -
this is not generally available when it is run as a CGI engine from a
web-server installed on OS X.

The reason the Linux standalone engine (will) work as a perfectly good
CGI engine in -ui mode is that it's only direct 'desktop' related
dependency is the Xlib, which is usually installed regardless of  
whether

a machine is a server or desktop box.

Warmest Regards,

Mark.




How to use Revolution use-revolution@lists.runrev.com writes:

Paolo,

I've done exactly as you say.
Nothing in the cgi-bin except for the Darwin engine and the hello.cgi
script.
The hello.cgi script is definitely saved as a text file.
All permissions in the cgi-bin are set to 755.
The owner of the cgi-executables folder is my login id.
The group is www


Any other ideas? I don't know what to try next.

Thanks.
Richard



**

Paolo Mazza
NEOL SRL
Società partecipata da Università di Padova
via N. Tommaseo 84
35131 - Padova (Italy)
Tel 049- 2050147 - Fax 049-7964386
www.neol.it

___
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: LibURLftpCommand error when port is specified

2007-12-06 Thread Dave Cragg


On 6 Dec 2007, at 14:52, [EMAIL PROTECTED] wrote:

 Now, I need to be
further enlightened on the proper use of the command. I have setup a
callback field. When I issue a LIST command, all that I get back is  
the

response 150 Opening ASCII mode data connection for /bin/ls.
, but not the
actual list. Is this going into another variable somewhere?


Sorry, Roger. You're going to be disappointed.

The LIST command requires that a separate socket be opened for  
receiving the data. This is the nature of FTP. Commands and their  
responses are sent over a command socket while data resulting from  
commands (generally speaking) goes over a data transfer socket. The  
results from a LIST command are considered data.


libUrlFtpCommand only deals with communication over the command socket.

However, if you just want to issue the LIST command, using get url  
with a url that ends in a forward slash (i.e. pointing to a  
directory, not a file) will do it for you.


Cheers
Dave
___
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: OS X cgi error

2007-12-06 Thread J. Landman Gay

Richard Miller wrote:

Paolo,

I am positive I am using the correct engine. I downloaded it again to be 
sure.


What other possibilities exist as the source of this problem?

Again:
- Nothing in the cgi-bin except for the Darwin engine and the hello.cgi  
script.

- The hello.cgi script is saved as a text file.
- All permissions in the cgi-bin are set to 755.
- The owner of the cgi-executables folder is my login id.
- The group is www


I have never seen the license error you mentioned. I just downloaded 
the same engine and tried it on my intel iMac. All I did was drag the 
engine file to the CGI-Executables folder. From Firefox, I opened a URL 
to the echo.mt test script and I got the premature end of script 
header message, then remembered I hadn't set permissions, so went to 
Terminal to change the engine permissions to 755. After that, it worked 
fine. Did you use Terminal to set permissions? The Get Info box won't 
always work for that. Also, the line endings in your text file should be 
unix endings (LF).


--
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: start player with rtsp://...

2007-12-06 Thread Mark Talluto


On Dec 4, 2007, at 6:08 AM, Klaus Major wrote:

I have a player where I set the filename to a rtsp://... url  
which works fine.


But when I script: start player xyz I see: -5405: Function not  
supported

(in german) in the QT controllerbar.

No problems when I click the play button (of the QT controller)  
manually.


What gives? Any hints very appreciated.



There is bug: http://quality.runrev.com/qacenter/show_bug.cgi? 
id=1239 that may be related.  I need to give it a run on 2.9 to see  
if the bug still exists.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: How to auto startup

2007-12-06 Thread Mark Talluto


On Dec 5, 2007, at 2:29 PM, Mark Schonewille wrote:


No need to use AppleScript. It should be something like this:

create alias /system/library/startupitems/yourapp.alias to file / 
volumes/diskimage/yourapp.app



Hi Mark,

Thank for this.  Unfortunately this did not work.  Dragging an alias  
into the two startup folders I located did nothing on a restart.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: How to auto startup

2007-12-06 Thread Mark Talluto


On Dec 5, 2007, at 2:36 PM, Jim Ault wrote:


User login preferences in OSX allows adding start up items.
Admin privileges required and the user must have permissions that  
allow

executing the file.



It is true that the OS requested the admin password to get the alias  
to be dropped into this location.  Having the alias in the startup  
folder had no effect.


-Mark
___
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: How to auto startup

2007-12-06 Thread Mark Talluto


On Dec 5, 2007, at 2:16 PM, Ian Wood wrote:


http://bbs.applescript.net/viewtopic.php?id=11314

Not tested here, though.




Hi Ian,

Thanks for pointing me to this tip.  I am going to give it a run  
right now.
With this particular app, I have the luxury of knowing it will be the  
only app this computer will run.  It is similar in design to a kiosk  
and takes over the entire computer.  Every time the computer is  
booted, my software must automatically boot up as well.  Otherwise, I  
agree with you whole heartedly.  I would have a pref for this so the  
user could choose.


I really need to spend some time learning the basics of Applescript.   
I am looking at getting the following book.  Any comments on books  
that were helpful to you?


http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? 
z=yEAN=9780321149312itm=3



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: How to auto startup

2007-12-06 Thread Jim Ault
For me this works:

Go system preferences, Accounts
then click on the user, then choose 'login items'

Add anything to the list using the + button, check mark toggle to have the
item start as hidden or visible.

This does not involve any alias files, but does require the admin password.

Hope this helps you.

Jim Ault
Las Vegas


On 12/6/07 10:52 AM, Mark Talluto [EMAIL PROTECTED] wrote:

 
 On Dec 5, 2007, at 2:36 PM, Jim Ault wrote:
 
 User login preferences in OSX allows adding start up items.
 Admin privileges required and the user must have permissions that
 allow
 executing the file.
 
 
 It is true that the OS requested the admin password to get the alias
 to be dropped into this location.  Having the alias in the startup
 folder had no effect.
 
 -Mark
 ___
 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: How to auto startup

2007-12-06 Thread Jim Sims


On Dec 6, 2007, at 7:51 PM, Mark Talluto wrote:


On Dec 5, 2007, at 2:29 PM, Mark Schonewille wrote:


No need to use AppleScript. It should be something like this:

create alias /system/library/startupitems/yourapp.alias to file  
/volumes/diskimage/yourapp.app



Hi Mark,

Thank for this.  Unfortunately this did not work.  Dragging an  
alias into the two startup folders I located did nothing on a restart.




I've used the following (requires System Events)...

In my preferences I have this script somewhere:

if the platform is MacOS then
  put the defaultFolder into tDF
  put the u_AutoOSX_one of this stack  tDF the u_AutoOSX_two  
of this stack into tAS

  do tAS as Applescript
end if


I also have the two items as custom properties:

u_AutoOSX_one

tell application System Events
   get exists login item MY_APP_NAME
if result is false then
make new login item at end of login items with properties {path:


u_AutoOSX_two
-
/Desk Doctor.app, hidden:true, kind:application, name:MY_APP_NAME}
 end if
end tell

HTH
sims
___
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: How to auto startup

2007-12-06 Thread Jim Ault
You won't find many people who know more about AppleScript that Sal and
Bill.
Check out the long-running site and very well categorized

http://applescriptsourcebook.com/

There are strange concepts that you need to get your head around or fall
into hours of aggravation, eg repeat looping, get info, dictionaries that
vary between vendors.  The best learning is to see well-designed finished
scripts and deconstruct them... live in script editor.

Another step, if you are serious about going down the path is to consider
the free editor program called Smile.  Far better than Script Editor.

Jim Ault
Las Vegas


On 12/6/07 10:56 AM, Mark Talluto [EMAIL PROTECTED] wrote:

 
 On Dec 5, 2007, at 2:16 PM, Ian Wood wrote:
 
 http://bbs.applescript.net/viewtopic.php?id=11314
 
 Not tested here, though.
 
 
 
 Hi Ian,
 
 Thanks for pointing me to this tip.  I am going to give it a run
 right now.
 With this particular app, I have the luxury of knowing it will be the
 only app this computer will run.  It is similar in design to a kiosk
 and takes over the entire computer.  Every time the computer is
 booted, my software must automatically boot up as well.  Otherwise, I
 agree with you whole heartedly.  I would have a pref for this so the
 user could choose.
 
 I really need to spend some time learning the basics of Applescript.
 I am looking at getting the following book.  Any comments on books
 that were helpful to you?
 
 http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?
 z=yEAN=9780321149312itm=3
 
 
 Mark Talluto


___
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: How to auto startup

2007-12-06 Thread Jim Sims


On Dec 6, 2007, at 8:04 PM, Jim Sims wrote:


I've used the following (requires System Events)...


I also have (if the prefs indicate they no longer want auto start):

tell application System Events
get exists login item MY_APP_NAME
if result is true then
delete login item MY_APP_NAME
end if
end tell


HTH
sims
___
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: copy large files in Rev on Mac

2007-12-06 Thread Chipp Walters
Trevor,

Windows has the following function in their api:

CopyFile(FROM, TO, OVERWRITE)
 [CORE] The Win32::CopyFile() function copies an existing file to a
new file. All file information like creation time and file attributes
will be copied to the new file.

This sort of function has been present in api's (including system 9
Macs) since I've been programming. I just don't understand why it's
Rev's fault that Apple's current OS doesn't support something as basic
as copyfile for ALL their files?

At the least, it appears a good candidate for a third party library
from someone here.

best,
Chipp

On Dec 6, 2007 9:28 AM, Trevor DeVore [EMAIL PROTECTED] wrote:

 I wouldn't blame the OS X programmers because Revolution doesn't have
 support for bundles . Just because this isn't straightforward in
 Revolution doesn't mean it the file system is at fault. The original
 Revolution syntax just wasn't built with bundles in mind
 (understandably).
___
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: copy large files in Rev on Mac

2007-12-06 Thread Mark Smith
On the other hand, a package is really a folder, it's just treated by  
the finder as a single thing for the convenience of the user. Maybe  
not so convenient for the developer copying stuff around, but then  
it's no bad thing, IMO, that users' convenience takes priority over  
developers'.


Perhaps it would be useful if Rev added a third category to files and  
folders - packages, though a function that filtered 'the folders'  
based on the presence of the file /Contents/info.plist might work  
well enough.


function thePackages
  put the folders into foList
  repeat for each line L in foList
if there is a file (L  /Contents/info.plist) then put L  cr  
after packageList

  end repeat
  return char 1 to -2 of packageList
end thePackages

Best,

Mark

On 6 Dec 2007, at 19:12, Chipp Walters wrote:


Trevor,

Windows has the following function in their api:

CopyFile(FROM, TO, OVERWRITE)
 [CORE] The Win32::CopyFile() function copies an existing file to a
new file. All file information like creation time and file attributes
will be copied to the new file.

This sort of function has been present in api's (including system 9
Macs) since I've been programming. I just don't understand why it's
Rev's fault that Apple's current OS doesn't support something as basic
as copyfile for ALL their files?

At the least, it appears a good candidate for a third party library
from someone here.

best,
Chipp

On Dec 6, 2007 9:28 AM, Trevor DeVore [EMAIL PROTECTED]  
wrote:



I wouldn't blame the OS X programmers because Revolution doesn't have
support for bundles . Just because this isn't straightforward in
Revolution doesn't mean it the file system is at fault. The original
Revolution syntax just wasn't built with bundles in mind
(understandably).

___
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: How to auto startup

2007-12-06 Thread Mark Talluto




On Dec 6, 2007, at 11:02 AM, Jim Ault wrote:


For me this works:

Go system preferences, Accounts
then click on the user, then choose 'login items'

Add anything to the list using the + button, check mark toggle to  
have the

item start as hidden or visible.

This does not involve any alias files, but does require the admin  
password.


Hope this helps you.




Hi Jim,

My distributors are doing this now.  I am trying to speed up the  
process of setting up a new Mac to improve distribution speed.  I  
will be working to have my software automatically manage things  
like:  auto starting, energy savings, screen saver, and network  
device settings.


Anything we can do to get these and included peripherals set up stuff  
down to a single click, the better for us all in the end.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: How to auto startup

2007-12-06 Thread Mark Talluto


On Dec 6, 2007, at 11:11 AM, Jim Ault wrote:

You won't find many people who know more about AppleScript that Sal  
and

Bill.
Check out the long-running site and very well categorized

http://applescriptsourcebook.com/

There are strange concepts that you need to get your head around or  
fall
into hours of aggravation, eg repeat looping, get info,  
dictionaries that
vary between vendors.  The best learning is to see well-designed  
finished

scripts and deconstruct them... live in script editor.

Another step, if you are serious about going down the path is to  
consider

the free editor program called Smile.  Far better than Script Editor.



Thanks Jim,

I will be using that resource for sure!  There is so much to learn.   
Makes getting up every morning that much sweeter.


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: How to auto startup

2007-12-06 Thread Mark Talluto


On Dec 6, 2007, at 11:04 AM, Jim Sims wrote:


I've used the following (requires System Events)...

In my preferences I have this script somewhere:

if the platform is MacOS then
  put the defaultFolder into tDF
  put the u_AutoOSX_one of this stack  tDF the u_AutoOSX_two  
of this stack into tAS

  do tAS as Applescript
end if


I also have the two items as custom properties:

u_AutoOSX_one

tell application System Events
   get exists login item MY_APP_NAME
if result is false then
make new login item at end of login items with properties {path:


u_AutoOSX_two
-
/Desk Doctor.app, hidden:true, kind:application, name:MY_APP_NAME}
 end if
end tell



Thanks Jim!  I am all set.  Extra thanks for turning it off in your  
other post.  I will get this all set up for Ken Ray.  Maybe this  
would be a good addition to his website.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: copy large files in Rev on Mac

2007-12-06 Thread Trevor DeVore

On Dec 6, 2007, at 2:12 PM, Chipp Walters wrote:


Windows has the following function in their api:

CopyFile(FROM, TO, OVERWRITE)
[CORE] The Win32::CopyFile() function copies an existing file to a
new file. All file information like creation time and file attributes
will be copied to the new file.

This sort of function has been present in api's (including system 9
Macs) since I've been programming. I just don't understand why it's
Rev's fault that Apple's current OS doesn't support something as basic
as copyfile for ALL their files?


Chipp,

I think I may have missed something earlier in this thread. Why do you  
think that OS X doesn't have an API for copying bundles (really  
folders)? I just did a quick search in XCode and saw FSCopyObjectSync.  
It takes a pointer to the source object to copy. The object can be a  
file or a directory so it doesn't matter if you pass a file or a folder.


In any case, Rev doesn't provide direct access to CopyFile on Windows  
or FSCopyObjectSync on OS X. They use Revolution code in the handlers  
revCopyFile and revCopyFolder which call command line tools.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: copy large files in Rev on Mac

2007-12-06 Thread Ian Wood


On 6 Dec 2007, at 19:12, Chipp Walters wrote:


CopyFile(FROM, TO, OVERWRITE)
 [CORE] The Win32::CopyFile() function copies an existing file to a
new file. All file information like creation time and file attributes
will be copied to the new file.

This sort of function has been present in api's (including system 9
Macs) since I've been programming. I just don't understand why it's
Rev's fault that Apple's current OS doesn't support something as basic
as copyfile for ALL their files?


Chipp, you're aware that both answer file and revcopyfile both WORK  
on packages without any tweaks at all?


The copying problems are occurring because revcopyfile is blocking  
and people are trying to come up with non-blocking *workarounds* -  
because it's not always acceptable for the app to lock up for the  
length of a 1GB file copy operation.


Ian
___
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: How to auto startup

2007-12-06 Thread Ian Wood


On 6 Dec 2007, at 18:56, Mark Talluto wrote:


I really need to spend some time learning the basics of  
Applescript.  I am looking at getting the following book.  Any  
comments on books that were helpful to you?


http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? 
z=yEAN=9780321149312itm=3


Sal Soghoian is basically 'Mr. Automation' at Apple, so he should  
certainly know his stuff. I've mostly learned AppleScript through  
tweaking other people's scripts until I could work out what was going  
on.


Ian

___
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


Selling my Enterprise license

2007-12-06 Thread Andrew Meit

Happy Holidays folks,

Due to my needing funds for medical reasons I am selling my  
Revolution Enterprise 2.7.1 edition for $100.00. A new license is  
$999.00, the renewal pack for my license is $499.00. (Heather, if its  
different let me know, thanks.)

From today to Jan 31 my offer stands.
My pricing gives a hefty discount. :-)

Rev knows of my offer and is allowing me to sell it.
Please contact me off list, thank you.

Shalom, Andrew
{Choose Life, Create Hope, Nurture Love, Wrestle Faith...}
___
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: copy large files in Rev on Mac

2007-12-06 Thread Kay C Lan
On Dec 7, 2007 5:35 AM, Ian Wood [EMAIL PROTECTED] wrote:


 The copying problems are occurring because revcopyfile is blocking
 and people are trying to come up with non-blocking *workarounds*


Thanks Ian for getting us back on track!

I've been been waiting with baited breathe for someone to provide a 'wow
isn't Rev cool' solution to this problem, but ended up almost sufficating
because we somehow got sidetracked on separating the files and folders from
an OSX bundle/package/app. Don't care, OSX files, folders
bundles/package/apps work fine for me, I just NEED a workaround for my app
to keep going whilst it's also copying 40GB of data.

I'll return to baited breathe status in the hope for that 'cool Rev'
solution.
___
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: How to auto startup

2007-12-06 Thread Kay C Lan
On Dec 7, 2007 3:11 AM, Jim Ault [EMAIL PROTECTED] wrote:

Another step, if you are serious about going down the path is to consider
 the free editor program called Smile.  Far better than Script Editor.

 Jim is spot on the money with his recommendation of Smile, you'll find it
here:

http://www.satimage.fr/software/en/downloads/index.html

There are two versions, a paid, extremely powerful version, and a free
script editor. If you really do like waking up in the morning and learning,
as apposed to say, wasting your time, then give Apple's ScriptEditor a miss
and go with Smile.

:-)
___
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: copy large files in Rev on Mac

2007-12-06 Thread Mark Smith

The windows versions can be found here:

http://www.ss64.com/nt/index.html

COPY, XCOPY, and ROBOCOPY look like the ones.

Best,

Mark

On 7 Dec 2007, at 00:27, Mark Smith wrote:



This works on OS X, and I'd think Linux. there must be an  
equivalent on Windows.



___
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: copy large files in Rev on Mac

2007-12-06 Thread Mark Smith
Well this will be non-blocking, but I don't think there's a way to  
monitor progress since ditto only produces any info when the copy is  
done, even with the -v (verbose) option. I think it's the same story  
with cp.


on shellCopy pSource, pDest
get shell(ditto  pSource  pDest   /dev/null 21 )
end shellCopy

This works on OS X, and I'd think Linux. there must be an equivalent  
on Windows.


Best,

Mark

On 7 Dec 2007, at 00:07, Kay C Lan wrote:


On Dec 7, 2007 5:35 AM, Ian Wood [EMAIL PROTECTED] wrote:



The copying problems are occurring because revcopyfile is blocking
and people are trying to come up with non-blocking *workarounds*



Thanks Ian for getting us back on track!

I've been been waiting with baited breathe for someone to provide a  
'wow
isn't Rev cool' solution to this problem, but ended up almost  
sufficating
because we somehow got sidetracked on separating the files and  
folders from

an OSX bundle/package/app. Don't care, OSX files, folders
bundles/package/apps work fine for me, I just NEED a workaround for  
my app

to keep going whilst it's also copying 40GB of data.

I'll return to baited breathe status in the hope for that 'cool Rev'
solution.
___
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


RevBrowser and java applets

2007-12-06 Thread Mark Smith
Has anyone had any luck with running java applets in revBrowser on OS  
X. The one I'm trying to use seems to load ok, but while I can select  
options from it's menus, the selections have no effect...


If anyone wants to try it, the url is http://www.bullionvault.com/ 
gold-price-chart.do


Any help gratefully recieved.

Mark
___
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: Packages (was: copy large files in Rev on Mac)

2007-12-06 Thread Kay C Lan
On Dec 6, 2007 10:44 AM, Ian Wood [EMAIL PROTECTED] wrote:



 Off the top of my head the list includes:
 Pages documents and templates
 Keynote documents and templates
 iMovie themes, I don't use it enough to know if the docs are as well
 iDVD docs and templates
 iPhoto book/web templates
 GarageBand docs

 All of these consist of a package containing discrete media files and
 a bunch of XML files - as a developer I'd rather deal with that any
 day of the week over binary data.


Couldn't agree more. NeoOffice (OpenOffice) and TextEdit RTF files are also
packages containing Text and Image files.  I like to think of them like
webpages, if you know where things are and what their name is, then it's
very easy to use Rev to manipulate an RTF, iMovie or any such document
(package). Try using Rev to change the images in a .doc file.

Yes there are disadvantage of disguising folders and files as a single app
or document (rtf,movie,keynote), but they are far outweighed by the
advantages. Think of what the web would be like if every web page were in
fact a single .doc file;-)
___
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: Packages

2007-12-06 Thread Derek Bump
Kay C Lan wrote:
 Think of what the web would be like if every web page were in
 fact a single .doc file;-)

Oh please don't give Microsoft any more ideas. I couldn't bear the pain.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com

___
Compress your photos quickly and easily with JPEGCompress 2.9!
http://www.dreamscapesoftware.com/products/jpegcompress/



___
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: My somewhat Off-Topic post of the day

2007-12-06 Thread Kay C Lan
On Dec 7, 2007 9:45 AM, Mark Wieder [EMAIL PROTECTED] wrote:

 Laptops designed by 7-year-olds:

 http://www.themorningnews.org/archives/galleries/the_laptop_club/


I see Alana, age 8, is one IT savvy little girl, clearly destined for great
things. Not only does she provide a button for direct access to the
firewall, but also single button access to friends Emma and Dana. The button
for the maid is sure to be a smash hit. Clearly a hip and happening girl
with single click to iTunes and iPhone.

My prediction though is with a UI like that, she won't be designing Apple's
Xth gen iPod;-)
___
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


My somewhat Off-Topic post of the day

2007-12-06 Thread Mark Wieder
Laptops designed by 7-year-olds:

http://www.themorningnews.org/archives/galleries/the_laptop_club/

(somewhat off-topic because I'm always interested in new ideas for user 
interfaces...)

-- 
 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: OS X cgi error

2007-12-06 Thread Richard Miller
Finally got it. My ftp client was altering the files as they were  
being sent to the server. Had to switch to binary transfer from  
ASCII. Along with all the other suggestions, it's now working. Thanks  
to all of you for your help.


Richard


On Dec 6, 2007, at 1:48 PM, J. Landman Gay wrote:


Richard Miller wrote:

Paolo,
I am positive I am using the correct engine. I downloaded it again  
to be sure.

What other possibilities exist as the source of this problem?
Again:
- Nothing in the cgi-bin except for the Darwin engine and the  
hello.cgi  script.

- The hello.cgi script is saved as a text file.
- All permissions in the cgi-bin are set to 755.
- The owner of the cgi-executables folder is my login id.
- The group is www


I have never seen the license error you mentioned. I just  
downloaded the same engine and tried it on my intel iMac. All I did  
was drag the engine file to the CGI-Executables folder. From  
Firefox, I opened a URL to the echo.mt test script and I got the  
premature end of script header message, then remembered I hadn't  
set permissions, so went to Terminal to change the engine  
permissions to 755. After that, it worked fine. Did you use  
Terminal to set permissions? The Get Info box won't always work for  
that. Also, the line endings in your text file should be unix  
endings (LF).


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


___
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


encrypt not working in Leopard?

2007-12-06 Thread Josh Mellicker
Has anyone else run into a problem with encrypt or decrypt in OS  
X 10.5 (Leopard)?


We have tried using blowfish and bf-ecb, but on Leopard systems  
(dev environment and standalone), it just doesn't execute the command.


For example:

function lbencrypt tData
encrypt tData using blowfish with password jeepers
answer it
end lbencrypt

the result is simply the original parameter.


(On WinXP, Vista, and OS X 10.4 the result is the encrypted data.)
___
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: encrypt not working in Leopard?

2007-12-06 Thread Jim Sims


On Dec 7, 2007, at 2:22 AM, Josh Mellicker wrote:

Has anyone else run into a problem with encrypt or decrypt in  
OS X 10.5 (Leopard)?


We have tried using blowfish and bf-ecb, but on Leopard systems  
(dev environment and standalone), it just doesn't execute the command.



I just fired up Leopard (I'm only using it from an external HD for  
testing until 10.5.2 comes out)
and then used Rev 2.8.1 and the Encryption Made Easy stack from Bill  
Vlahos.


Worked as advertised.

sims
___
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: copy large files in Rev on Mac

2007-12-06 Thread Phil Davis
Am I missing something, or couldn't you accomplish the goal with 3 
handlers like this?


on startMyCopy pFromFilePath, pToFilePath
 open file pFromFilePath for binary read
 open file pToFilePath for binary write
 doMyCopy pFromFilePath, pToFilePath
end startMyCopy


on doMyCopy pFromFilePath, pToFilePath
 read from file pFromFilePath for 32767
 if the result = eof then
   send (endMyCopy  pFromFilePath, pToFilePath) to me in 1 tick
   exit doMyCopy
 end if
 write tDataSegment to file pToFilePath
 send (doMyCopy  pFromFilePath, pToFilePath) to me in 1 tick
end doMyCopy


on endMyCopy pFromFilePath, pToFilePath
 close file pFromFilePath
 close file pToFilePath
 answer Copy is complete!
end endMyCopy

Obviously you would have to include a 'bundle tree walker' approach for 
bundles, but it seems to me like this would be non-blocking.

Phil Davis



Kay C Lan wrote:

On Dec 7, 2007 5:35 AM, Ian Wood [EMAIL PROTECTED] wrote:

  

The copying problems are occurring because revcopyfile is blocking
and people are trying to come up with non-blocking *workarounds*




Thanks Ian for getting us back on track!

I've been been waiting with baited breathe for someone to provide a 'wow
isn't Rev cool' solution to this problem, but ended up almost sufficating
because we somehow got sidetracked on separating the files and folders from
an OSX bundle/package/app. Don't care, OSX files, folders
bundles/package/apps work fine for me, I just NEED a workaround for my app
to keep going whilst it's also copying 40GB of data.

I'll return to baited breathe status in the hope for that 'cool Rev'
solution.

___
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