Paris

2010-03-13 Thread René Micout
Just for the fun, no relation with RunRev :
http://www.paris-26-gigapixels.com/HDView/index-fr.php
René___
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: DataGrid AddData issue

2010-03-13 Thread zryip theSlug
2010/3/13 Jeffrey Massung mass...@gmail.com:
 So, I'm not quite sure the best way around this problem, hoping Trevor or 
 someone here can help...

 It looks like AddData doesn't instantly add the data to a DG form (haven't 
 tried a table). So, for example, if I were to do the following:

 ## inside the DG group control

 on doSomething
        -- .. construct some data ..

        addData tData

        get the dgNumberOfLines of me
        get the dgDataControlOfIndex[it] of me

        -- .. do something with the data control ..


 The problem here is that the data control I get back is not of the row I just 
 added, but rather the row previous to it. This is really problematic as I'd 
 like to call a handler on that control, but only when it's created. I also 
 can't wait a little bit of time because several rows may be added in between.

 My best work-around thought for now is to have a flag in tData that is set to 
 true so that FillInData can check it and call the appropriate handler and set 
 it to false, but that's pretty hacky and I'd prefer being able to do it some 
 other way.

Hello Jeffrey,

Have you tried to refresh the data with the RefreshList command
after the addData instruction?



Regards,

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: DataGrid AddData issue

2010-03-13 Thread Jeffrey Massung

On Mar 13, 2010, at 7:48 AM, zryip theSlug wrote:

 2010/3/13 Jeffrey Massung mass...@gmail.com:
 So, I'm not quite sure the best way around this problem, hoping Trevor or 
 someone here can help...
 
 It looks like AddData doesn't instantly add the data to a DG form (haven't 
 tried a table). So, for example, if I were to do the following:
 
 ## inside the DG group control
 
 on doSomething
-- .. construct some data ..
 
addData tData
 
get the dgNumberOfLines of me
get the dgDataControlOfIndex[it] of me
 
-- .. do something with the data control ..
 
 
 The problem here is that the data control I get back is not of the row I 
 just added, but rather the row previous to it. This is really problematic as 
 I'd like to call a handler on that control, but only when it's created. I 
 also can't wait a little bit of time because several rows may be added in 
 between.
 
 My best work-around thought for now is to have a flag in tData that is set 
 to true so that FillInData can check it and call the appropriate handler and 
 set it to false, but that's pretty hacky and I'd prefer being able to do it 
 some other way.
 
 Hello Jeffrey,
 
 Have you tried to refresh the data with the RefreshList command
 after the addData instruction?


Yes. No change. It just refreshes the controls that are already there. Either 
that or it's just queuing up a refresh to happen at a later time 
(understandable, if so).

Jeff M.___
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: Sticky Popup? -- SOLVED

2010-03-13 Thread Tereza Snyder

On Mar 13, 2010, at 1:10 AM, Scott Rossi wrote:

 Recently, I wrote:
 
 Is there any way to make the action of popping up a menu sticky?
 ...
 The solution I found was to set the ink of the default menubar to noop and
 place a dummy menubar of my design *behind* the real menubar.  Even though
 the real menubar is invisible, it responds to clicks and its pulldown menus
 display properly, with their stickiness intact, so one gets the illusion
 of clicking on the custom menubar.
 
 Not sure if this is the best way to pull off custom menus, but it seems to
 work fine here (and maybe this will save someone some hairpulling).

My few hairs are now reserved for other projects! noop saves the day!

t


-- 
Tereza Snyder
Califex Software, Inc.
www.califexsoftware.com




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


FTP Help Please

2010-03-13 Thread JACK RARICK
I have searched the archives - but obviously not well enough - for a stack or 
help in using FTP from a stack.

Does anyone know of a stack out there that I could tear apart (which is how I 
learn best) and learn the following:

How to connect to an FTP server. (I have one on driveHQ)
How to upload a text file or image to that server.
How to download a different text file or image from that server.

Many, many thanks in advance.

Jack Rarick
Holt Public Schools___
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: FTP Help Please

2010-03-13 Thread Richmond Mathewson

 On 13/03/2010 17:03, JACK RARICK wrote:

I have searched the archives - but obviously not well enough - for a stack or 
help in using FTP from a stack.

Does anyone know of a stack out there that I could tear apart (which is how I 
learn best) and learn the following:

How to connect to an FTP server. (I have one on driveHQ)
How to upload a text file or image to that server.
How to download a different text file or image from that server.

Many, many thanks in advance.

Jack Rarick
Holt Public Schools___


http://economy-x-talk.com/ecxftp.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


Re: FTP Help Please

2010-03-13 Thread Richard Gaskin

JACK RARICK wrote:
 I have searched the archives - but obviously not well enough
 - for a stack or help in using FTP from a stack.

 Does anyone know of a stack out there that I could tear apart
 (which is how I learn best) and learn the following:

 How to connect to an FTP server. (I have one on driveHQ)

You're about to have a very good time. :)

Explicit connection isn't needed - libURL handles that for you whenever 
you use one of its file transfer commands.


 How to upload a text file or image to that server.

put url (file: tMyLocalFile) into url tMyServerUrl

Where tMyServerUrl is in the standard format for including protocol, 
login, and password, e.g:


ftp://user:passw...@ftp.domain.com/folder/filename.txt

 How to download a different text file or image from that server.

Same thing but in reverse:

put url tMyServerUrl into url (file: tMyLocalFile)

Yep, thanks to Dave Cragg and the others who've worked on Rev's libURL, 
it's that easy. :)


There's a lot more libURL can do too, including providing callbacks to 
let you know when a file is done transferring so you can take further 
action, or providing status updates during the transfer so you can use a 
progress bar.  But for small text files you probably won't need a 
progress bar because they'll transfer so fast.  Just check the result 
after each libURL call to see if anything went wrong, and take 
appropriate action from there:


put url tMyServerUrl into url (file: tMyLocalFile)
if the result is not empty then
   answer An error occurred while downloading:  the result
   exit to top
end if

Complete docs and other helpful notes on libURL are in the RevTalk 
Dictionary and here:

http://www.lacscentre.com/liburl/liburldoc.html

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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


Data Grid Column Header Alignment Changes after column resize

2010-03-13 Thread Len Morgan
I'm trying to use my first Data Grid (table) in a stack and I need to 
set the column Header alignment for a few of the columns.  Following the 
instructions in the DG manual, I entered the alignments using the 
message box and it looked fine.  But then I resized one of the columns 
and all of the alignments changed, some of them even aligning themselves 
such that only half of the text showed in the column.


Do I need to set the alignments every time the grid is displayed?  If 
so, where can I do that?


len morgan
___
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: FTP Help Please

2010-03-13 Thread JACK RARICK
Wow!

Incredible responses from both Richard and Richmond!

Thank you both!

And yes ... did the trick!

Thanks again!

Jack Rarick
Holt Public Schools
Holt MI  48842

From: use-revolution-boun...@lists.runrev.com 
[use-revolution-boun...@lists.runrev.com] On Behalf Of Richard Gaskin 
[ambassa...@fourthworld.com]
Sent: Saturday, March 13, 2010 11:15 AM
To: How to use Revolution
Subject: Re: FTP Help Please

JACK RARICK wrote:
  I have searched the archives - but obviously not well enough
  - for a stack or help in using FTP from a stack.
 
  Does anyone know of a stack out there that I could tear apart
  (which is how I learn best) and learn the following:
 
  How to connect to an FTP server. (I have one on driveHQ)

You're about to have a very good time. :)

Explicit connection isn't needed - libURL handles that for you whenever
you use one of its file transfer commands.

  How to upload a text file or image to that server.

put url (file: tMyLocalFile) into url tMyServerUrl

Where tMyServerUrl is in the standard format for including protocol,
login, and password, e.g:

ftp://user:passw...@ftp.domain.com/folder/filename.txt

  How to download a different text file or image from that server.

Same thing but in reverse:

put url tMyServerUrl into url (file: tMyLocalFile)

Yep, thanks to Dave Cragg and the others who've worked on Rev's libURL,
it's that easy. :)

There's a lot more libURL can do too, including providing callbacks to
let you know when a file is done transferring so you can take further
action, or providing status updates during the transfer so you can use a
progress bar.  But for small text files you probably won't need a
progress bar because they'll transfer so fast.  Just check the result
after each libURL call to see if anything went wrong, and take
appropriate action from there:

put url tMyServerUrl into url (file: tMyLocalFile)
if the result is not empty then
answer An error occurred while downloading:  the result
exit to top
end if

Complete docs and other helpful notes on libURL are in the RevTalk
Dictionary and here:
http://www.lacscentre.com/liburl/liburldoc.html

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv
___
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

--
This email was Anti Virus checked by Astaro Security Gateway. 
http://www.astaro.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: FTP Help Please

2010-03-13 Thread Mark Talluto

Hi Jack,

http://www.canelasoftware.com/pub/rev/FTP.rev.gz

You can also get it from RevNet (CS FTP) which is managed by Richard  
Gaskin.  There you will find a bunch of other helpful stacks.


-Mark


On Mar 13, 2010, at 7:03 AM, JACK RARICK wrote:

I have searched the archives - but obviously not well enough - for a  
stack or help in using FTP from a stack.


Does anyone know of a stack out there that I could tear apart (which  
is how I learn best) and learn the following:


How to connect to an FTP server. (I have one on driveHQ)
How to upload a text file or image to that server.
How to download a different text file or image from that server.

Many, many thanks in advance.

Jack Rarick
Holt Public Schools___
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: FTP Help Please

2010-03-13 Thread jrarick
Mark!

Thank you ... That is a VERY cool and helpful stack!

Jack
Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Mark Talluto use...@canelasoftware.com
Date: Sat, 13 Mar 2010 11:37:07 
To: How to use Revolutionuse-revolution@lists.runrev.com
Subject: Re: FTP Help Please

Hi Jack,

http://www.canelasoftware.com/pub/rev/FTP.rev.gz

You can also get it from RevNet (CS FTP) which is managed by Richard  
Gaskin.  There you will find a bunch of other helpful stacks.

-Mark


On Mar 13, 2010, at 7:03 AM, JACK RARICK wrote:

 I have searched the archives - but obviously not well enough - for a  
 stack or help in using FTP from a stack.

 Does anyone know of a stack out there that I could tear apart (which  
 is how I learn best) and learn the following:

 How to connect to an FTP server. (I have one on driveHQ)
 How to upload a text file or image to that server.
 How to download a different text file or image from that server.

 Many, many thanks in advance.

 Jack Rarick
 Holt Public Schools___
 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
___
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: Quartam Reports Image Path

2010-03-13 Thread Jan Schenkel
--- On Fri, 3/12/10, Alex Adams a...@a2technology.com wrote:
 I am including an icon in each
 Quartam report that I am building.  The image
 path stored in the report files are literal.  How do I
 store a relative
 path?
 
 Thanks,
 -- 
 Alex Adams
 

Hi Alex,

You're not per se limited to absolute paths - if you specify a relative path in 
the filename field, the revEngine will look for your image in a few places. 
Check out the 'defaultFolder' property in the docs.

HTH,

Jan Schenkel
=
Quartam Reports  PDF Library for Revolution
http://www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)




___
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: Data Grid Column Header Alignment Changes after column resize

2010-03-13 Thread Andre.Bisseret


Le 13 mars 10 à 17:18, Len Morgan a écrit :

I'm trying to use my first Data Grid (table) in a stack and I need  
to set the column Header alignment for a few of the columns.   
Following the instructions in the DG manual, I entered the  
alignments using the message box and it looked fine.  But then I  
resized one of the columns and all of the alignments changed, some  
of them even aligning themselves such that only half of the text  
showed in the column.


Do I need to set the alignments every time the grid is displayed?   
If so, where can I do that?



Bonjour Len,

I had a similar problem.
I assumed that your are centering the headers?
Anyway, could be that your resized column is not wide enough; at the  
right side of each header, a space is kept for the arrow icon which  
shows the sorting direction.
If the header is centered, then the column must take this space into  
account otherwise the header is not entirely visible (seems like  
shifted to the left)
Widening a bit your column should allow you to see the whole text of  
the header.


If this does not solve your problem, could be that a script in the  
revdatagridlibrary has to be completed (It was the case for my  
problem) but I prefer that Trevor helps you if such a modification is  
necessary ;-))


Best regards from Grenoble

André





___
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: Data Grid Column Header Alignment Changes after column resize

2010-03-13 Thread Len Morgan

Thank you, André

On more question if I may, where exactly would I put a handler that 
would set the color of each row according to the value of one of the 
columns?  For example, if column (database field actually) status is 
'I' then I want the row to be green.  If it's 'R' then I want it to be 
pink, etc.  I don't mind that the selection will turn the current row 
blue, but I need a way to set it back again and of course, to set the 
colors when the data is loaded originally.


Thanks!

len morgan

On 3/13/2010 12:42 PM, Andre.Bisseret wrote:


Le 13 mars 10 à 17:18, Len Morgan a écrit :

I'm trying to use my first Data Grid (table) in a stack and I need to 
set the column Header alignment for a few of the columns.  Following 
the instructions in the DG manual, I entered the alignments using the 
message box and it looked fine.  But then I resized one of the 
columns and all of the alignments changed, some of them even aligning 
themselves such that only half of the text showed in the column.


Do I need to set the alignments every time the grid is displayed?  If 
so, where can I do that?



Bonjour Len,

I had a similar problem.
I assumed that your are centering the headers?
Anyway, could be that your resized column is not wide enough; at the 
right side of each header, a space is kept for the arrow icon which 
shows the sorting direction.
If the header is centered, then the column must take this space into 
account otherwise the header is not entirely visible (seems like 
shifted to the left)
Widening a bit your column should allow you to see the whole text of 
the header.


If this does not solve your problem, could be that a script in the 
revdatagridlibrary has to be completed (It was the case for my 
problem) but I prefer that Trevor helps you if such a modification is 
necessary ;-))


Best regards from Grenoble

André





___
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


Add file to Custom Property

2010-03-13 Thread Bill Vlahos
I want to add a file from disk to a custom property, encrypt it, and save it. 
Then I want to be able to extract the file from the custom property and open it 
in the appropriate application.

The first step is to put the file into the custom property but my code below 
only puts the path to the file.
on mouseUp
   answer file Please select a file...
   put it into lFileToRead
   -- Read the binary contents of a file into a variable
   open file lFileToRead for binary read
   read from file lFileToRead until end
   put base64Encode(lFileToRead) into lBinaryFile -- not sure if this is needed
   close file lFileToRead
   set the uFileStore of me to lBinaryFile
end mouseUp

What am I missing?

Bill Vlahos
___
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: Add file to Custom Property

2010-03-13 Thread Jeffrey Massung

On Mar 13, 2010, at 1:17 PM, Bill Vlahos wrote:

 I want to add a file from disk to a custom property, encrypt it, and save it. 
 Then I want to be able to extract the file from the custom property and open 
 it in the appropriate application.
 
 
   read from file lFileToRead until end
   put base64Encode(lFileToRead) into lBinaryFile -- not sure if this is needed


lFileToRead is the name of the file, not the data that was read from the file. 
Use 'it' to access the data that was read from lFileToRead. 

And, as a side note given the first sentence of your email... base64 encoding 
is not a form of encryption, nor is it a type of compression. Base64 encoding 
is a means of taking binary data and turning it into something that can be sent 
via email, posted to a website, etc (read: no spaces, line feeds, nulls, etc).

If you want to actually encrypt the data, you should do that first before 
base64 encoding it (with the encrypt command). But, you should be aware that 
the encrypt command requires a password/key, which will also be needed to 
decrypt the data. While you may be able to encrypt it with the message box or 
via some other means, you'll need the password/key in a script somewhere to 
decrypt it... thereby nullifying any hope of secrecy for whatever the data 
happens to contain.

Jeff M.___
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: Add file to Custom Property

2010-03-13 Thread Jim Ault

--First you should do something to allow the user to cancel, such as

 if it is empty then exit to top

-- now
 put it into pathAndFilenameToRead -- not just the file name

--either
 put url (binary:  pathAndFilenameToRead) into binFileInVariable
 set the uFileStore of me to binFileInVariable
--or one step and no memory variable is created

--so it becomes 3 lines and user friendly + memory friendly

on mouseUp



answer file Please select a file...


  if IT is empty then exit to top
 set the uFileStore of me to url (binary:  IT)

end mouseUp



On Mar 13, 2010, at 11:17 AM, Bill Vlahos wrote:

I want to add a file from disk to a custom property, encrypt it, and  
save it. Then I want to be able to extract the file from the custom  
property and open it in the appropriate application.


The first step is to put the file into the custom property but my  
code below only puts the path to the file.

on mouseUp
  answer file Please select a file...
  put it into lFileToRead
  -- Read the binary contents of a file into a variable
  open file lFileToRead for binary read
  read from file lFileToRead until end
  put base64Encode(lFileToRead) into lBinaryFile -- not sure if this  
is needed

  close file lFileToRead
  set the uFileStore of me to lBinaryFile
end mouseUp

What am I missing?


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


Re: Add file to Custom Property

2010-03-13 Thread Jim Ault

Now for the encryption...
base64 is not encryption.  It is conversion to another character  
representation, which is easily transparent to most word processors,  
such as BBEdit, TextEdit, etc.


You need to decide what level of security is required.
Read up, (especially if medical data is involved)


On Mar 13, 2010, at 11:17 AM, Bill Vlahos wrote:

I want to add a file from disk to a custom property, encrypt it, and  
save it. Then I want to be able to extract the file from the custom  
property and open it in the appropriate application.


The first step is to put the file into the custom property but my  
code below only puts the path to the file.

on mouseUp
  answer file Please select a file...
  put it into lFileToRead
  -- Read the binary contents of a file into a variable
  open file lFileToRead for binary read
  read from file lFileToRead until end
  put base64Encode(lFileToRead) into lBinaryFile -- not sure if this  
is needed

  close file lFileToRead
  set the uFileStore of me to lBinaryFile
end mouseUp

What am I missing?

Bill Vlahos


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


Re: Add file to Custom Property

2010-03-13 Thread Bill Vlahos
Jeff,

Thanks. That seems to do it.
on mouseUp
   answer file Please select a file...
   put it into lFileToRead
   -- Read the binary contents of a file into a variable
   open file lFileToRead for binary read
   read from file lFileToRead until end
   close file lFileToRead
   set the uFileStore of me to it
end mouseUp

I don't think I need to do the Base64 encoding. You are correct I didn't have 
any code for encrypting but I know how to do that.

Next is how do I open the file saved? I don't really want to write it to disk 
for security reasons unless I need to.

This statement doesn't work.
   open (URL binfile:  uFileStore of button Save File)


Bill Vlahos

On Mar 13, 2010, at 11:25 AM, Jeffrey Massung wrote:

 lFileToRead is the name of the file, not the data that was read from the 
 file. Use 'it' to access the data that was read from lFileToRead. 
 
 And, as a side note given the first sentence of your email... base64 encoding 
 is not a form of encryption, nor is it a type of compression. Base64 encoding 
 is a means of taking binary data and turning it into something that can be 
 sent via email, posted to a website, etc (read: no spaces, line feeds, nulls, 
 etc).

___
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: Rosetta (system performance hit?)

2010-03-13 Thread Randall Reetz
Ok, that is the hype.  I have no reason to believe it isn't a good translator.  
What I am asking is its impact on the performance of the OS?
___
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: Rosetta (system performance hit?)

2010-03-13 Thread Mark Schonewille

Hi Randall,

Contrary to the older Classic environment, which allows for running  
Mac OS 9, Rosetta doesn't affect the performance of the operating  
system as a whole. It only slows down PowerPC applications, if you'd  
compare them with native Intel versions of the same applications.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 13 mrt 2010, om 22:33 heeft Randall Reetz het volgende geschreven:

Ok, that is the hype.  I have no reason to believe it isn't a good  
translator.  What I am asking is its impact on the performance of  
the OS?



___
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: Add file to Custom Property

2010-03-13 Thread Sarah Reichelt
 Next is how do I open the file saved? I don't really want to write it to disk 
 for security reasons unless I need to.

 This statement doesn't work.
   open (URL binfile:  uFileStore of button Save File)

If you use:
   put the uFileStore of button Save File into tMyData

that is exactly the same as reading the original file into a variable.
What you do with it then depends on what sort of data it is.

If it's a text file, you can just put the data into a field.
If it's a picture file, you can put it into an image.

HTH,
Sarah
___
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: Add file to Custom Property

2010-03-13 Thread zryip theSlug
2010/3/14 Sarah Reichelt sarah.reich...@gmail.com:
 Next is how do I open the file saved? I don't really want to write it to 
 disk for security reasons unless I need to.

 This statement doesn't work.
   open (URL binfile:  uFileStore of button Save File)

 If you use:
   put the uFileStore of button Save File into tMyData

 that is exactly the same as reading the original file into a variable.
 What you do with it then depends on what sort of data it is.

 If it's a text file, you can just put the data into a field.
 If it's a picture file, you can put it into an image.

 HTH,
 Sarah

And for more complex file, if you need to restore the file in the same
integrity than you store it, you need to encode it in base64.
Especially if you want to store app in the custom property.

It's the same principle than storing a file in a blob (if needed, have
a look to the Experiment 004 : Store a file in a database blob and
restore the file on the disk in my website)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Add file to Custom Property

2010-03-13 Thread Bill Vlahos
The goal is to allow the user to save a file of any format, encrypted, and 
password protected. Therefore Rev can't be counted on being able to display it.

I know I could save the file to disk and then issue an open command but that 
would leave a copy on the disk. Is it possible to present the file from Rev so 
that the program (Word, etc.) would be able to open it directly without saving 
it to disk first?

The following example writes the file from the custom property to disk and then 
launches it:
on mouseUp
   put the uFileStore of button Save File into URL binfile:ScreenShot.png
   set the filetype to 
   launch document ScreenShot.png
end mouseUp

Is there a way to skip the writing to disk part and just open it directly?

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Mar 13, 2010, at 3:38 PM, zryip theSlug wrote:

 2010/3/14 Sarah Reichelt sarah.reich...@gmail.com:
 Next is how do I open the file saved? I don't really want to write it to 
 disk for security reasons unless I need to.
 
 This statement doesn't work.
   open (URL binfile:  uFileStore of button Save File)
 
 If you use:
   put the uFileStore of button Save File into tMyData
 
 that is exactly the same as reading the original file into a variable.
 What you do with it then depends on what sort of data it is.
 
 If it's a text file, you can just put the data into a field.
 If it's a picture file, you can put it into an image.
 
 HTH,
 Sarah
 
 And for more complex file, if you need to restore the file in the same
 integrity than you store it, you need to encode it in base64.
 Especially if you want to store app in the custom property.
 
 It's the same principle than storing a file in a blob (if needed, have
 a look to the Experiment 004 : Store a file in a database blob and
 restore the file on the disk in my website)
 
 
 Regards,
 -- 
 -Zryip TheSlug- wish you the best! 8)
 http://www.aslugontheroad.co.cc
 ___
 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: Add file to Custom Property

2010-03-13 Thread J. Landman Gay

Bill Vlahos wrote:

The goal is to allow the user to save a file of any format, encrypted, and 
password protected. Therefore Rev can't be counted on being able to display it.

I know I could save the file to disk and then issue an open command but that 
would leave a copy on the disk. Is it possible to present the file from Rev so 
that the program (Word, etc.) would be able to open it directly without saving 
it to disk first?

The following example writes the file from the custom property to disk and then 
launches it:
on mouseUp
   put the uFileStore of button Save File into URL binfile:ScreenShot.png
   set the filetype to 
   launch document ScreenShot.png
end mouseUp

Is there a way to skip the writing to disk part and just open it directly?


If it is another stack, then Rev can open it from memory. Otherwise, no. 
The usual solution is to write to the temp directory, with an obscure 
name if you want, and then delete the file later when you're done with it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Add file to Custom Property

2010-03-13 Thread Jeffrey Massung

On Mar 13, 2010, at 8:08 PM, J. Landman Gay wrote:

 Bill Vlahos wrote:
 
 Is there a way to skip the writing to disk part and just open it directly?
 
 If it is another stack, then Rev can open it from memory. Otherwise, no. The 
 usual solution is to write to the temp directory, with an obscure name if you 
 want, and then delete the file later when you're done with it.

I just feel it important to note that (depending upon your needs) this is very 
far from secure. 

First, the temporary file can be intercepted mid-operation by a secondary 
process that's monitoring yours and watching the OS for new open file handles 
(all easily doable).

Second, you'd have to blast the disk sectors where the temporary file happened 
to be written to with random data (perhaps several times over) to ensure that 
you eradicated the once you were done with it.

Sorry if that's way over-the-top, but when someone mentions encryption, network 
security, copy protection, etc, I just want to make sure someone doesn't leave 
thinking something is a great solution when it possibly isn't (again, given 
your needs, this may be more than adequate).

Jeff M.___
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: Add file to Custom Property

2010-03-13 Thread J. Landman Gay

Jeffrey Massung wrote:

On Mar 13, 2010, at 8:08 PM, J. Landman Gay wrote:


Bill Vlahos wrote:

Is there a way to skip the writing to disk part and just open it
directly?

If it is another stack, then Rev can open it from memory.
Otherwise, no. The usual solution is to write to the temp
directory, with an obscure name if you want, and then delete the
file later when you're done with it.


I just feel it important to note that (depending upon your needs)
this is very far from secure.

First, the temporary file can be intercepted mid-operation by a
secondary process that's monitoring yours and watching the OS for new
open file handles (all easily doable).

Second, you'd have to blast the disk sectors where the temporary file
happened to be written to with random data (perhaps several times
over) to ensure that you eradicated the once you were done with it.

Sorry if that's way over-the-top, but when someone mentions
encryption, network security, copy protection, etc, I just want to
make sure someone doesn't leave thinking something is a great
solution when it possibly isn't (again, given your needs, this may be
more than adequate).


Not at all, you're quite right. I wish there was a better way to do it.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Add file to Custom Property

2010-03-13 Thread Bill Vlahos
The data will be stored in a different stack. How does that make it  
different?


Bill Vlahos

Sent from my iPhone

On Mar 13, 2010, at 6:08 PM, J. Landman Gay  
jac...@hyperactivesw.com wrote:



Bill Vlahos wrote:
The goal is to allow the user to save a file of any format,  
encrypted, and password protected. Therefore Rev can't be counted  
on being able to display it.
I know I could save the file to disk and then issue an open command  
but that would leave a copy on the disk. Is it possible to present  
the file from Rev so that the program (Word, etc.) would be able to  
open it directly without saving it to disk first?
The following example writes the file from the custom property to  
disk and then launches it:

on mouseUp
  put the uFileStore of button Save File into URL  
binfile:ScreenShot.png

  set the filetype to 
  launch document ScreenShot.png
end mouseUp
Is there a way to skip the writing to disk part and just open it  
directly?


If it is another stack, then Rev can open it from memory. Otherwise,  
no. The usual solution is to write to the temp directory, with an  
obscure name if you want, and then delete the file later when you're  
done with it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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


Re: Quartam Reports Image Path

2010-03-13 Thread Alex Adams
Jan,

I tried setting the defaultFolder to that in which the report file and the
image are located.  I did this at the beginning of the mouseUp handler in
the data broker button.  I then just put the name of the image file into to
source property of the image in the report file.  I also tried putting ./and
the image file name.  Neither worked.

Any ideas?
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
hawkVisionInfo.wordpress.com
universalConnector.wordpress.com


 From: Jan Schenkel janschen...@yahoo.com
 Reply-To: How to use Revolution use-revolution@lists.runrev.com
 Date: Sat, 13 Mar 2010 09:26:06 -0800 (PST)
 To: How to use Revolution use-revolution@lists.runrev.com
 Subject: Re: Quartam Reports Image Path
 
 --- On Fri, 3/12/10, Alex Adams a...@a2technology.com wrote:
 I am including an icon in each
 Quartam report that I am building.  The image
 path stored in the report files are literal.  How do I
 store a relative
 path?
 
 Thanks,
 -- 
 Alex Adams
 
 
 Hi Alex,
 
 You're not per se limited to absolute paths - if you specify a relative path
 in the filename field, the revEngine will look for your image in a few places.
 Check out the 'defaultFolder' property in the docs.
 
 HTH,
 
 Jan Schenkel
 =
 Quartam Reports  PDF Library for Revolution
 http://www.quartam.com
 
 =
 As we grow older, we grow both wiser and more foolish at the same time.  (La
 Rochefoucauld)
 
 
 
 
 ___
 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