Re: Subscribing problem

2008-11-25 Thread Jan Schenkel
--- tareq tareq [EMAIL PROTECTED] wrote:
 Hi,
 I've subscribed successfully in use-revolution
 mailing
 list. But i can't login it. I entered my e-mail
 address into admin address field and gave my
 password,
 then I click visit subscriber list button and it
 shows
 
 
 Error
 use-revolution roster authentication failed.
 
 I've sent a mail to -
 [EMAIL PROTECTED]
 
 But no reply found.
 
 How can I visit ques n ans of mailing lists and
 can
 post my problems in it?
 
 

A mailing list is not as accessible for perusing the
content as a forum is, but has the advantage of
arriving in your mailbox, where you can organize
things the way you like, and reply immediately.

To view the mailing list archive, you don't need to
enter an email address or password - the two fill-ins
that you see are for the list administrator, to do
household tasks.

Having said that, you may want to look at alternatives
for reading the archives of the mailing lists -
especially for older posts.
http://news.gmane.org/gmane.comp.ide.revolution.user
http://www.nabble.com/Revolution---User-f2297.html

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: Sqlite select

2008-11-25 Thread Jan Schenkel
--- hershel fisch [EMAIL PROTECTED] wrote:
 Hi, how do I select all tables (table names) in
 a SQLite database?
 Thanks, Hershel
 

How about using the 'revdb_TableNames' /
'revDatabaseTableNames' function?
##
put revDatabaseTableNames(theConnectionID) into
theTableNames
##

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


exporting images in RTF from runrev

2008-11-25 Thread [EMAIL PROTECTED]
Hello,

rtf seems to be a dead end when you look to the new xml docx and openoffice 
formats, but of course will live longer than expectable. 
As posted some weeks ago under the title function  binaryDecode within a 
function ... - the following script does basic image export in rtf:

function image2rtf objektname
export image objektname of group inhalt to bilddaten as JPEG
-- for testing: export image 1 to bilddaten as JPEG
get binaryDecode(H*,bilddaten,timage) 
put {\rtf{\pict\jpegblip\picwgoal874\pichgoal1121   cr into header
put cr  }  cr  } into footer
put header  timage  footer into rtf
put rtf into URL binfile:c:/rtftest.rtf -- this works fine
return rtf -- this only works with small jpgs, do not know why
end image2rtf 

Some users could not confirm my problems with bigger jpegs in return.


P.S. I have very good results with exporting to HTML and opening in Word 2007. 
You must give the width and height of images in the html-Text for word to set 
the right rectangle - but thats the same in rtf. 
Regards,

Franz Böhmisch


Original Messageprocessed by David InfoCenter 
Subject: Re: Jan Schenkel's merge tutorials (24-Nov-2008 14:51)
From:Phil Jimmieson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]



On 21 Nov 2008, at 18:16, J. Landman Gay wrote:

 Peter Alcibiades wrote:
 Jan, many thanks - great tutorials, very illuminating.

 I have to agree, I was thunderstruck. Jan, a Word export would be 
 perfect for my current project, but I need to know how to 
 incorporate images into the rtf file. Do you know how, or do I have 
 to do my own research? Would sure appreciate any tips you may have.


I'd love to be able to export reports as Word-compatible RTF - 
complete with images. I've requested that feature in the quality centre:

http://quality.runrev.com/qacenter/show_bug.cgi?id=4231

The ideal would be if Rev could save the images as RTF directly, 
alternatively, if the RTFText could at least contain a reference or 
comment to say that an image is present, that would be useful (then 
I'd have to roll my own image to RTF code). At the moment, there's no 
sign in the RTF at all that there are images in the field.

--
Phil Jimmieson [EMAIL PROTECTED] (UK) 0151 795 4236
Computer Science Dept., Liverpool University, Ashton Building, Ashton 
Street
Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this 
ointment.




___
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

To: use-revolution@lists.runrev.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: ANN: Flow Chart Software Project

2008-11-25 Thread Chipp Walters
These names all have .com domains available:
ezFlowChart.com
FlowChartNow.com
myFlowCharter.com
FastFlowChart.com
-C
___
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


load URL file ... case sensitive!

2008-11-25 Thread Tiemo Hollmann TB
Hello,

when downloading a file with load URL, the filename has to be case
sensitive.

Who is it? Is it the rev engine, the load command, or my web server? Are
there any options to load a URL without being case sensitive with the
filenames like putting any URL in a browser and getting it

Thanks

Tiemo

 

 

___
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: load URL file ... case sensitive!

2008-11-25 Thread Luis

Hiya,

On the web, anything after the .com or .net or .org (after the Top  
Level Domain basically) is case sensitive on most web servers.


Cheers,

Luis.


On 25 Nov 2008, at 10:26, Tiemo Hollmann TB wrote:


Hello,

when downloading a file with load URL, the filename has to be case
sensitive.

Who is it? Is it the rev engine, the load command, or my web  
server? Are

there any options to load a URL without being case sensitive with the
filenames like putting any URL in a browser and getting it

Thanks

Tiemo





___
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: load URL file ... case sensitive!

2008-11-25 Thread Eric Chatonet

Bonjour Tiemo,

Le 25 nov. 08 à 11:26, Tiemo Hollmann TB a écrit :


when downloading a file with load URL, the filename has to be case
sensitive.

Who is it? Is it the rev engine, the load command, or my web  
server? Are

there any options to load a URL without being case sensitive with the
filenames like putting any URL in a browser and getting it


Any url is *always* case sensitive :-)

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: AW: load URL file ... case sensitive!

2008-11-25 Thread Luis

Hiya,

It's not the browser that checks, it's the file system on the server.  
On UNIX based servers this has always been so, on Windows based  
servers I think you might get away with not worrying about case  
sensitivity (I haven't checked on the Windows side of web serving  
lately, so this may have changed).


Cheers,

Luis.


On 25 Nov 2008, at 10:38, Tiemo Hollmann TB wrote:


Hi Luis and Eric,
ok, didn't knew that. So browsers have a build in function, which  
checks
every upper-lower constellation of the filename, regardless, how I  
input it?

Tiemo


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von Eric Chatonet
Gesendet: Dienstag, 25. November 2008 11:29
An: How to use Revolution
Betreff: Re: load URL file ... case sensitive!

Bonjour Tiemo,

Le 25 nov. 08 à 11:26, Tiemo Hollmann TB a écrit :


when downloading a file with load URL, the filename has to be case
sensitive.

Who is it? Is it the rev engine, the load command, or my web
server? Are
there any options to load a URL without being case sensitive with  
the

filenames like putting any URL in a browser and getting it


Any url is *always* case sensitive :-)

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


___
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


AW: AW: load URL file ... case sensitive!

2008-11-25 Thread Tiemo Hollmann TB

Hi Luis,
In my case I am pretty sure it is a unix server and I don't have to care
about the filename, when entering it in the URL of a browser, but I have to
care with my load URL.
if it is the file system on the server, why can't it do the same check when
I am asking for a load URL?
Tiemo

 
 Hiya,
 
 It's not the browser that checks, it's the file system on the server.
 On UNIX based servers this has always been so, on Windows based
 servers I think you might get away with not worrying about case
 sensitivity (I haven't checked on the Windows side of web serving
 lately, so this may have changed).
 
 Cheers,
 
 Luis.
 


___
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


how to load URL from a pw protected directory?

2008-11-25 Thread Tiemo Hollmann TB
Hello,

can I load a file with load URL from a password protected directory from my
webserver (protected with a htaccess file)? up to now, I don't succeed. 

or do I have to use libURLftpCommand in the case of a pw protected
directory, what would not have all the convenient functions like load URL.

Thanks for any hints

Tiemo

 

 

 

 

___
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: AW: AW: load URL file ... case sensitive!

2008-11-25 Thread Luis

Hiya,

Some UNIX servers will run a Javascript on a 404 error page that will  
convert your 'cased' URL to lower case, so you don't notice what's  
happened.
The file system on the server _does_ check, which is why they throw  
errors when the file name requested is different to that on the server.


Try this: http://www.anachreon.com/hispec/main_page.html
And then this: http://www.anachreon.com/hispec/Main_page.html  
(Notice the upper case 'M').


The second URL will redirect to the homepage as that is what it's  
been set to do when there's a bad URL 'filename'.


Or: There's something up with loadURL...

Cheers,

Luis.


On 25 Nov 2008, at 11:05, Tiemo Hollmann TB wrote:



Hi Luis,
In my case I am pretty sure it is a unix server and I don't have to  
care
about the filename, when entering it in the URL of a browser, but I  
have to

care with my load URL.
if it is the file system on the server, why can't it do the same  
check when

I am asking for a load URL?
Tiemo



Hiya,

It's not the browser that checks, it's the file system on the server.
On UNIX based servers this has always been so, on Windows based
servers I think you might get away with not worrying about case
sensitivity (I haven't checked on the Windows side of web serving
lately, so this may have changed).

Cheers,

Luis.




___
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


AW: AW: AW: load URL file ... case sensitive!

2008-11-25 Thread Tiemo Hollmann TB
Ok, good to know :)
Thanks

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Luis
 Gesendet: Dienstag, 25. November 2008 12:18
 An: How to use Revolution
 Betreff: Re: AW: AW: load URL file ... case sensitive!
 
 Hiya,
 
 Some UNIX servers will run a Javascript on a 404 error page that will
 convert your 'cased' URL to lower case, so you don't notice what's
 happened.
 The file system on the server _does_ check, which is why they throw
 errors when the file name requested is different to that on the server.
 
 Try this: http://www.anachreon.com/hispec/main_page.html
 And then this: http://www.anachreon.com/hispec/Main_page.html
 (Notice the upper case 'M').
 
 The second URL will redirect to the homepage as that is what it's
 been set to do when there's a bad URL 'filename'.
 
 Or: There's something up with loadURL...
 
 Cheers,
 
 Luis.
 


___
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


AW: load URL file ... case sensitive!

2008-11-25 Thread Tiemo Hollmann TB
Hi Luis and Eric,
ok, didn't knew that. So browsers have a build in function, which checks
every upper-lower constellation of the filename, regardless, how I input it?
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
 Gesendet: Dienstag, 25. November 2008 11:29
 An: How to use Revolution
 Betreff: Re: load URL file ... case sensitive!
 
 Bonjour Tiemo,
 
 Le 25 nov. 08 à 11:26, Tiemo Hollmann TB a écrit :
 
  when downloading a file with load URL, the filename has to be case
  sensitive.
 
  Who is it? Is it the rev engine, the load command, or my web
  server? Are
  there any options to load a URL without being case sensitive with the
  filenames like putting any URL in a browser and getting it
 
 Any url is *always* case sensitive :-)
 
 Best regards from Paris,
 Eric Chatonet.
 
 Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
 Email: [EMAIL PROTECTED]/
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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 load URL from a pw protected directory?

2008-11-25 Thread Sarah Reichelt
On Tue, Nov 25, 2008 at 9:12 PM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
 Hello,

 can I load a file with load URL from a password protected directory from my
 webserver (protected with a htaccess file)? up to now, I don't succeed.

You should be able to use something like:

load URL http://username:[EMAIL PROTECTED]

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


AW: how to load URL from a pw protected directory?

2008-11-25 Thread Tiemo Hollmann TB
Yep, didn't thought about that
Thank you
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Sarah Reichelt
 Gesendet: Dienstag, 25. November 2008 12:55
 An: How to use Revolution
 Betreff: Re: how to load URL from a pw protected directory?
 
 On Tue, Nov 25, 2008 at 9:12 PM, Tiemo Hollmann TB [EMAIL PROTECTED]
 wrote:
  Hello,
 
  can I load a file with load URL from a password protected directory from
 my
  webserver (protected with a htaccess file)? up to now, I don't succeed.
 
 You should be able to use something like:
 
 load URL http://username:[EMAIL PROTECTED]
 
 Cheers,
 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

___
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 load URL from a pw protected directory?

2008-11-25 Thread Mark Schonewille

Hi,

It should be possible to do this by setting the httpheaders. Does  
anyone know which headers one should use?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 25 nov 2008, at 12:55, Sarah Reichelt wrote:

On Tue, Nov 25, 2008 at 9:12 PM, Tiemo Hollmann TB [EMAIL PROTECTED] 
 wrote:

Hello,

can I load a file with load URL from a password protected directory  
from my
webserver (protected with a htaccess file)? up to now, I don't  
succeed.


You should be able to use something like:

load URL http://username:[EMAIL PROTECTED]

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


AW: how to load URL from a pw protected directory?

2008-11-25 Thread Tiemo Hollmann TB
It works, as Sarah proposed
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Mark Schonewille
 Gesendet: Dienstag, 25. November 2008 14:07
 An: How to use Revolution
 Betreff: Re: how to load URL from a pw protected directory?
 
 Hi,
 
 It should be possible to do this by setting the httpheaders. Does
 anyone know which headers one should use?
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum
 
 Color Converter has been updated! Get it at
 http://colorconverter.economy-x-talk.com !
 
 On 25 nov 2008, at 12:55, Sarah Reichelt wrote:
 
  On Tue, Nov 25, 2008 at 9:12 PM, Tiemo Hollmann TB [EMAIL PROTECTED]
   wrote:
  Hello,
 
  can I load a file with load URL from a password protected directory
  from my
  webserver (protected with a htaccess file)? up to now, I don't
  succeed.
 
  You should be able to use something like:
 
  load URL http://username:[EMAIL PROTECTED]
 
  Cheers,
  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

___
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: Unicode from Variable?

2008-11-25 Thread Devin Asay

Hi guys,

Wow, where to start? I completely understand your confusion and feel  
your pain. When I started with unicode I felt lost, too. Here's a  
short list of Aha! points that should help. (Caveat--I'm describing my  
understanding purely from a developer perspective; I have little  
understanding about how Rev implements unicode under the hood).


- When we talk about unicode in Rev, we're talking about UTF-16, not  
UTF-8 or UTF-32.


- The current implementation of unicode is not perfect, but it is  
perfectly usable. (Right-to-left languages are still problematic,  
especially if you need to support user input. Display of same is  
usually fine.)


- The useUnicode property has very limited application. It only  
affects the behavior of the charToNum and numToChar functions. If  
useUnicode is false, these 2 functions behave as we're accustomed; if  
true, these 2 functions assume two byte characters instead of 1 byte.


- The byte order in which unicode files are stored is dependent upon  
the processor in the host machine. That means that if you're  
transferring unicode files from, say, a PPC-based machine to an Intel- 
based one, UTF-16 files will be scrambled unless you invert the bytes  
as you read them in.


- In light of the above, it's usually best to store unicode text as  
UTF-8 or even htmlText. These have been the most reliable transfer  
formats for me.


- In a Rev field unicode and ascii get mixed up all the time. For  
instance, characters that normally fall within the ascii range, like  
space, return and common punctuation, are considered ascii. While this  
can be confusing, it does ensure that normal Rev chunk expressions  
work as expected.


- There is no 100% reliable way I know of to look at a file and  
determine heuristically whether it's unicode, or what flavor of  
unicode it is.


- The section on unicode in the Rev User Guide (section 6.4) is pretty  
good as far as it goes, but doesn't cover all the gotchas.


- Dealing with unicode in text fields is different that in buttons and  
menus.


Anyhow, those are some of the key points. For a more in depth  
discussion, see my Unicode presentation from RevLive if you've got the  
DVD. Failing that, you're welcome to read my presentation notes at:


http://asay.byu.edu/revUnicode.pdf

The stack I used in that presentation, which shows lots of examples,  
is at:


go url http://asay.byu.edu/unicode-RevLive08.rev;

I'm happy to help if you still have specific issues after you look at  
this stuff. Unicode is doable, once you learn the tricks and pitfalls.


Regards,

Devin


On Nov 24, 2008, at 6:45 PM, Scott Rossi wrote:


Recently, Phil Davis wrote:

Thanks for asking the questions, Scott. I'm interested in clarity  
here
too since I'll be working with Arabic again in the next few months,  
and

am still a Unicode lightweight.


You want questions?  I got a truck-load of 'em...

For instance...  I have characters from several languages in the  
text I'm
working with: Roman, French (accented), Chinese, and Russian.  When  
I set

the unicodeText of a field to the text, the accented French characters
render incorrectly.  Looking in the source text file, it appears the
original French characters may have been reformatted when saving the  
file as
UTF-16.  Is there any way to keep the French characters intact  
within the

unicode text?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Unicode from Variable?

2008-11-25 Thread Devin Asay


On Nov 24, 2008, at 5:56 PM, Scott Rossi wrote:


Recently, Devin Asay wrote:

Anyone know if it's possible to set the unicodeText of a field to  
data

contained in a variable?  So far all the examples I've found involve
setting
the unicodeText from an external binary file, or setting the
unicodeText of
one field to the unicodeText of another.


Yes, you can do this. All you have to do is make sure that the
variable contains valid unicode text, then do:

set the unicodeText of fld babel to varFullOfUnicode

It works with custom properties, too.

set the unicodeText of fld babel to the uniStoredText of me

As Mark said, if it's not already uni-encoded you have to run it
through uniencode() first.


I guess I'm not understanding when text should or should not be  
encoded.


I have an external text file which was saved as UTF-16 that is read  
into a

variable.  I am trying to find lineOffsets of various strings in the
variable text, but so far I keep getting values of 0 (not found).  I  
have
tried using set the useUnicode to true before reading the variable  
(and

without) and still get 0.

If I first place the text in a field (set the unicodeText of fld xyz  
to url

(binfile:  tFile)), I am able to find the offsets.


I'm not sure what all the implications are of using offset functions  
with unicode text. That's one area I've not experimented with much.



So do I need to do anything to the variable text first?  Encode?   
Decode?

Something else?


This is how I would do it:

put url binfile:myUnicodeFile.utx into myUniVar
set the unicodeText of fld myUniFld to myUniVar

This is all assuming that you're sure the unicode file is UTF16  
encoded and was produced by a processor that uses the same byte-order  
as yours. (PPC and Intel are different, for example.)


If the text file is UTF-8, do it this way:

put url binfile:myUnicode8file.ut8 into myUniVar
set the unicodeText of fld myUniFld to uniencode(myUniVar,UTF8)

HTH

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Converting Hypercard Stack -- No Scripts?

2008-11-25 Thread -= JB =-
I haven't even started transferring my hypercard work yet.  They are  
something I
have intentions of transferring and are integral to what I am working  
on.


-=JB=-



On Nov 24, 2008, at 2:42 PM, Mark Schonewille wrote:


Hi Jacque,

I think the big HyperCard conversion wave is starting now or maybe  
we are in the middle of it. Leopard is the first version of Mac OS  
X that doesn't support Classic and the next version of Mac OS X is  
the first that won't support PPC. Apple sold the last PPC Macs a  
little more than 2 years ago, while most people will try to  
continue to use their HyperCard-based systems as long as possible.


Currently, Economy-x-Talk is converting a lot of HyperCard stacks  
and I expect this to become more important, or at least stay as  
important as it currently is, over the next one or two years. I  
must say, though, that I rarely care about conversion problems. I  
often make stacks from scratch and I still run HyperCard on a  
PowerMac with Mac OS 9. Nonetheless, I believe the possibility to  
import HyperCard stacks is a very useful feature. I'd report the bug.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 21 nov 2008, at 19:40, J. Landman Gay wrote:



It's a bug, but probably a very minor one. I suspect there are  
very few people who are still importing these old HC stacks.


___
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 load URL from a pw protected directory?

2008-11-25 Thread Andre Garzia
Tiemo,

You know that if you transmit that thru HTTP instead of HTTPS, your
password is sent in plain text, right? If you're dealing with
sensitive data, I sugest you do secure http transactions.

Andre

On Tue, Nov 25, 2008 at 11:14 AM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
 It works, as Sarah proposed
 Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Mark Schonewille
 Gesendet: Dienstag, 25. November 2008 14:07
 An: How to use Revolution
 Betreff: Re: how to load URL from a pw protected directory?

 Hi,

 It should be possible to do this by setting the httpheaders. Does
 anyone know which headers one should use?

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum

 Color Converter has been updated! Get it at
 http://colorconverter.economy-x-talk.com !

 On 25 nov 2008, at 12:55, Sarah Reichelt wrote:

  On Tue, Nov 25, 2008 at 9:12 PM, Tiemo Hollmann TB [EMAIL PROTECTED]
   wrote:
  Hello,
 
  can I load a file with load URL from a password protected directory
  from my
  webserver (protected with a htaccess file)? up to now, I don't
  succeed.
 
  You should be able to use something like:
 
  load URL http://username:[EMAIL PROTECTED]
 
  Cheers,
  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

 ___
 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




-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Sqlite select

2008-11-25 Thread hershel fisch
On 11/25/08 12:03 AM, Jan Schenkel [EMAIL PROTECTED] wrote:

Thanks, 
You know, was wondering with what to sweep a big house?
With a broom. LOL

 --- hershel fisch [EMAIL PROTECTED] wrote:
 Hi, how do I select all tables (table names) in
 a SQLite database?
 Thanks, Hershel
 
 
 How about using the 'revdb_TableNames' /
 'revDatabaseTableNames' function?
 ##
 put revDatabaseTableNames(theConnectionID) into
 theTableNames
 ##
 
 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


Re: OT: Parallels 4

2008-11-25 Thread J. Landman Gay
Thanks to all for the feedback. The article Jim Sims posted was scary, 
and pretty fairly represents what I've read in the Parallels forums. 
Bob's experiences are similar. I'll ponder some more on whether to make 
the jump; no one has said definitively that the new features are worth 
the trouble.


--
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: OT: Parallels 4

2008-11-25 Thread Phil Davis
You know, you can buy a Windows box for not that much. That's what I did 
after using Parallels for a while.


(Well, OK, it WAS that much after adding monitor, XP, Vista etc, but a 
good investment IMHO since most of my work is cross-platform.)



J. Landman Gay wrote:
Thanks to all for the feedback. The article Jim Sims posted was scary, 
and pretty fairly represents what I've read in the Parallels forums. 
Bob's experiences are similar. I'll ponder some more on whether to 
make the jump; no one has said definitively that the new features are 
worth the trouble.




--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
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: Unicode from Variable?

2008-11-25 Thread Phil Davis

Hi Devin,

Thanks for your short list! Your insights are massively helpful.

Phil



Devin Asay wrote:

Hi guys,

Wow, where to start? I completely understand your confusion and feel 
your pain. When I started with unicode I felt lost, too. Here's a 
short list of Aha! points that should help. (Caveat--I'm describing my 
understanding purely from a developer perspective; I have little 
understanding about how Rev implements unicode under the hood).


- When we talk about unicode in Rev, we're talking about UTF-16, not 
UTF-8 or UTF-32.


- The current implementation of unicode is not perfect, but it is 
perfectly usable. (Right-to-left languages are still problematic, 
especially if you need to support user input. Display of same is 
usually fine.)


- The useUnicode property has very limited application. It only 
affects the behavior of the charToNum and numToChar functions. If 
useUnicode is false, these 2 functions behave as we're accustomed; if 
true, these 2 functions assume two byte characters instead of 1 byte.


- The byte order in which unicode files are stored is dependent upon 
the processor in the host machine. That means that if you're 
transferring unicode files from, say, a PPC-based machine to an 
Intel-based one, UTF-16 files will be scrambled unless you invert the 
bytes as you read them in.


- In light of the above, it's usually best to store unicode text as 
UTF-8 or even htmlText. These have been the most reliable transfer 
formats for me.


- In a Rev field unicode and ascii get mixed up all the time. For 
instance, characters that normally fall within the ascii range, like 
space, return and common punctuation, are considered ascii. While this 
can be confusing, it does ensure that normal Rev chunk expressions 
work as expected.


- There is no 100% reliable way I know of to look at a file and 
determine heuristically whether it's unicode, or what flavor of 
unicode it is.


- The section on unicode in the Rev User Guide (section 6.4) is pretty 
good as far as it goes, but doesn't cover all the gotchas.


- Dealing with unicode in text fields is different that in buttons and 
menus.


Anyhow, those are some of the key points. For a more in depth 
discussion, see my Unicode presentation from RevLive if you've got the 
DVD. Failing that, you're welcome to read my presentation notes at:


http://asay.byu.edu/revUnicode.pdf

The stack I used in that presentation, which shows lots of examples, 
is at:


go url http://asay.byu.edu/unicode-RevLive08.rev;

I'm happy to help if you still have specific issues after you look at 
this stuff. Unicode is doable, once you learn the tricks and pitfalls.


Regards,

Devin


On Nov 24, 2008, at 6:45 PM, Scott Rossi wrote:


Recently, Phil Davis wrote:


Thanks for asking the questions, Scott. I'm interested in clarity here
too since I'll be working with Arabic again in the next few months, and
am still a Unicode lightweight.


You want questions?  I got a truck-load of 'em...

For instance...  I have characters from several languages in the text 
I'm
working with: Roman, French (accented), Chinese, and Russian.  When I 
set

the unicodeText of a field to the text, the accented French characters
render incorrectly.  Looking in the source text file, it appears the
original French characters may have been reformatted when saving the 
file as
UTF-16.  Is there any way to keep the French characters intact within 
the

unicode text?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
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: OT: Parallels 4

2008-11-25 Thread J. Landman Gay

Phil Davis wrote:
You know, you can buy a Windows box for not that much. That's what I did 
after using Parallels for a while.


Yeah, I know... I did that for a few years. But I got spoiled, I really 
like having everything on a single monitor. And Parallels 3 is working 
great, I've got Windows and Ubuntu on it.


--
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: OT: Parallels 4

2008-11-25 Thread Scott Rossi
Recently, J. Landman Gay wrote:

 You know, you can buy a Windows box for not that much. That's what I did
 after using Parallels for a while.
 
 Yeah, I know... I did that for a few years. But I got spoiled, I really
 like having everything on a single monitor.

As an alternate point of view, I have a multiple monitor setup and recently
got back into using a small utility called Synergy.  It acts as a
software-based KVM switch, which allows you to use one keyboard/mouse on
multiple systems.  You set up one system to be a server, and assign clients
to it from other systems, the number of which, AFAIK, is unlimited.  I have
a desktop Mac system, a desktop Vista system, and a laptop XP system set up
around my desk, and I can simply drag the mouse from OSX to Vista to XP.
The mouse magically appears on the other systems where you would expect it
to be. I find this to be immensely valuable for cross-platform development.
Plus moving the mouse across 3 screens is very cool in a geeky sort of way.

Sadly, you cannot drag files from system to another (Synergy was last
supported in '06 I believe), but clipboard text can be transferred from one
system to another and files can be moved back and forth using standard
filesharing/dropbox.  Plus there's a 3rd party OSX GUI configurator that
sits in the System Preferences allows you to more easily configure the
server software (of course you could run the server from Windows as well).

If you want to take a look:
Synergy
http://sourceforge.net/project/showfiles.php?group_id=59275release_id=40663
7

Synergy Server GUI for OSX
http://sourceforge.net/projects/osxsynergygui/

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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: Unicode from Variable?

2008-11-25 Thread Scott Rossi
Thanks for the response Devin, but I'm still unclear how you DO anything
with the data stored in the variable item offsets, line offsets,
comparisons, etc).  A kind listmember clued me into the fact that you must
first uniEncode the thing you want to find in the variable, and I have since
found that by uniDecoding the variable I can get at my English/Roman
content.  But it seems that doing all the standard variable manipulation
we're used to is much more complex/fragile when dealing with Unicode.

In any event, thanks for the pointers to the stacks.  I found several
example stacks around the 'net (including your site), and though each seems
to have some examples that don't work properly, the majority of info is
helpful.


 I have an external text file which was saved as UTF-16 that is read
 into a
 variable.  I am trying to find lineOffsets of various strings in the
 variable text, but so far I keep getting values of 0 (not found).  I
 have
 tried using set the useUnicode to true before reading the variable
 (and
 without) and still get 0.
 
 If I first place the text in a field (set the unicodeText of fld xyz
 to url
 (binfile:  tFile)), I am able to find the offsets.
 
 I'm not sure what all the implications are of using offset functions
 with unicode text. That's one area I've not experimented with much.
 
 
 So do I need to do anything to the variable text first?  Encode?
 Decode?
 Something else?
 
 This is how I would do it:
 
 put url binfile:myUnicodeFile.utx into myUniVar
 set the unicodeText of fld myUniFld to myUniVar


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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: Unicode from Variable?

2008-11-25 Thread Mark Schonewille

Hi Scott,

You have to compare chunks of data as binary data, not strings. This  
means that all chunk expressions are useless. Sometimes, I translate  
the data to hexadecimal, but that's just one of many possibilities.


If you are working with uniEncoded plain text, you can indeed  
uniDecode the data and use chunk expressions.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 25 nov 2008, at 23:16, Scott Rossi wrote:

Thanks for the response Devin, but I'm still unclear how you DO  
anything

with the data stored in the variable item offsets, line offsets,
comparisons, etc).  A kind listmember clued me into the fact that  
you must
first uniEncode the thing you want to find in the variable, and I  
have since

found that by uniDecoding the variable I can get at my English/Roman
content.  But it seems that doing all the standard variable  
manipulation

we're used to is much more complex/fragile when dealing with Unicode.

In any event, thanks for the pointers to the stacks.  I found several
example stacks around the 'net (including your site), and though  
each seems
to have some examples that don't work properly, the majority of info  
is

helpful.




___
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: Unicode from Variable?

2008-11-25 Thread Devin Asay


On Nov 25, 2008, at 3:16 PM, Scott Rossi wrote:

Thanks for the response Devin, but I'm still unclear how you DO  
anything

with the data stored in the variable item offsets, line offsets,
comparisons, etc).  A kind listmember clued me into the fact that  
you must
first uniEncode the thing you want to find in the variable, and I  
have since

found that by uniDecoding the variable I can get at my English/Roman
content.


I'll confess, that most of my work in unicode has involved displaying  
rather than analyzing or manipulating the text in any complex way. I  
worked on a way to sort Cyrillic unicode, but it was a killer, and I  
never got it exactly right. I think in general you're going to have a  
hard time doing some of this stuff in variables, since there is no  
unicodeText property of variables, only the raw strings of bytes. I  
tend to put everything in a field, even if it's hidden, and do stuff  
that way. Statements like


line 2 of the unicodeText of fld foo
word 3 to 5 of the unicodeText of fld bar

seem to work just fine. Given that, if I were searching for strings in  
unicode text, I'd probably do it something like:


put the unicodeText of fld searchterm into tSrchStr
put lineOffset(tSrchStr,the unicodeText of fld searchcontainer) into  
tLineNum


You could also try doing everything with UTF-8:

put unidecode(the unicodeText of fld searchTerm,UTF8 into tSrchStr
put unidecode(the unicodeText of fld searchcontainer,UTF8) into  
tSrchCont

put lineOffset(tSrchStr,tSrchCont) into tLineNum

This is all untested. Just my hunch given what I've learned about how  
unicode works in Rev. If you need to, say, select said found unicode  
text in a field, it could get dicey.



 But it seems that doing all the standard variable manipulation
we're used to is much more complex/fragile when dealing with Unicode.


That's pretty much the takeaway message. Everything is doable, but  
more fragile and complex. That said, once you figure it out, it's  
pretty stable and reliable.



In any event, thanks for the pointers to the stacks.  I found several
example stacks around the 'net (including your site), and though  
each seems
to have some examples that don't work properly, the majority of info  
is

helpful.


If you found any of my examples that didn't work, I'd love to know, if  
you get a chance to pass them on.


HTH

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: OT: Parallels 4

2008-11-25 Thread Thomas McGrath III
I have been using Synergy for a couple of years now and it really  
works great. It usually blows people minds when they see my mouse run  
across both of my Mac monitors and end up right on a windows  
machine... It is really cool once you figure out the setup.



Tom McGrath III
Lazy River Software
[EMAIL PROTECTED]

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html



On Nov 25, 2008, at 5:02 PM, Scott Rossi wrote:


Recently, J. Landman Gay wrote:

You know, you can buy a Windows box for not that much. That's what  
I did

after using Parallels for a while.


Yeah, I know... I did that for a few years. But I got spoiled, I  
really

like having everything on a single monitor.


As an alternate point of view, I have a multiple monitor setup and  
recently

got back into using a small utility called Synergy.  It acts as a
software-based KVM switch, which allows you to use one keyboard/ 
mouse on
multiple systems.  You set up one system to be a server, and assign  
clients
to it from other systems, the number of which, AFAIK, is unlimited.   
I have
a desktop Mac system, a desktop Vista system, and a laptop XP system  
set up
around my desk, and I can simply drag the mouse from OSX to Vista to  
XP.
The mouse magically appears on the other systems where you would  
expect it
to be. I find this to be immensely valuable for cross-platform  
development.
Plus moving the mouse across 3 screens is very cool in a geeky sort  
of way.


Sadly, you cannot drag files from system to another (Synergy was last
supported in '06 I believe), but clipboard text can be transferred  
from one

system to another and files can be moved back and forth using standard
filesharing/dropbox.  Plus there's a 3rd party OSX GUI configurator  
that

sits in the System Preferences allows you to more easily configure the
server software (of course you could run the server from Windows as  
well).


If you want to take a look:
Synergy
http://sourceforge.net/project/showfiles.php?group_id=59275release_id=40663
7

Synergy Server GUI for OSX
http://sourceforge.net/projects/osxsynergygui/

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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


can't say create stack in a CGI?

2008-11-25 Thread Phil Davis
I'm just doing a reality check for what I observe in my CGI world: you 
can't use Rev's create stack command when running in a windowless 
environment (e.g. on a remote server with the -ui flag).


True?

Are there any other CGI secrets I've missed?

Thanks -
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
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: Unicode from Variable?

2008-11-25 Thread Kenji Kojima

Hi,

If you like to handle UTF16 directly. You can use function  
countUnicodeLines and unicodeLineOffset.


I made a Japanese sorting stack before. You can see the functions in  
the stack.
go stack url http://www.kenjikojima.com/runrev/handbook/download/JpnSortStudy.rev 



You cannot use the num of lines and lineOffset for UTF16.  
Sometimes you get wrong numbers.


And it may help too.
go stack url http://www.kenjikojima.com/runrev/handbook/download/JpnGetChars.rev 



Also you can convert UTF16 to UTF8.
--
Kenji Kojima
http://www.kenjikojima.com/



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


problem with calendar tutorial

2008-11-25 Thread Mark Smith
Before I begin, Jacqueline suggested I let the other Mark Smith in this list
know that I am not a doppleganger. We probably look nothing alike :-)

That said, I am very new to this and just fooling around with some of the
tutorial examples, in this case the first one, the calendar. All goes well
until I get to this point:

You can create a background image in any graphic
editing application such as Gimp or Photoshop then
import it into Revolution as a control. This image can
then be copied into the background group using the
edit group control. If the imported image has a
particular shape you can force the stack itself to take
that shape.

I import the image ok using the File menu command import as control (at least
I think that is what I am to do). And then the image shows up. But I've not
been able to figure out how you move it into the background group using the
edit group control. When I select the image the edit group control is not an
option. If I select the group on the card, then select edit group nothing
happens. There must be some sequence of mouse clicks that I am just not
getting. Any advice would be great. Thanks

Oh, and at midnight I turn into a pumpkin according to the trial remaining
days counter. I better go buy something if I am too be able to complete this
tutorial. Cheers,

the other mark smith

___
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: exporting images in RTF from runrev

2008-11-25 Thread Ken Ray
Thanks for that, Franz! I've been able to *reference* images on disk with
RTF, but wasn't sure how to *embed* them!

It took your code, abstracted it a bit, and adapted it slightly to accept
optional width, height and format (in case anyone cares if it's JPEG vs PNG)
- watch line wraps:

on mouseUp
  put imageToRTF(long id of img 1,,,png) into tRawRTF
  ask file Save RTF as:
  if it   then
writeRTFDoc tRawRTF,it
  end if
end mouseUp

on writeRTFDoc pRawRTF,pFileName
  put {\rtf  pRawRTF  cr  } into tRTF
  if the platform is MacOS then set the fileType to MSWDRTF 
  put tRTF into url (binfile:  pFileName)
  put the result into tResult
  if tResult   then return Error:  tResult
end writeRTFDoc

function imageToRTF pImageRef,pOpt_Width,pOpt_Height,pOpt_Format
  local tData,tImageBinary,tW,tH
  if exists(pImageRef) then
if (pOpt_Format=) or (pOpt_Format is not among the items of
jpeg,png) then put jpeg into tFormat
else put toLower(pOpt_Format) into tFormat
do export pImageRef to tData as  tFormat
get binaryDecode(H*,tData,tImageBinary)
if pOpt_Width =  then put the width of pImageRef into tW
else put pOpt_Width into tW
if pOpt_Height =  then put the height of pImageRef into tH
else put pOpt_Height into tH
put (tW * 1440) into tW  -- convert pixels to twips
put (tH * 1440) into tH  -- convert pixels to twips
put {\pict\  tFormat  blip\picwgoal  tW  \
\pichgoal  tH cr  tImageBinary  cr  \
} into tRetVal
return tRetVal
  else
return Error: Image '  pImageRef  ' does not exist.
  end if
end imageToRTF


 Some users could not confirm my problems with bigger jpegs in return.

I've encountered this - there's a maximum limit to the size of an image
object in Rev - I've successfully gotten to 4000 x 4000 pixels, but if it's
too large you get an error in attempting to import the image into Rev. Not
sure of the exact maximum though...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


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


Re: problem with calendar tutorial

2008-11-25 Thread Sarah Reichelt
 I import the image ok using the File menu command import as control (at 
 least
 I think that is what I am to do). And then the image shows up. But I've not
 been able to figure out how you move it into the background group using the
 edit group control. When I select the image the edit group control is not an
 option. If I select the group on the card, then select edit group nothing
 happens. There must be some sequence of mouse clicks that I am just not
 getting. Any advice would be great. Thanks

Here is my preferred method:

make sure you have Select Grouped Controls turned OFF (in the Edit menu)
select your newly imported image
cut it
select the group (make sure the whole group is selected, not just a
single object)
right-click on the group and select Paste into group

The image will now be a part of the group.

Cheers,
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: can't say create stack in a CGI?

2008-11-25 Thread Phil Davis
Also, I just learned you can't pop card in a CGI, at least not using 
the basic structure. I didn't try popping a card into a variable, etc.


Phil


Phil Davis wrote:
I'm just doing a reality check for what I observe in my CGI world: you 
can't use Rev's create stack command when running in a windowless 
environment (e.g. on a remote server with the -ui flag).


True?

Are there any other CGI secrets I've missed?

Thanks -


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


Re: problem with calendar tutorial

2008-11-25 Thread Mark Smith

Hi Mark!

I said only recently on this list, that one day all people will be  
called Mark. I didn't let on that all people would be called Mark  
Smith, as I felt that these things should be done in stages - but I  
see the plan is further along than I'd thought!


Still, welcome to the list, and you'll find that even those who  
stubbornly hold on to their weird non-mark-smith names are very  
helpful and knowledgeable.


The routine I have for adding things to groups is:
1. Select the item to be added - in this case your image, and copy or  
cut it

2. Deselect Select Grouped in the toolbar
3. Select your group
4. Select Edit Group in the toolbar
5. Paste

Best,

Mark Smith

On 26 Nov 2008, at 02:00, Mark Smith wrote:

Before I begin, Jacqueline suggested I let the other Mark Smith in  
this list

know that I am not a doppleganger. We probably look nothing alike :-)

That said, I am very new to this and just fooling around with some  
of the
tutorial examples, in this case the first one, the calendar. All  
goes well

until I get to this point:

You can create a background image in any graphic
editing application such as Gimp or Photoshop then
import it into Revolution as a control. This image can
then be copied into the background group using the
edit group control. If the imported image has a
particular shape you can force the stack itself to take
that shape.

I import the image ok using the File menu command import as  
control (at least
I think that is what I am to do). And then the image shows up. But  
I've not
been able to figure out how you move it into the background group  
using the
edit group control. When I select the image the edit group control  
is not an
option. If I select the group on the card, then select edit group  
nothing
happens. There must be some sequence of mouse clicks that I am just  
not

getting. Any advice would be great. Thanks

Oh, and at midnight I turn into a pumpkin according to the trial  
remaining
days counter. I better go buy something if I am too be able to  
complete this

tutorial. Cheers,

the other mark smith

___
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


[ANN] Sale on Revolution Media

2008-11-25 Thread Bill Marriott
Hi folks,

I just wanted to drop a short note that Revolution Media is $10 off until 
Nov 30. You don't need a coupon code to take advantage of this offer, it's 
marked down in the store. A great stocking stuffer for those special 
someones who want to learn programming or could benefit from having a tool 
like Revolution in their repertoire!

- Bill 



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


Re: problem with calendar tutorial

2008-11-25 Thread J. Landman Gay

Mark Smith wrote:

Before I begin, Jacqueline suggested I let the other Mark Smith in this list
know that I am not a doppleganger. We probably look nothing alike :-)


Yay! You came! :) Personally I think we should give both of you pet names.


I import the image ok using the File menu command import as control (at least
I think that is what I am to do). And then the image shows up. But I've not
been able to figure out how you move it into the background group using the
edit group control. When I select the image the edit group control is not an
option. If I select the group on the card, then select edit group nothing
happens. There must be some sequence of mouse clicks that I am just not
getting. Any advice would be great. Thanks


There've been a couple of ways posted that will move your image into the 
group. Here's another method. When you import a control, it will go into 
the layer that is currently active. Usually this is the card layer, 
which is what happened when you did it. You can use either Sarah's or 
(the other) Mark's method to move it into the group.


Or you can just import it into the group directly. Make sure Edit 
grouped controls is turned off in the toolbar, click on your group to 
select it, and then click Edit group in the toolbar. Now you are in 
group editing mode. Now import your image as a control. It goes into the 
group layer because that's the active one. Then click off Edit group 
and you're back on the card, with your image in the group.




Oh, and at midnight I turn into a pumpkin according to the trial remaining
days counter. I better go buy something if I am too be able to complete this
tutorial. Cheers,


Cutting it close. :)

--
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: can't say create stack in a CGI?

2008-11-25 Thread Richard Gaskin

Phil Davis wrote:
I'm just doing a reality check for what I observe in my CGI world: you 
can't use Rev's create stack command when running in a windowless 
environment (e.g. on a remote server with the -ui flag).


So I've not had difficulty creating any object or modifying any 
properties of any object in a CGI.


I just double-checked this script on my Dreamhost server and it created 
the specified stack file:



#!mc -ui

on startup
 put Content-Type: text/html  crlf \
  Content-Length: length(Hello)  crlf  crlf
 create stack teststack
 set the filename of stack teststack to ./dd/ttt.mc
 save stack teststack
 put Hello
 quit
end startup


One thing to note is that sometimes cgi-bin folders are set up with 
permissions that prevent new files from being created within them.  If 
that's what your script was trying that might be the issue. Try a 
sub-folder instead.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: can't say create stack in a CGI?

2008-11-25 Thread J. Landman Gay

Phil Davis wrote:
I'm just doing a reality check for what I observe in my CGI world: you 
can't use Rev's create stack command when running in a windowless 
environment (e.g. on a remote server with the -ui flag).


True?


I think the limitation is in the default permissions of the cgi folder, 
which is almost always set not to allow file creation. You generally 
can't create new text files in there either. I think you should be able 
to create a new stack in a folder somewhere else that has permissions 
set for the cgi account (whose group I always forget, is it nobody? 
Something like that.) The same thing happens if you try to save an 
existing stack that lives in the cgi folder. It won't save, because the 
auto-backup that Rev makes while saving can't be created.


--
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: can't say create stack in a CGI?

2008-11-25 Thread J. Landman Gay

Phil Davis wrote:
Also, I just learned you can't pop card in a CGI, at least not using 
the basic structure. I didn't try popping a card into a variable, etc.


It might work if you push the long ID of the card. I've had trouble with 
card references in CGIs before that were solved that way.


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


OT: Mark well [was: problem with calendar tutorial]

2008-11-25 Thread J. Landman Gay

Mark Smith wrote:

I said only recently on this list, that one day all people will be 
called Mark. I didn't let on that all people would be called Mark Smith, 
as I felt that these things should be done in stages - but I see the 
plan is further along than I'd thought!


I just googled Mark Smith and got 1,180,000 results. You've really 
been busy.


Still, welcome to the list, and you'll find that even those who 
stubbornly hold on to their weird non-mark-smith names are very helpful 
and knowledgeable.


Actually, I'm willing to consider becoming a Mark Smith. After 20+ years 
of being married to a Gay I occasionally think I'd like being a 
Smith...less explaining to do.


Which leads me to...Proposition 8. My husband says, Gay marriage has 
been practiced in our family for generations. I don't see what the big 
deal is.


--
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: OT: Mark well [was: problem with calendar tutorial]

2008-11-25 Thread Joe Lewis Wilkins

Hey all,

Any name is better than one of my lady friends whose last name is  
Penix (smile) Google that if you will.


Joe Wilkins

On Nov 25, 2008, at 7:48 PM, J. Landman Gay wrote:


Mark Smith wrote:

I said only recently on this list, that one day all people will be  
called Mark. I didn't let on that all people would be called Mark  
Smith, as I felt that these things should be done in stages - but I  
see the plan is further along than I'd thought!


I just googled Mark Smith and got 1,180,000 results. You've really  
been busy.


Still, welcome to the list, and you'll find that even those who  
stubbornly hold on to their weird non-mark-smith names are very  
helpful and knowledgeable.


Actually, I'm willing to consider becoming a Mark Smith. After 20+  
years of being married to a Gay I occasionally think I'd like  
being a Smith...less explaining to do.


Which leads me to...Proposition 8. My husband says, Gay marriage  
has been practiced in our family for generations. I don't see what  
the big deal is.


--
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: exporting images in RTF from runrev

2008-11-25 Thread Trevor DeVore

On Nov 25, 2008, at 9:08 PM, Ken Ray wrote:

Thanks for that, Franz! I've been able to *reference* images on disk  
with

RTF, but wasn't sure how to *embed* them!


I'm really interested in this as well. The only problem is that the  
RTF files don't display the image in TextEdit or Pages on Mac or in  
WordPad on Windows. I can only see the image in Word on OS X (I don't  
have Word for Windows). What other programs can see images in RTF files?


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.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: OT: Parallels 4

2008-11-25 Thread Scott Rossi
Recently, I wrote about Synergy:

 Plus there's a 3rd party OSX GUI configurator that sits in the System
 Preferences allows you to more easily configure the server software

Sorry, minor correction -- the front end utility for Synergy I meant to list
is called SynergyKM.

http://sourceforge.net/project/showfiles.php?group_id=176447package_id=2029
75release_id=447387

This is the item that makes configuring Synergy a lot easier on OSX.
Thanks to Ken Ray for pointing this out.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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