XP, Vista, Choosing where to save rev files

2009-09-04 Thread jim sims
If I let a Windows user choose via dialog where my app creates and  
saves a rev file, will any folders that can be chosen by the user be  
accessible to the rev app when it goes to open that file again?


I'm a bit worried about users choosing to save the file into a folder  
that Vista will then not allow the rev app to open that file.


Maybe I'm being overly paranoid  ;-)   But Vista seems a bit cranky.


sims

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


Internet site rules for on-Rev

2009-09-04 Thread Francis Nugent Dixon

Hi from Paris,

I've been researching information for my internet
site for some years now, and I am soon ready to
go live. I have an on-Rev licence, and am impatient
to reap the fruits of my work. I even wrote a HTML
generator in Transcript, to help me build my pages,
because I couldn't understand DreamWeaver :)

Several years ago, when they (Who are THEY ?) opened
the suffix .fr, I immediately contacted a company who
reserves site names, and they charge me some small fee
every year, for retaining my site name. I am not sure
if site name reservation is complicated, but then I
suppose that if we all knew how to fill in a few forms,
we would never need lawyers .

Question : What do I do when I want to use the on-Rev
site for my site location ? Must I continue paying the
yearly fee to this Site Company, or can I short-circuit
them, now that I have a lifetime with on-Rev ?

I imagine that I am not the first to ask this question.

- Francis

Nothing should ever be done for the first time !


___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Jim Ault

Why would the filename ever have any line endings?


On Sep 3, 2009, at 10:39 PM, Sivakatirswami wrote:

I have some UTF-16 unicode raw text. If I import this into Pages, it  
displays the font correctly and also the line breaks between  
paragraphs correctly


But if I use this function:

on mouseUp
answer file Choose a unicode file to read in.
if it is empty then exit mouseUp
put binfile:  it into urlName
replace numtochar(13) with numtochar(10) in urlName
set the unicodeText of fld display to url urlName
end mouseUp

the line breaks are not appearing in the field in revolution.


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: Internet site rules for on-Rev

2009-09-04 Thread Jim Ault
The domain name you reserve the right to use is registered with a  
company that does registration functions only.
You do not have to ever actually put web pages on a hosted computer to  
retain the ownership of the domain.


When you do establish a location (IP address) for your web page(s),  
you need to update the record with the domain registrar with this  
computer location.


One of the functions of a domain registrar is to let the world know  
when you make changes to your domain record.


OnRev is a hosting company that establishes and maintains the location  
of your web page(s) and will give you the correct addresses to use for  
updating your domain record.  These are called DNS servers (Domain  
Name Servers maintained by OnRev.


-1-  contact a *domain registration* company to reserve the domain you  
want if it is available
-2-  contact your *hosting* company to get the name server addresses  
to update your registration record
-3-  follow the directions of your hosting company for uploading the  
actual HTML pages to your hosting company hard drive


If the hosting company goes out of business, you lose the location of  
your web site, but not the registration
If you change hosting companies, you then change the name servers on  
your registration record to let the world know how to get to your new  
location.

One domain can only be routed to one primary IP address.
The reason for secondary IP addresses is in case the server at the  
first IP address is not available.


Your *hosting* company maintains a Name Server, which listens for  
http:// requests and forwards the request to your location (web pages)


You can have 10 domain names with DNS entries all 'pointing to' the  
same *hosting* company (eg OnRev)
In that case, you would have 10 home folders on the *hosting* company  
server, each named as one of the 10 domains.
You could have 9 of the folders 'redirecting' traffic to the 10th  
folder which contains your favorite home page.



Hope this helps.

Jim Ault
Las Vegas


On Sep 4, 2009, at 3:10 AM, Francis Nugent Dixon wrote:


Hi from Paris,

I've been researching information for my internet
site for some years now, and I am soon ready to
go live. I have an on-Rev licence, and am impatient
to reap the fruits of my work. I even wrote a HTML
generator in Transcript, to help me build my pages,
because I couldn't understand DreamWeaver :)

Several years ago, when they (Who are THEY ?) opened
the suffix .fr, I immediately contacted a company who
reserves site names, and they charge me some small fee
every year, for retaining my site name. I am not sure
if site name reservation is complicated, but then I
suppose that if we all knew how to fill in a few forms,
we would never need lawyers .

Question : What do I do when I want to use the on-Rev
site for my site location ? Must I continue paying the
yearly fee to this Site Company, or can I short-circuit
them, now that I have a lifetime with on-Rev ?

I imagine that I am not the first to ask this question.


___
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: XP, Vista, Choosing where to save rev files

2009-09-04 Thread Jim Ault
Run a loop that let's the user choose a folder, then you write a one- 
word temp file, read it, test for success.
If not success, then loop back to inform the user 'no go, choose  
another, or set the security to allow access'


Jim Ault
Las Vegas


On Sep 4, 2009, at 3:25 AM, jim sims wrote:

If I let a Windows user choose via dialog where my app creates and  
saves a rev file, will any folders that can be chosen by the user be  
accessible to the rev app when it goes to open that file again?


I'm a bit worried about users choosing to save the file into a  
folder that Vista will then not allow the rev app to open that file.


Maybe I'm being overly paranoid  ;-)   But Vista seems a bit cranky.


___
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


What is the current version of Rev?

2009-09-04 Thread Len Morgan
I downloaded the latest version of revEnterprise which is supposed to be 
dp4.  However the about Rev page shows Build 900 dp-3.  Is this the 
latest version and just mismarked on the about page or did Check For 
Updates get the wrong file?


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: What is the current version of Rev?

2009-09-04 Thread Sarah Reichelt
On Fri, Sep 4, 2009 at 9:41 PM, Len Morganlen-mor...@crcom.net wrote:
 I downloaded the latest version of revEnterprise which is supposed to be
 dp4.  However the about Rev page shows Build 900 dp-3.  Is this the
 latest version and just mismarked on the about page or did Check For
 Updates get the wrong file?

Mine says 4.0.0-dp-4 build 910. I just got it through Check for
updates but I already had dp-3.

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: What is the current version of Rev?

2009-09-04 Thread Nicolas Cueto
Don't have an answer, I'm afraid.

Update to dp4 is also not working on my WinXP machine. So, I started
this same discussion on the improve rev list. Several suggestions
were offered -- check the Rev folder for a new folder dp4, initiate
the update not from dp3 but from a previous version (3.5). But all
gave the same result: after Check for updates, entering the license
key and restarting, dp3 persists -- and I doubt anything was
downloaded, because Rev restarted immediately.

Perhps someone from Rev is listening in and can point us to a direct
url for downloading dp4?

--
Nicolas Cueto
___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Kenji Kojima

Hi Sivakatirswami,

I have some UTF-16 unicode raw text. If I import this into Pages, it  
displays the font correctly and also the line breaks between  
paragraphs correctly


But if I use this function:

on mouseUp
answer file Choose a unicode file to read in.
if it is empty then exit mouseUp
put binfile:  it into urlName
replace numtochar(13) with numtochar(10) in urlName
set the unicodeText of fld display to url urlName
end mouseUp

the line breaks are not appearing in the field in revolution.



It worked. I used Japanese UTF-16 on Mac OS 10.6, Revolution 4.0.


Also if I try to analyze what chars are there, where the line break  
should be, by selecting across a missing line break and then use  
this test:


on mouseUp
 set the useUnicode to true
 if the selection is empty then
answer No Selection with ok
 end if
 put the selection into tUnicode
 put tUnicode
 repeat for each char x in tUnicode
put  chartonum(x)  cr after tOutput  end repeat
put tOutput # returns empty
end mouseUp




it should be

  repeat with i=1 to the num of chars of tUnicode step 2
  put  chartonum(char i to i+1 of tUnicode)  cr after tOutput
   end repeat


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


Re: Launch another app from my standalone

2009-09-04 Thread Adrian Williams

Phil,

Thanks for spotting that a FUNCTION needs to be stated before mouseUp.
I knew that of course but overlooked it. Something that happens with  
irregular use of Rev.
Thanks too to everyone who responded to resolve my problems. In the  
process I learned a lot.

At least one thing I learned; I must learn more about Rev!

Adrian

On 3 Sep 2009, at 09:09, Phil Jimmieson wrote:


Hi Adrian,
if the script in your email is exactly what you are using, then you  
need to move the function declaration outside of the mouseup  
handler. I don't think that these things can be nested.


- - -
FUNCTION getPathToFile pFile
   put the filename of this stack into the theFile
   set the itemdelimiter to slash
   put pFile into the last item of theFile
   return theFile
end getPathToFile


on mouseUp
  start using stack My App

  put MyPrettyFont.ttf into myList
  removeFonts myList
  put the result into rslt
  if rslt is not empty then
   answer information rslt
  end if

  --To use:
  put getPathFile(My App.exe) into tFile
  launch tFile

  stop using stack My App  --(Ooops. Corrected literal 'May' here  
in my last message, this is not the problem)

end mouseUp
- - -

On 3 Sep 2009, at 07:42, Adrian Williams wrote:


Phil,

Mouse up calls stack script to remove installed font and return
result. That already works.
When adding the FUNCTION code, the FUNCTION line keeps throwing up  
the

error.
I've followed all the advice everyone has given - I'm stumped.
- - -
on mouseUp
start using stack My App

  put MyPrettyFont.ttf into myList
  removeFonts myList
  put the result into rslt
  if rslt is not empty then
   answer information rslt
  end if

FUNCTION getPathToFile pFile
put the filename of this stack into the theFile
set the itemdelimiter to slash
put pFile into the last item of theFile
return theFile
end getPathToFile

--To use:
put getPathFile(My App.exe) into tFile
launch tFile

stop using stack My App  --(Ooops. Corrected literal 'May' here in
my last message, this is not the problem)
end mouseUp
- - -
Does that help?
Adrian


On 2 Sep 2009, at 18:26, Phil Davis wrote:


So... maybe we should start at the beginning. The object in which
the error occurred is apparently named OK. What does the code of
that object look like?

Phil Davis



Adrian Williams wrote:

Phil,
Already tried just 'end' - it gets the same error!
Adrian

On 2 Sep 2009, at 17:13, Phil Jimmieson wrote:


Hi Adrian,
at the end of the function definition, you only put end and the
name of the function - you don't include the parameter list.

On 2 Sep 2009, at 17:10, Adrian Williams wrote:


Len or anyone else have an answer to this,

'end FUNCTION' gives the error:

Handler: error in command
ObjectOK
LineFUNCTION getPathToFile pFile
HintFUNCTION

On 30 Aug 2009, at 17:24, Len Morgan wrote:

Im hoping Trevor won't mind me sharing this little snippet of
code:

FUNCTION getPathToFile pFile
put the filename of this stack into the theFile
set the itemdelimiter to slash
put pFile into the last item of theFile
return theFile
end FUNCTION getPathToFile

--To use:
put getPathFile(My App.exe) into tFile
launch tFile

That should do it.

len morgan


Ideas?
Thanks,
Adrian


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


___
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 Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile)  
07976 983164
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


___
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: What is the current version of Rev?

2009-09-04 Thread Jim Bufalini
Nicolas and Len,

Please run check for updates. 

Does it say there is one available? If so, accept the update and follow
prompts until Finished
Now exit and launch Revolution again. Check for updates again. This time it
should say you are up to date.

What you need to understand, at this point, is that just because you have
downloaded the latest version of Rev, you are not prevented from running
previous versions of Rev. There is an exception to this in that dp and rc
versions of Rev normally time-out. However, this time-out convention has
been disabled for the current 4.0 releases.

This means you can still run dp-3. Or, you can run dp-4. So now you need to
look at where you are running the Revolution IDE program from.

Look at where your Revolution IDE programs are located on your hard drive.
There should be a directory like Revolution Enterprise (if you run
revEnterprise). Under this directory should be (at least) two other
directories. 4.0.0-dp-3 and 4.0.0-dp-4. If you launch the revolution IDE
from the 4.0.0-dp-4 directory, then you are running dp-4.

Now, if you normally launch Rev by clicking on a .rev file, you may need to
change your file associations so that a .rev file is associated with dp-4
instead of dp-3. The update program usually gives you an option to change
your file associations to the latest version of rev. However it defaults to
No (which it should). So, you may need to do this manually if you want to
launch dp-4 when clicking on a .rev stack.

Hope this helps.

Aloha from Hawaii,

Jim Bufalini

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Len Morgan
 Sent: Friday, September 04, 2009 1:42 AM
 To: use-revolution@lists.runrev.com
 Subject: What is the current version of Rev?
 
 I downloaded the latest version of revEnterprise which is supposed to
 be
 dp4.  However the about Rev page shows Build 900 dp-3.  Is this the
 latest version and just mismarked on the about page or did Check For
 Updates get the wrong file?
 
 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

___
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: Internet site rules for on-Rev

2009-09-04 Thread Robert Brenstein

On 04.09.09 at 12:10 +0200 Francis Nugent Dixon apparently wrote:

Several years ago, when they (Who are THEY ?) opened
the suffix .fr, I immediately contacted a company who
reserves site names, and they charge me some small fee
every year, for retaining my site name. I am not sure
if site name reservation is complicated, but then I
suppose that if we all knew how to fill in a few forms,
we would never need lawyers .


Sounds like you are paying for what is calling domain parking. 
Parking refers to having a reserved a domain name which is not 
actively used. The site company maintains its record in their 
database and is charging you a small fee to keep the reservation 
active.



Question : What do I do when I want to use the on-Rev
site for my site location ? Must I continue paying the
yearly fee to this Site Company, or can I short-circuit
them, now that I have a lifetime with on-Rev ?


Once you decide you want to use your parked domain for a real site, 
you will, most likely, have to pay the site company more. It will not 
be parked anymore and its record will have to be modified to point to 
your on-rev site. On-Rev has instructions how to go about it.


Paying for domain is independent from paying for on-rev service. The 
former is a fee for having an internet address. The latter is a fee 
for using an internet provider, that is for serving your web pages 
and other files.


Robert
___
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: What is the current version of Rev?

2009-09-04 Thread Nicolas Cueto
 Several suggestions were offered -- check the Rev folder
 for a new folder dp4, initiate the update not from dp3
 but from a previous version (3.5).

Thanks Jim but, as I wrote, your suggestion is not new. Tried it --
repeatedly! -- and I assure you there is no dp4 folder within my
RevEnterprise folder. Nor anywhere else on my hard-drive.

And have also tried several other suggested solutions. License
validation; managing versions (I have 2.6, 2.9, 3.5, 4.0dp4);
restarting the computer; etc. Both on XP and Vista. All fail -- and by
fail I mean nothing gets downloaded even though Rev says otherwise.

Besides, if something had been downloaded, even on my optical fiber
connection it should have taken a few seconds. But there is no
noticeable time lag at all in the whole process.

The source of the problem is not inexperience; have been using Rev for
years now. The problem is Rev dp3 and 3.5 state an update is
available, that update is accepted by me clicking on a series of
buttons, and yet, after restarting Rev, it is not dp4 but dp3 (or 3.5
using Manage versions) that starts up -- of course, since nothing
was downloaded -- and still telling me that the dp4 update is
available.

Oh well.

Still waiting for dp4...

--
Nicolas Cueto
___
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


Problems with libURLftpUploadFile

2009-09-04 Thread Kevin Stallibrass
Hi all,

 

I have a problem where:

 

Put fld contains FTP path into tURL

libURLftpUploadFile  c:/myfile.txt, tURL ,showStatus

 

works fine but.

 

Put fld contains FTP path into tURL

Put c:/myfile.txt into tFilepath

libURLftpUploadFile  tFilepath, tURL , showStatus

 

Results in c:/myfile.txt instead of the correct data being written into
the uploaded text file 

The same happens if I use libURLftpUpload

 

So, is it not possible to use 2 variables? Or am I missing something

 

Regards

 

Kevin Stallibrass

 

 

___
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: Internet site rules for on-Rev

2009-09-04 Thread Jim Ault

On Sep 4, 2009, at 6:15 AM, Robert Brenstein wrote:


On 04.09.09 at 12:10 +0200 Francis Nugent Dixon apparently wrote:

Several years ago, when they (Who are THEY ?) opened
the suffix .fr, I immediately contacted a company who
reserves site names, and they charge me some small fee
every year, for retaining my site name. I am not sure
if site name reservation is complicated, but then I
suppose that if we all knew how to fill in a few forms,
we would never need lawyers .


Sounds like you are paying for what is calling domain parking.  
Parking refers to having a reserved a domain name which is not  
actively used. The site company maintains its record in their  
database and is charging you a small fee to keep the reservation  
active.


Ah, yes, the confusing world of internet identities and entities.
Hopefully this will shed some light.

There is a difference between
  domain registration
  domain parking
  domain active hosting

Domain registration is paying for the ownership of a domain.  It does  
not have to be used.  Millions of domains are owned but not used.

The registrar maintains the records and these are available using WHOIS.
-- example  use your browser to go to  http://www.internic.net/whois.html
-- type in a Domain, egon-rev.com
   Domain Name: ON-REV.COM
   Registrar: GODADDY.COM, INC.
   Whois Server: whois.godaddy.com
   Referral URL: http://registrar.godaddy.com
   Name Server: NS1.ON-REV.COM
   Name Server: NS2.ON-REV.COM
   Name Server: NS3.ON-REV.COM


Domain parking and active hosting are part of the *hosting* service

Domain parking lets you cheaply display an under construction  
default page on your web host.
You can register a domain and not park it anywhere but then your site  
will be simply inaccessible until you get a web host.

   404 error not found

Domain serving means you have a home page (index.html, index.php, etc)  
and other pages that respond to queries from browsers and other  
programs (like Rev using the post command)

  The sequence for this to happen:
  1  Pay a registrar in order to own the domain
  2  Fill in the information, including your contact details
  3  Set the parameters for renewal, security, locking, etc
  4  Contact a hosting company (eg. On-Rev)
  5  Use cPanel to set up your home folder on the host server
  6  Find the DNS server details at On-Rev
  7  Go to your registrar site, into the administer domains area
  8  Enter the DNS details and update the registration record
  9  Wait 24 to 72 hours for all the ISP computers around the world  
to be notified
 10  Everyone can now use yourDomain.com (case *insensitive*) to  
reach your home folder
 11  Everyone can now use yourDomain.com/aboutUs.html (case  
*sensitive* after '.com/' to reach one of your pages


The reason for case sensitive is that Unix and Linux operating systems  
are case sensitive for file and folder names.  On-Rev uses Linux.


If you wish to secure the use of a domain name rather than lose it to  
someone else, buy ownership with a registrar.
If you wish to park the domain to produce an under construction page,  
do this with your hosting provider.


You can have more than one web hosting company, but a single domain  
can only be hosted in one location.
An example would be that you have a company domain, a Facebook page,  
an eBlogger blog, and some YouTube videos.
All of these are hosted on different servers but are part of your  
company and marketing presence.
You could add a WordPress blog to your On-Rev site at yourDomain.com/ 
inhouseBlog.php using cPanel and the automatic installer.


As you can see, most of today's active businesses use several servers  
hosted by different companies.


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: Simulcast Envy...and a small request for Kevin

2009-09-04 Thread mfstuart

Hey Len, are we playing poker here? :)
Alright I'm in - couple of bucks.

Your counter.

Mark Stuart



Len Morgan wrote:
 
 
 I'd even pony up for a PPV of the keynote.
 
 len
 ___
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Simulcast-Envy...and-a-small-request-for-Kevin-tp25274487p25296234.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Problems with libURLftpUploadFile

2009-09-04 Thread Pierre Sahores

Try this working 24/7 there (Rev Ent 3.5, OS X 10.5.8)

put url (binfile:  path_to_thefile_to_upload) into url  
(your_ftp_server_credenti...@address  the_remote_path  /   
the_uploaded_file_name))

if url (FTP_Server_Address.../the_uploaded_file_name) is  then beep

Cheers,

P.

Le 4 sept. 09 à 16:37, Kevin Stallibrass a écrit :


Hi all,



I have a problem where:



Put fld contains FTP path into tURL

libURLftpUploadFile  c:/myfile.txt, tURL ,showStatus



works fine but.



Put fld contains FTP path into tURL

Put c:/myfile.txt into tFilepath

libURLftpUploadFile  tFilepath, tURL , showStatus



Results in c:/myfile.txt instead of the correct data being written  
into

the uploaded text file

The same happens if I use libURLftpUpload



So, is it not possible to use 2 variables? Or am I missing something



Regards



Kevin Stallibrass





___
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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: What is the current version of Rev?

2009-09-04 Thread Jim Bufalini
Hi Nicolas,

 Thanks Jim but, as I wrote, your suggestion is not new. Tried it --
 repeatedly! -- and I assure you there is no dp4 folder within my
 RevEnterprise folder. Nor anywhere else on my hard-drive.

Didn't follow back the whole thread before I answered.
 
 And have also tried several other suggested solutions. License
 validation; managing versions (I have 2.6, 2.9, 3.5, 4.0dp4);
 restarting the computer; etc. Both on XP and Vista. All fail -- and by
 fail I mean nothing gets downloaded even though Rev says otherwise.

OK. Now I know you are on PC. I have downloaded dp-4 to both Vista and XP
the day it was announced. There was nothing unusual.

 Besides, if something had been downloaded, even on my optical fiber
 connection it should have taken a few seconds. But there is no
 noticeable time lag at all in the whole process.

Yes, as you know, the update process downloads about 11 or 12 files and you
should see around this number of progress bars appear one after another.

 The source of the problem is not inexperience; have been using Rev for
 years now. The problem is Rev dp3 and 3.5 state an update is
 available, that update is accepted by me clicking on a series of
 buttons, and yet, after restarting Rev, it is not dp4 but dp3 (or 3.5
 using Manage versions) that starts up -- of course, since nothing
 was downloaded -- and still telling me that the dp4 update is
 available.

OK, something else has to be afoot here. You obviously updated to dp-3 using
the update process, as a dp is not separately downloadable, as far as I
know.

So, what's different between this time and the time you did it before? Did
Vista go to SP2 in the meanwhile? Did the UAC change? Have you tried running
Rev as administrator by right clicking on it and choosing run as
administrator, before attempting the upgrade? Better yet, can you log in as
THE Administrator and run the upgrade process from this account as opposed
to a user with admin privileges? That it is happening on XP also is a bit
puzzling because XP is much more tolerant of UAC issues. I wonder... has
your subscription run out and maybe the bug is that Rev is not notifying you
of this? Obviously you are dealing with something that happened over a short
time here. 

Aloha from Hawaii,

Jim Bufalini



___
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] tRev Feature Friday Video!

2009-09-04 Thread Jerry Daniels

Fellow coders,

We have a couple of nice, new features for tRev today. It is, after  
all...Feature Friday!


There's a 3 minute video showing how they work.

http://reveditor.com/feature-friday-a-great-new-preference

Best,

Jerry Daniels
Watch tRev - The Movie
http://reveditor.com/trev-the-movie

___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Sadhu Nadesan

Namaste, Swami

I am not sure of the answer to your question, but to debug problems like 
this I use the Unix utility od  for example, with the -c flag.  (od = 
octal dump).


Then you can see exactly what characters are in your original, and/or, 
an example that works right, that need to be replaced/emulated for the 
line ending conversions.


Make sense? hope it helps.

Aum Aum
Sadhu
___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Joe F.

The trick is to use uniencode/unidecode for everything.
Three separate examples:

 ask file Name new file: with NewFile.xml
 put binfile:  it into theNewFileName
 get the unicodetext of cd fld 1
 put unidecode(it,utf8) into url (theNewFileName)
--
 set the unicodetext of cd fld 1 to uniencode(tMyUnicode,utf8)
--
 put URL (theFTPRequest) into theDownLoadedText
 put uniencode(theDownLoadedText,utf8) into theDownLoadedText
 put unidecode(theDownLoadedText,ANSI) into cd fld 1 of cd id 4630



On Sep 4, 2009, at 1:39 AM, Sivakatirswami wrote:

I have some UTF-16 unicode raw text. If I import this into Pages, it  
displays the font correctly and also the line breaks between  
paragraphs correctly


But if I use this function:

on mouseUp
answer file Choose a unicode file to read in.
if it is empty then exit mouseUp
put binfile:  it into urlName
replace numtochar(13) with numtochar(10) in urlName
set the unicodeText of fld display to url urlName
end mouseUp

the line breaks are not appearing in the field in revolution.

Also if I try to analyze what chars are there, where the line break  
should be, by selecting across a missing line break and then use  
this test:


on mouseUp
 set the useUnicode to true
 if the selection is empty then
answer No Selection with ok
 end if
 put the selection into tUnicode
 put tUnicode
 repeat for each char x in tUnicode
put  chartonum(x)  cr after tOutput  end repeat
put tOutput # returns empty
end mouseUp

I get nothing in the msg box. If I switch from Tamil Inaimathi (Mac  
unicode font) to Anjal Chittu unicode, The Tamil displays correctly  
and now I can clearly see a two byte block


space+square-box-symbol (somewhat transparent) where the line breaks  
should be. But it still returns empty on an empty to determine what  
the bytes are


How do we deal with/import correctly, line breaks in unicode text in  
Revolution?


I plan to create an editing environment as a revlet for online  
work... and unicode will be imported and exported freely for later  
use in InDesign. Obviously CRLF (or whatever it is in Unicode) needs  
to be preserved.


Thanks!
Sivakatirswami
completely Unicode newbie




___
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


On-Rev Client Update?

2009-09-04 Thread Joe F.

Did anyone get this?
I got an email a week ago saying the engine and client had been  
updated, but upon download the same 0.1.4 version of the client is  
what I get.


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


Re: My slides are up

2009-09-04 Thread Josep

Thanks! :)

Salut,
Josep
-- 
View this message in context: 
http://www.nabble.com/My-slides-are-up-tp25278489p25300847.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


words matter

2009-09-04 Thread François Chaplais

Is this perfectly rational (revolution-wise of course)?

If I do

put empty into myText
put aa into item 1 of myText
put bb into item 2 of myText
answer myText

I get (as expected)
aa,bb

while, if I do

put empty into myText
put aa into word 1 of myText
put bb into word 2 of myText
answer myText

I get
aabb
(while I would expect aa bb).

?


this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)

François

___
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: Snow Leopard problem on a Mac Air

2009-09-04 Thread Bruce Pokras

Hi Mark,

Thanks for your suggestions. Patent Grabber was already installed on  
the user's Mac when he upgraded to Snow Leopard. So I am not sure  
that the permissions of my standalone would be a problem when it was  
working fine until my user's upgrade. Or are you suggesting that my  
user should run the command that you provided because the permissions  
of his particular copy became corrupted?


I suggested to him that he download and upzip a fresh copy now that  
Snow Leopard is installed. I don't know how that could make a  
difference, but computers can do weird things sometimes!


Regards,

Bruce

On Sep 2, 2009, at 7:53 PM, Mark Schonewille wrote:


Hi Bruce,

Make sure that all files inside the standalone have the right  
permissions.


chmod -R 755 pathToStandalone

It is also possible that the download is corrupt or that the  
customer copied the standalone incompletely onto his hard disk. You  
also need to make sure that the standalone is universal or for  
Intel and not for PPC.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Download Snapper Screen Recorder at http://snapper.economy-x-talk.com

On 3 sep 2009, at 01:22, Bruce Pokras wrote:

One user of my Patent Grabber application has reported that the  
app simply opens and quits now that he has upgraded to Snow  
Leopard. Here is his message:


---

Dear Sir,

I upgrade from 10.5 to 10.6 then the patent grabber 5.6 version  
will automatic close it when I try to open the program.


I have Mac Air information of my machine as the following  
(Traditional Chinese version)



機型名稱:   MacBook Air
 機型識別碼: MacBookAir2,1
 處理器名稱: Intel Core 2 Duo
 處理器速度: 1.86 GHz
 處理器數量: 1
 總核心數量: 2
 L2 快取記憶體:  6 MB
 記憶體:   2 GB
 匯流排速度: 1.07 GHz
 Boot ROM 版本:   MBA21.0075.B03
 SMC 版本(系統):1.34f8

---

Any ideas? I had one person from the U.S. report that he had no  
problems with running Patent Grabber under Snow Leopard.


Regards,

Bruce Pokras



___
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: On-Rev Client Update?

2009-09-04 Thread Colin Holgate


On Sep 4, 2009, at 3:39 PM, Joe F. wrote:

I got an email a week ago saying the engine and client had been  
updated, but upon download the same 0.1.4 version of the client is  
what I get.


Same thing happened for me. I told them that it was the same old  
version.



___
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: words matter

2009-09-04 Thread Jim Bufalini
François Chaplais wrote:
 
 Is this perfectly rational (revolution-wise of course)?
 
 If I do
 
 put empty into myText
 put aa into item 1 of myText
 put bb into item 2 of myText
 answer myText
 
 I get (as expected)
 aa,bb
 
 while, if I do
 
 put empty into myText
 put aa into word 1 of myText
 put bb into word 2 of myText
 answer myText
 
 I get
 aabb
 (while I would expect aa bb).
 
 ?
 
 
 this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)

I've confirmed this. Maybe not rational, perfectly or otherwise. ;-) But, as
a simple work around, you can:

set itemdel to space
put aa into item 1 of myText
put bb into item 2 of myText

And you will get aa bb

Then put word 1 of myText into myWord will give you aa

Aloha from Hawaii,

Jim Bufalini

___
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: words matter

2009-09-04 Thread François Chaplais


Le 4 sept. 09 à 22:30, Jim Bufalini a écrit :


François Chaplais wrote:


Is this perfectly rational (revolution-wise of course)?

If I do

put empty into myText
put aa into item 1 of myText
put bb into item 2 of myText
answer myText

I get (as expected)
aa,bb

while, if I do

put empty into myText
put aa into word 1 of myText
put bb into word 2 of myText
answer myText

I get
aabb
(while I would expect aa bb).

?


this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)


I've confirmed this. Maybe not rational, perfectly or otherwise. ;-)  
But, as

a simple work around, you can:

set itemdel to space
put aa into item 1 of myText
put bb into item 2 of myText

And you will get aa bb

Then put word 1 of myText into myWord will give you aa

Aloha from Hawaii,

Jim Bufalini



Thanks for the confirmation. So some chunks are more equal than  
others...


cheers,
François

___
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: words matter

2009-09-04 Thread Jim Ault
I think the rationale is that there is no single character to delimit  
words, but rather many possibilities.

 [ space tab space.space.tab.space  space.cr.space.cr.cr ]

In the docs
Comments:
A word is delimited by one or more spaces, tabs, or returns, or  
enclosed by double quotes. A single word can contain multiple  
characters and multiple items, but not multiple lines.


so using

put empty into myText
put aa into word 1 of myText
put bb into word 2 of myText
answer myText



does not really define exactly which separation character or  
characters to use.

There is no wordDelimiter.

Try this riddle

on testt
   put thisisa  cr  wordOnLine1 into wordz
   put word 1 of wordz
   set the lineDelimiter to Z
   put cr  cr after msg

   put word 1 of wordz after msg
   put cr  cr after msg
   put thisisaZtimeforallofus into wordz
   put word 1 of wordz after msg

   put cr  cr after msg
   put line 1 of wordz after msg

end testt

Conclusion is that you can change the lineDelimiter to 'Z' and get a  
different line chunk than cr,

but this does not change the definition of a word when it comes to a cr.
Thus a cr IS always a word separator, but a cr CAN BE a line delimiter.

Hope this helps.

Jim Ault
Las Vegas

On Sep 4, 2009, at 1:30 PM, Jim Bufalini wrote:


François Chaplais wrote:


Is this perfectly rational (revolution-wise of course)?

If I do

put empty into myText
put aa into item 1 of myText
put bb into item 2 of myText
answer myText

I get (as expected)
aa,bb

while, if I do

put empty into myText
put aa into word 1 of myText
put bb into word 2 of myText
answer myText

I get
aabb
(while I would expect aa bb).

?


this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)


I've confirmed this. Maybe not rational, perfectly or otherwise. ;-)  
But, as

a simple work around, you can:

set itemdel to space
put aa into item 1 of myText
put bb into item 2 of myText

And you will get aa bb

Then put word 1 of myText into myWord will give you aa

Aloha from Hawaii,

Jim Bufalini

___
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


Jim Ault
jimaultw...@yahoo.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: On-Rev Client Update?

2009-09-04 Thread stephen barncard
I *THOUGHT* the client was exactly the samelooked at it, used it, but I
didn't look at the version #.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Colin Holgate co...@verizon.net


 On Sep 4, 2009, at 3:39 PM, Joe F. wrote:

  I got an email a week ago saying the engine and client had been updated,
 but upon download the same 0.1.4 version of the client is what I get.


 Same thing happened for me. I told them that it was the same old version.



 ___
 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: faxing from a rev stack?

2009-09-04 Thread Peter Brigham MD
Thanks, and thanks to Stephen and Sarah, for the pointers. This will  
give me some things to look into.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Sep 4, 2009, at 1:25 AM, Peter W A Wood wrote:



On 4 Sep 2009, at 12:04, Sarah Reichelt wrote:

Peter, I do this by using an online fax service that accepts emails
and sends them  their attachments out as faxes.
Unless you are sending lots of faxes, this is a lot cheaper than
buying a fax machine.


You can send and receive faxes directly from a Mac which either has  
a built-in modem or using an Apple USB modem. (Depending on the  
comparative charges, the online fax service could still end up  
cheaper).


I don't yet know enough about Revolution to properly answer Peter's  
question but as a Fax is automatically added to the list of printers  
shown in the printer dialog in OS X when a fax modem is attached and  
connected to a phone line, I guess it could well be possible.


Regards

Peter
___
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: words matter

2009-09-04 Thread Jim Bufalini
Of course. It's exactly what Jim points out. And, I believe in either 2.9 or
3.0 there was a change in how words are delimited. It's in one of the change
logs. So this makes words more equal. ;-)

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Jim Ault
 Sent: Friday, September 04, 2009 11:13 AM
 To: How to use Revolution
 Subject: Re: words matter
 
 I think the rationale is that there is no single character to delimit
 words, but rather many possibilities.
   [ space tab space.space.tab.space  space.cr.space.cr.cr ]
 
 In the docs
 Comments:
 A word is delimited by one or more spaces, tabs, or returns, or
 enclosed by double quotes. A single word can contain multiple
 characters and multiple items, but not multiple lines.
 
 so using
  put empty into myText
  put aa into word 1 of myText
  put bb into word 2 of myText
  answer myText
 
 
 does not really define exactly which separation character or
 characters to use.
 There is no wordDelimiter.
 
 Try this riddle
 
 on testt
 put thisisa  cr  wordOnLine1 into wordz
 put word 1 of wordz
 set the lineDelimiter to Z
 put cr  cr after msg
 
 put word 1 of wordz after msg
 put cr  cr after msg
 put thisisaZtimeforallofus into wordz
 put word 1 of wordz after msg
 
 put cr  cr after msg
 put line 1 of wordz after msg
 
 end testt
 
 Conclusion is that you can change the lineDelimiter to 'Z' and get a
 different line chunk than cr,
 but this does not change the definition of a word when it comes to a
 cr.
 Thus a cr IS always a word separator, but a cr CAN BE a line delimiter.
 
 Hope this helps.
 
 Jim Ault
 Las Vegas
 
 On Sep 4, 2009, at 1:30 PM, Jim Bufalini wrote:
 
  François Chaplais wrote:
 
  Is this perfectly rational (revolution-wise of course)?
 
  If I do
 
  put empty into myText
  put aa into item 1 of myText
  put bb into item 2 of myText
  answer myText
 
  I get (as expected)
  aa,bb
 
  while, if I do
 
  put empty into myText
  put aa into word 1 of myText
  put bb into word 2 of myText
  answer myText
 
  I get
  aabb
  (while I would expect aa bb).
 
  ?
 
 
  this is revStudio 3.5 gm-2 (and maybe my brains are still in HC)
 
  I've confirmed this. Maybe not rational, perfectly or otherwise. ;-)
  But, as
  a simple work around, you can:
 
  set itemdel to space
  put aa into item 1 of myText
  put bb into item 2 of myText
 
  And you will get aa bb
 
  Then put word 1 of myText into myWord will give you aa
 
  Aloha from Hawaii,
 
  Jim Bufalini
 
  ___
  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
 
 Jim Ault
 jimaultw...@yahoo.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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Sivakatirswami

Aloha, Joe:

I'm not quite sure how your suggestion relates to the problem of endlines.

The unicode.txt file I have is being read OK in Pages on the mac.
It also loads just fine in Rev, with the exception of the line breaks

I'm not sure where the uniencode/unidecode  could be used to solve the 
line break issue.


Sivakatirswami




Joe F. wrote:

The trick is to use uniencode/unidecode for everything.
Three separate examples:

 ask file Name new file: with NewFile.xml
 put binfile:  it into theNewFileName
 get the unicodetext of cd fld 1
 put unidecode(it,utf8) into url (theNewFileName)
--
 set the unicodetext of cd fld 1 to uniencode(tMyUnicode,utf8)
--
 put URL (theFTPRequest) into theDownLoadedText
 put uniencode(theDownLoadedText,utf8) into theDownLoadedText
 put unidecode(theDownLoadedText,ANSI) into cd fld 1 of cd id 4630



On Sep 4, 2009, at 1:39 AM, Sivakatirswami wrote:

I have some UTF-16 unicode raw text. If I import this into Pages, it 
displays the font correctly and also the line breaks between 
paragraphs correctly


But if I use this function:

on mouseUp
answer file Choose a unicode file to read in.
if it is empty then exit mouseUp
put binfile:  it into urlName
replace numtochar(13) with numtochar(10) in urlName
set the unicodeText of fld display to url urlName
end mouseUp

the line breaks are not appearing in the field in revolution.

Also if I try to analyze what chars are there, where the line break 
should be, by selecting across a missing line break and then use this 
test:


on mouseUp
 set the useUnicode to true
 if the selection is empty then
answer No Selection with ok
 end if
 put the selection into tUnicode
 put tUnicode
 repeat for each char x in tUnicode
put  chartonum(x)  cr after tOutput  end repeat
put tOutput # returns empty
end mouseUp

I get nothing in the msg box. If I switch from Tamil Inaimathi (Mac 
unicode font) to Anjal Chittu unicode, The Tamil displays correctly 
and now I can clearly see a two byte block


space+square-box-symbol (somewhat transparent) where the line breaks 
should be. But it still returns empty on an empty to determine what 
the bytes are


How do we deal with/import correctly, line breaks in unicode text in 
Revolution?


I plan to create an editing environment as a revlet for online 
work... and unicode will be imported and exported freely for later 
use in InDesign. Obviously CRLF (or whatever it is in Unicode) needs 
to be preserved.


Thanks!
Sivakatirswami
completely Unicode newbie




___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread stephen barncard
Why are you replacing the CRs with LFs? doesn't the engine's Unicode
functions handle line endings?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Sivakatirswami ka...@hindu.org

 Aloha, Joe:

 I'm not quite sure how your suggestion relates to the problem of endlines.

 The unicode.txt file I have is being read OK in Pages on the mac.
 It also loads just fine in Rev, with the exception of the line breaks

 I'm not sure where the uniencode/unidecode  could be used to solve the line
 break issue.

 Sivakatirswami



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


Re: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Jim Ault

On Sep 4, 2009, at 3:01 PM, Sivakatirswami wrote:


Aloha, Joe:

I'm not quite sure how your suggestion relates to the problem of  
endlines.


The unicode.txt file I have is being read OK in Pages on the mac.
It also loads just fine in Rev, with the exception of the line breaks

I'm not sure where the uniencode/unidecode  could be used to solve  
the line break issue.

full quote appears below

From the dictionary

set the useUnicode to true
   Specifies whether the charToNum and numToChar functions assume a  
character is double-byte.


Perhaps the issue for me is:

If you are using UTF-16, that means that every character is  
represented as double-byte.
If you do a replacement using numtochar(13), it seems to me that the  
'replace' scan of the string is only looking as single-bytes, unless  
you set the useUnicode to true.


Some programs, like BBEdit, try to detect the encoding, but this does  
not always work.  I think the BOM is supposed to be the flag for the  
encoding, but this is not always clear.


In BBEdit one of the File menu commands is Reopen Using Encoding 
with (6) choices..
Unicode(UTF-8)
Unicode(UTF-8, no BOM)
Unicode(UTF-16)
Unicode(UTF-16, no BOM)
Unicode(UTF-16, Little Endian)
Unicode(UTF-16, Little Endian, no BOM)
thus there must be some trial and error involved depending on the  
source of the Unicode string.


I know this is confusing and I will be diving into the arena very soon.

(I will avoid any hint of a Mac arena pun because I don't want that  
tune bouncing around in my head.)


Jim Ault
Las Vegas

On Sep 4, 2009, at 3:01 PM, Sivakatirswami wrote:


Aloha, Joe:

I'm not quite sure how your suggestion relates to the problem of  
endlines.


The unicode.txt file I have is being read OK in Pages on the mac.
It also loads just fine in Rev, with the exception of the line breaks

I'm not sure where the uniencode/unidecode  could be used to solve  
the line break issue.


Joe F. wrote:

The trick is to use uniencode/unidecode for everything.
Three separate examples:

ask file Name new file: with NewFile.xml
put binfile:  it into theNewFileName
get the unicodetext of cd fld 1
put unidecode(it,utf8) into url (theNewFileName)
--
set the unicodetext of cd fld 1 to uniencode(tMyUnicode,utf8)
--
put URL (theFTPRequest) into theDownLoadedText
put uniencode(theDownLoadedText,utf8) into theDownLoadedText
put unidecode(theDownLoadedText,ANSI) into cd fld 1 of cd id 4630



On Sep 4, 2009, at 1:39 AM, Sivakatirswami wrote:

I have some UTF-16 unicode raw text. If I import this into Pages,  
it displays the font correctly and also the line breaks between  
paragraphs correctly


But if I use this function:

on mouseUp
answer file Choose a unicode file to read in.
if it is empty then exit mouseUp
put binfile:  it into urlName
replace numtochar(13) with numtochar(10) in urlName
set the unicodeText of fld display to url urlName
end mouseUp

the line breaks are not appearing in the field in revolution.

Also if I try to analyze what chars are there, where the line  
break should be, by selecting across a missing line break and then  
use this test:


on mouseUp
set the useUnicode to true
if the selection is empty then
   answer No Selection with ok
end if
put the selection into tUnicode
put tUnicode
repeat for each char x in tUnicode
   put  chartonum(x)  cr after tOutput  end repeat
put tOutput # returns empty
end mouseUp

I get nothing in the msg box. If I switch from Tamil Inaimathi  
(Mac unicode font) to Anjal Chittu unicode, The Tamil displays  
correctly and now I can clearly see a two byte block


space+square-box-symbol (somewhat transparent) where the line  
breaks should be. But it still returns empty on an empty to  
determine what the bytes are


How do we deal with/import correctly, line breaks in unicode text  
in Revolution?


I plan to create an editing environment as a revlet for online  
work... and unicode will be imported and exported freely for later  
use in InDesign. Obviously CRLF (or whatever it is in Unicode)  
needs to be preserved.


___
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: Music Notes, New Instruments Sound Channel Preview

2009-09-04 Thread Kenji Kojima

Hi,

I tried to make a PlayMIDI revlet.
http://www.kenjikojima.com/revlet/PlayMIDI/

It's based on HyperTalk's PLAY command
http://www.kenjikojima.com/revlet/PlayMIDI/pmd.html

I can play it on MacOS.  I have two problems.

1) I cannot show a QuickTime controller on MacOS and Windows. only a  
border appears.


2) I made a temporary MIID file into specialfolderpath(temporary). and
 set the filename of player playMidi to (specialfolderpath 
(temporary) /playPmdTemp.mid)

It works on MacOS, but not on Windows.


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


Re: Music Notes, New Instruments Sound Channel Preview

2009-09-04 Thread stephen barncard
and quicktime is installed in your Windows system?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Kenji Kojima in...@kenjikojima.com

 Hi,

 I tried to make a PlayMIDI revlet.
 http://www.kenjikojima.com/revlet/PlayMIDI/

 It's based on HyperTalk's PLAY command
 http://www.kenjikojima.com/revlet/PlayMIDI/pmd.html

 I can play it on MacOS.  I have two problems.

 1) I cannot show a QuickTime controller on MacOS and Windows. only a border
 appears.

 2) I made a temporary MIID file into specialfolderpath(temporary). and
  set the filename of player playMidi to (specialfolderpath(temporary)
 /playPmdTemp.mid)
 It works on MacOS, but not on Windows.


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

___
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: Music Notes, New Instruments Sound Channel Preview

2009-09-04 Thread Kenji Kojima

On Sep 4, 2009, at 08:44 PM, stephen barncard wrote:


and quicktime is installed in your Windows system?


Oh! I reinstalled a fresh Windows XP last month.
I think that was the reason.

Thanks,
--
Kenji Kojima
http://www.kenjikojima.com/






Hi,

I tried to make a PlayMIDI revlet.
http://www.kenjikojima.com/revlet/PlayMIDI/

It's based on HyperTalk's PLAY command
http://www.kenjikojima.com/revlet/PlayMIDI/pmd.html

I can play it on MacOS.  I have two problems.

1) I cannot show a QuickTime controller on MacOS and Windows. only  
a border

appears.

2) I made a temporary MIID file into specialfolderpath 
(temporary). and
set the filename of player playMidi to (specialfolderpath 
(temporary)

/playPmdTemp.mid)
It works on MacOS, but not on Windows.


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


___
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: Music Notes, New Instruments Sound Channel Preview

2009-09-04 Thread Kenji Kojima

stephen,

I installed QuickTime7 on my Windows.
I could play a MIDI sound and a controller appeared.

I installed QuickTime 10 on my Mac.
The controller problem might be QT version.

--
Kenji Kojima
http://www.kenjikojima.com/




On Sep 4, 2009, at 08:44 PM, stephen barncard wrote:


and quicktime is installed in your Windows system?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Kenji Kojima in...@kenjikojima.com


Hi,

I tried to make a PlayMIDI revlet.
http://www.kenjikojima.com/revlet/PlayMIDI/

It's based on HyperTalk's PLAY command
http://www.kenjikojima.com/revlet/PlayMIDI/pmd.html

I can play it on MacOS.  I have two problems.

1) I cannot show a QuickTime controller on MacOS and Windows. only  
a border

appears.

2) I made a temporary MIID file into specialfolderpath 
(temporary). and
set the filename of player playMidi to (specialfolderpath 
(temporary)

/playPmdTemp.mid)
It works on MacOS, but not on Windows.


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


___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Richard Gaskin

My fellow petroglyph prowler Jim Ault wrote:

Some programs, like BBEdit, try to detect the encoding, but this does  
not always work.  I think the BOM is supposed to be the flag for the  
encoding, but this is not always clear.


In BBEdit one of the File menu commands is Reopen Using Encoding 
with (6) choices..
Unicode(UTF-8)
Unicode(UTF-8, no BOM)
Unicode(UTF-16)
Unicode(UTF-16, no BOM)
Unicode(UTF-16, Little Endian)
Unicode(UTF-16, Little Endian, no BOM)
thus there must be some trial and error involved depending on the  
source of the Unicode string.


I know this is confusing and I will be diving into the arena very soon.

(I will avoid any hint of a Mac arena pun because I don't want that  
tune bouncing around in my head.)


The handler I posted a couple weeks ago based some snipped Mark Wieder 
posted using some snippets Mark Waddingham shared with him seems to be 
holding up okay with the limited testing I've done so far:


http://lists.runrev.com/pipermail/use-revolution/2009-August/127009.html

Hope that helps.  If you find ways it breaks please let me know; it'll 
help round out our testing here.  Thanks.


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: On-Rev Client Update?

2009-09-04 Thread Joe F.

It's the little things, isn't it?

On Sep 4, 2009, at 5:33 PM, stephen barncard wrote:

I *THOUGHT* the client was exactly the samelooked at it, used  
it, but I

didn't look at the version #.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Colin Holgate co...@verizon.net



On Sep 4, 2009, at 3:39 PM, Joe F. wrote:

I got an email a week ago saying the engine and client had been  
updated,
but upon download the same 0.1.4 version of the client is what I  
get.




Same thing happened for me. I told them that it was the same old  
version.




___
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: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Sivakatirswami

stephen barncard wrote:

Why are you replacing the CRs with LFs? doesn't the engine's Unicode
functions handle line endings?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/9/4 Sivakatirswami ka...@hindu.org

  

Aloha, Joe:

I'm not quite sure how your suggestion relates to the problem of endlines.

The unicode.txt file I have is being read OK in Pages on the mac.
It also loads just fine in Rev, with the exception of the line breaks

I'm not sure where the uniencode/unidecode  could be used to solve the line
break issu

Sometime on Kauai it rans for so many days (max count on my log 63 
days...) we live in a mud world


Some how my entry into unicode feels like not like a baptism by fire  
but a baptism by mud


welcome to petroglyph land... (smile)

Stephen: the engine only handles line line ending for file:* and not 
binary:*


A note on the source: This is original Tamil done in MylaiSri which maps 
all chars against 0-127; Muthu Neduraman of Marusu System in Malaysia, 
IT Tamil Master, font designer, systems engineer etc. wrote me a C++ 
program to transform the ASCII input out to a Unicode.txt..  really 
don't have any specs on what his program outputs. ( would love to take 
that thing and turn it into an external if I knew how... that's another 
story...)


but, that's what I'm loading... but since he works on OS X I, thought, 
on a hunhc sure he was piping cr's from the original ASCII out to char(13)


Joe Ault: OK we are getting some where:
I obviously made a blooper where I was replacing
char(13) with char (10) in the filename and not the data.

Of course nothing happened... fixed it:

this now works fine! 


on mouseUp
 answer file Choose a unicode file to read in.
 if it is empty then exit mouseUp
 put binfile:  it into urlName
 set the useUnicode to true
 put url urlName into tTamilUnicodeText
 replace numtochar(13) with numtochar(10) in tTamilUnicodeText
 set the unicodeText of fld display to tTamilUnicodeText
end mouseUp

OK so far so good. I'm getting the same line breaks from the original text.

Richard: thanks for the arcane script from Mark, which I only saw 
*after* trying the above... so I did not need it.

but I will keep it as a reference, thank you.

Jim F: thanks for the tip on always encoding... since I have to move 
this stuff back and forth to the web server and possible in and out of 
PostGreSQL..  I will take your advice.


So, for now it works... Read on if you want walk into the morass of 
trying actually see what you have a decimal strings:


Ken Kojima, Thanks: this now works  -- well appears to, on the surface.

on mouseUp
set the useUnicode to true
if the selection is empty then
  answer No Selection with ok
end if
put the selection into tUnicode
 repeat with i=1 to the num of chars of tUnicode step 2
put  chartonum(char i to i+1 of tUnicode)  cr after tOutput
 end repeat
put tOutput
end mouseUp

but I get super irrational results (irrational to me at least)

Tamil lives here:

U+0B80 – U+0BFF   (2944–3071)

if load the text *without* handling the line endings and select across 
the last letters of one line and the beginning of the next:


[note, the editor of this text typically puts two end-of-paragraph (i.e. 
1 blank line) between paragraphs, block style]


2990 - Valid Tamil Character
3021 - Valid Tamil Character
3374 - out of range: should be line break and does show as one in Pages
8205 - out of range: should be line break and does show as one in Pages, 
or in the field if I do the (13) to (10) conversion

2953 - Valid Tamil Character

And if I select the same thing a second time... different results!

2990
3021
12576
2570
2992
3007



OK now... if I select another section of text where there is a text/2 
line breaks/text/2 line breaks/text


I get super bizarre results back

3377
45069 # way out of range.
48907
44555
52491
8203

If I lengthen the selection, left and right I get completely (almost) 
different results)


Even the same characters selected in the short selection are not output 
as the characters:


3015
2985
3021
3391
39437
49419
45579
51979
38155
12555
3341
2992
3007


if I put  replace numtochar(13) with numtochar(10) in tTamilUnicodeText

back into my import script and then select across the end of the same 
line and 2 cr's and the beginning of the 4th line, I get different 
results again. And this time, so beyond my ken as to be a black box. I 
don't think I will even go there in trying to understand what is 
happening, wrong and why we get something like:


2985
3021
2623
39434
49419
45579
51979
38155
44555
52491
8203
2609
45066
48907

There's more bizarre events occuring (selecting text causes characters 
to switch places!)  Wish me luck in creating an online editor as a revlet!


Sivakatirswami















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

Re: Line Breaks Dropped on Importing Unicode Text

2009-09-04 Thread Joe F.

Aloha (in NYC we just say howyadoin'?)

I had some trouble getting unicode text to do what I expected in Rev.
My understanding at the moment is this:

Rev handles text internally as utf16, that's the unicodetext.
No matter where you put it or display it, it's still the unicodetext.

Rev supposedly handles all conversions, which I interpret as line  
endings and byte order, and that seems to be the case as long as I  
specify what to uniencode to and unidecode from.


I'm using OS/X and working on a stack that will be a Windows standalone.
I needed utf8 to make round trips to the web server and got all kinds  
of weird results until I started encoding/decoding at every step. Then  
is worked fine.


I'm using TextWrangler and it seems to detect and save just fine.
TextEdit I think will automatically convert line endings, so probably  
Pages as well.


Joe F.

On Sep 4, 2009, at 6:01 PM, Sivakatirswami wrote:


Aloha, Joe:

I'm not quite sure how your suggestion relates to the problem of  
endlines.


The unicode.txt file I have is being read OK in Pages on the mac.
It also loads just fine in Rev, with the exception of the line breaks

I'm not sure where the uniencode/unidecode  could be used to solve  
the line break issue.


Sivakatirswami




Joe F. wrote:

The trick is to use uniencode/unidecode for everything.
Three separate examples:

ask file Name new file: with NewFile.xml
put binfile:  it into theNewFileName
get the unicodetext of cd fld 1
put unidecode(it,utf8) into url (theNewFileName)
--
set the unicodetext of cd fld 1 to uniencode(tMyUnicode,utf8)
--
put URL (theFTPRequest) into theDownLoadedText
put uniencode(theDownLoadedText,utf8) into theDownLoadedText
put unidecode(theDownLoadedText,ANSI) into cd fld 1 of cd id 4630





___
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