Re: how to get the frame rate of a Quicktime movie?

2007-08-29 Thread Josh Mellicker

O my gosh Klaus, can't believe I missed that.

Thanks!


On Aug 28, 2007, at 7:58 AM, Klaus Major wrote:


Hi BNig and Josh,

I just copied this from the online documentation of Trevors  
wonderful EnhancedQT External:


...
function qtGetTrackFrameCount (MovieControllerID, TrackIndex)
Description:
Returns the number of frames in video track.
Parameters:
MovieControllerID: Target Movie Controller ID.
TrackIndex: Video track index. Default is 1.
Return:
Number of frames or -1 on error.
...

So it looks like Trevor already took care of this :-)


Regards

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


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

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-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 delete virus file with Revolution

2007-08-29 Thread Wilhelm Sanke
Further scans and searches for files that could be associated with the 
NMap Win virus returned no results.
I have to conclude that this virus alarm of SpywareSweeper was wrong. 
Other deficiencies of this programs are that it prompts for updates when 
none are available and that it indeed did not quarantine and delete 
three cookies it had found.


I found the following statement on a webpage of Symantec:

Behavior
SpywareSweeper is a misleading application that may give exaggerated 
reports about potential risks on the computer.


One question that remains for me in the broader context:

Is it possible to remove the protection of Wiindows files from inside 
Revolution?



Regards,

Wilhelm Sanke

___
use-revolution mailing list
use-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 delete virus file with Revolution

2007-08-29 Thread Mark Schonewille

Hi Wilhelm,

Use need to use the ATTRIB command.

Best regards,

Mark Schonewille

--

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

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 29-aug-2007, om 10:45 heeft Wilhelm Sanke het volgende geschreven:




One question that remains for me in the broader context:

Is it possible to remove the protection of Wiindows files from  
inside Revolution?



Regards,

Wilhelm Sanke

___
use-revolution mailing list
use-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 get the frame rate of a Quicktime movie?

2007-08-29 Thread Klaus Major

Hi Josh,


O my gosh Klaus, can't believe I missed that.


please don't worry, I'm sure it wasn't there yet a couple of days  
before! ;-)



Thanks!


Best

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


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


Gradient Textures

2007-08-29 Thread David Bovill
I've been taking a look at those gently beveled buttons / bars, and I'm
wandering the best way to do this. It seems people often use gradient fill
in images created in another program. My first take on this is that it is
not the optimal way to do things - is it not better to use a small image and
tile a button or a background of a group? For instance a 1 pixel wide image
(in the shape of a vertical line) which fades slightly at the top and bottom
- rather than an entire image in the form of a bar?

I have not played with gradient fills in Rev - but I know that there are
some imagedata experts out there that have experimented with creating such
fills with Revolution. Would it not be possible therefore to get Rev to
create these fill automatically? So that a bar could be created of any
height, width and base colour wanted?
___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread Mark Schonewille

Hi David,

There is a gradient toy on RevOnline, user name Mark. You might want  
to look at the scripts to see how I did this.


Best regards,

Mark Schonewille

--

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

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 29-aug-2007, om 13:07 heeft David Bovill het volgende geschreven:

I've been taking a look at those gently beveled buttons / bars, and  
I'm
wandering the best way to do this. It seems people often use  
gradient fill
in images created in another program. My first take on this is that  
it is
not the optimal way to do things - is it not better to use a small  
image and
tile a button or a background of a group? For instance a 1 pixel  
wide image
(in the shape of a vertical line) which fades slightly at the top  
and bottom

- rather than an entire image in the form of a bar?

I have not played with gradient fills in Rev - but I know that  
there are
some imagedata experts out there that have experimented with  
creating such
fills with Revolution. Would it not be possible therefore to get  
Rev to

create these fill automatically? So that a bar could be created of any
height, width and base colour wanted?



___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread David Bovill
Thanks Mark - fun little stack. I'll do a test with background textures -
lets see what happens to the texture if you change the image :)

On 29/08/2007, Mark Schonewille [EMAIL PROTECTED] wrote:

 Hi David,

 There is a gradient toy on RevOnline, user name Mark. You might want
 to look at the scripts to see how I did this.

 Best regards,

 Mark Schonewille

 --

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

 Quickly extract data from your HyperCard stacks with DIFfersifier.
 http://differsifier.economy-x-talk.com


 Op 29-aug-2007, om 13:07 heeft David Bovill het volgende geschreven:

  I've been taking a look at those gently beveled buttons / bars, and
  I'm
  wandering the best way to do this. It seems people often use
  gradient fill
  in images created in another program. My first take on this is that
  it is
  not the optimal way to do things - is it not better to use a small
  image and
  tile a button or a background of a group? For instance a 1 pixel
  wide image
  (in the shape of a vertical line) which fades slightly at the top
  and bottom
  - rather than an entire image in the form of a bar?
 
  I have not played with gradient fills in Rev - but I know that
  there are
  some imagedata experts out there that have experimented with
  creating such
  fills with Revolution. Would it not be possible therefore to get
  Rev to
  create these fill automatically? So that a bar could be created of any
  height, width and base colour wanted?


 ___
 use-revolution mailing list
 use-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: Proper Field Validation Methods and other annoyances...

2007-08-29 Thread Rob Cozens

Hi Len,

1) Why does  put 4 is a date return true?  If this function 
doesn't actually work, why is it still available?  I'd like to be 
able to have users enter a date without any kind of punctuation 
(i.e., 08142007) and be able to validate it as a valid date.  The 
same applies to entering 1315 as a time (no colon).


Others have explained why is a date returns true for any integer.

Here is a function that validates user input as valid according to 
the current system date format and returns the date in dateItems format.


 function validDate theString -- 5 April 04:RCC
  put stripBlanks(theString,false) into theString -- strips leading 
or trailing blanks from a string

  get systemDateFormat() -- see Called Routines below
  set the itemDelimiter to char -1 of it -- the Separater
  if the number of items of theString  3 then return false
  delete the last char of it
  delete char offset(mm,it) of it -- remove double characters, if any...
 -- which 
there will be until RR system date
 -- 
correctly recognizes suppression of leading

 -- zeroes
  delete char offset(dd,it) of it
  delete char offset(yy,it) of it
  repeat with x = 1 to 3
switch char x of it
case m
  put item x of theString into theMonth
  if not validDigits(theMonth) then return false  -- each 
char = 0 and = 9

  if theMonth  1 or theMonth  12 then return false
  break
case d
  put item x of theString into theDay
  if not validDigits(theDay) then return false
  if theDay  1 or theDay  31 then return false
  break
case y
  put item x of theString into theYear
  if not validDigits(theYear) then return false
  put length(theYear) into charCount
  if charCount  2 and charCount  4 then return false
  if charCount is 2 then add 2000 to theYear
  if theYear  1 then return false
  break
end switch
  end repeat
  if theDay  29 then return 
truereturntheYearcommatheMonthcommatheDay,0,0,0,0

  if theMonth is 2 then
if theDay  29 or not leapYear(theYear) then return false -- 
leapYear returns boolean

else return truereturntheYearcommatheMonthcommatheDay,0,0,0,0
  else
if offset(0,theMonth) = 1 then delete char 1 of theMonth
set the itemDelimiter to comma
if theMonth is among the items of 1,3,5,7,8,10,12 then return 
truereturntheYearcommatheMonthcommatheDay,0,0,0,0

if theDay is 31 then return false
else return truereturntheYearcommatheMonthcommatheDay,0,0,0,0
  end if
end validDate

Cal;led routines:

function systemDateFormat
  put 1999,1,9,0,0,0,0 into testDate
  convert testDate to short system date -- RR pads day/month 
regardless of settings
   -- 
which means function will not recognize the
  -- 
absence of leading zeroes until this is fixed

  put 2 into characterNumber
  repeat while char characterNumber of testDate is in 1,9
add 1 to characterNumber
  end repeat
  put char characterNumber of testDate into dateSeparater
  put empty into returnDateFormat
  set the itemDelimiter to dateSeparater
  repeat for each item datePart in testDate
if datePart  9 then
  if datePart  99 then put y after returnDateFormat
  put y after returnDateFormat
else if datePart  1 then
  if length(datePart)  1 then put d after returnDateFormat
  put d after returnDateFormat
else
  if length(datePart)  1 then put m after returnDateFormat
  put m after returnDateFormat
end if
  end repeat
  return returnDateFormatdateSeparater
end systemDateFormat


2) This is the biggie.  What is the proper way to validate the 
contents of a field.  I tried writing a closeField script that 
would do the validation, put up a message box if the format/contents 
are wrong, then set the focus back to the field for correction by 
the user. I end up getting two insertion point cursors (one in the 
bad field and one in the next field.  The keyboard does go to the 
bad field but having more than one insertion point is confusing to 
me let alone my end users.  By the way, I have tried not passing the 
closeField message but I'm not sure if the tab to next field takes 
place anyway.


Among my back burner projects is a Data Dictionary-driven RAD, which 
will validate user input in a field as compliant with the Data 
Dictionary specifications for the data that field captures (eg: 
required?, numeric?, # of decimal positions, show thousands 
separator?, show currency symbol?, lookup table, autoentry?, max 
length, max lines, etc).  Only some of the edits have been tested at 
this stage; but all that our working are triggered by closeField, 
enterInField (and returnInField for single-line fields),or internal 
logic if auto-entry fields, and I 

Re: no selection rectagle with screen grab?

2007-08-29 Thread Remembrix1
Hi Everybody,

Just officially joined. I don't see the problem on my Aluminum
Powerbook. However, I have been trying to figure out why I get a black
background when I export a snapshot via a script that selects the
area. When I alter the scrip to force manual selection, this doesn't
happen. It exports fine then.

Any thoughts?

Fred Maynor
Remembrix

On Aug 15, 10:24 pm, Richard Gaskin [EMAIL PROTECTED]
wrote:
 Thanks for the info, gang.

 I just updated Terry Judd's bug report on this with the information
 we've discovered today:

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

 It used to work so well, disappointing to have to consider pulling a
 feature from one of my apps

 --
   Richard Gaskin
   Managing Editor, revJournal
   ___
   Rev tips, tutorials and more:http://www.revJournal.com
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 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


[OT] Sort of... I need a mentor for V4REV...

2007-08-29 Thread Jim Carwardine
Hi Folks... This is [OT] sort of... because it is a cross-over issue...

We are truly finding starting to use V4REV a problem...

The Valentina wiki and other docs are not as helpful as we expected them to
be...

I would like to spend an hour or so on the phone with somebody who can help
us make sense of V4REV before I dump it all and go to a database that has
some books to reference.

Is there anyone out there that can help?

BTW we are using a MacBook w/ Intel and OS 10.4.10, Rev 2.8.1 and V4REV 3.3
for development

Thanks in advance... Jim

-- 

HiringSmart Canada is a successful international end-to-end human resource
support business 
 providing science-based assessments and productivity tools to multi-branch
 businesses 
 where each branch, without the help of an HR professional, attracts, hires and
 engages THE RIGHT PEOPLE.
 
We Help You Attract, Hire and Keep the Right People.
www.TalentSeeker.ca   www.HiringSmart.ca   www.KeepingTheBest.ca

HiringSmart Canada
23 Shoal Cove Road, Seabright, Nova Scotia, Canada.  B3Z 3A9
Phone: 902-823-2339. Fax: 902-823-2139


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


ODBC problem

2007-08-29 Thread Filippo Galimberti

Dear All,
I have a problem with Revolution accessing databases through ODBC. 
I'm running Revolution Studio 2.6.1 build 152 on Windows XP.


1) Background
We are collecting scientific research data in field using up to 25 
iPaq PocketPC at a time. For data collection we run a simple database 
management software on the PPCs, called HanDBase 
(http://www.ddhsoftware.com/). We collect a wide array of data, so we 
had to put about 50 linked databases on the PPCs. HanDBase has an 
ODBC driver. Revolution is used to access the various HanDBase 
databases on the various PPCs through ODBC, to process and store the 
data, to join other data sources (eg, results of lab analysis on 
biological samples), and prepare tables to be submitted for analysis 
to various numerical and statistical packages.


2) The problem
When we read data from HanDBase using ODBC we got a systematic error 
for date and time fields; all other fields are read correctly. The 
date fields are read on all records as the numeric value 20, and 
the time fields are read on all records as the numeric value 18. We 
had this problem in the past, starting with Revolution 2.1. At the 
time, we were interested in date fields only, and so I sorted out a 
workaround to get the required date information without using ODBC, 
and forgot the problem. Now, we also need to read the time fields, 
and no workaround seems possible.
We can read the same HanDBase date and time fields correctly on all 
ODBC programs that we tested, so it seems a Revolution problem. 
HanDBase can show date fields, time fields, and timestamp fields 
(date + time); all three kinds of fields are coded in the database as 
a timestamp; HanDBase technical support confirmed me that the ODBC 
format for date and time field isd the standard ODBC timestamp 
format, as from Microsoft ODBC API specifications 
(http://msdn2.microsoft.com/en-us/library/ms190234.aspx).


3) What I know.
- If I read the data type using revDatabaseColumnTypes() Revolution 
reports all these fields as TIMESTAMP; I understand that Revolution 
also recognizes these other data types: DATE,TIME,DATETIME, but it 
seems to read the data type of all our date and time fields as 
TIMESTAMP, and this make sense because it is in accordance to the 
HanDBase ODBC format
- In my scripts I use the revDatabaseColumnNamed() function to access 
the fields in the databases, but the problem exists also if I use the 
revDataFromQuery() function
- I suppose the revDatabaseColumnNamed() function to be coded in the 
revdb.dll, because I found no trace of it in the revdatabase script


4) Possible solution
I can use vbscript to access my HanDBase databases through ODBC, save 
the data as ASCII files, the read the ASCII files in Revolution and 
follow with the data processing. I made a rough try and it works, but 
it doesn't make much sense. Moreover, I'm not very happy with this 
solution, because I'm already under pressure from my colleagues to 
abandon Revolution, and move our whole data management system to 
something else. But this will mean to port a huge amount of scripts, 
and I'm a biologist, not a programmer, so I would prefer to sort out 
a solution in Revolution.


I will much appreciate your help, thank you in advance. Sorry for the 
long email.


Kind regards
Filippo Galimberti


Filippo Galimberti, PhD
Elephant Seal Research Group
[EMAIL PROTECTED]
www.eleseal.it

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


Re: Drag Drop with color cursor

2007-08-29 Thread Jim Carwardine
Welcome to MS and Entourage... Jim


on 8/27/07 7:28 PM, Mark Schonewille wrote:

 Hi Jim,
 
 Even after you quoted and resent the link, I can still click on it in
 Apple Mail and directly get to the correct page. I have no idea what
 your mail client does with it.
 
 Best regards,
 
 Mark Schonewille
 
 --
 
 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 
 Quickly extract data from your HyperCard stacks with DIFfersifier.
 http://differsifier.economy-x-talk.com
 
 
 Op 27-aug-2007, om 23:46 heeft Jim Carwardine het volgende geschreven:
 
 This got wrapped and I can't figure out how to unwrap the line.
 Just taking
 out the carriage return doesn't seem to help... Jim
 
 
 on 8/27/07 11:41 AM, Mark Schonewille wrote:
 
 http://search.gmane.org/search.php?
 group=gmane.comp.ide.revolution.userquery=drag+and+drop+dragdata
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

-- 

HiringSmart Canada is a successful international end-to-end human resource
support business 
 providing science-based assessments and productivity tools to multi-branch
 businesses 
 where each branch, without the help of an HR professional, attracts, hires and
 engages THE RIGHT PEOPLE.
 
We Help You Attract, Hire and Keep the Right People.
www.TalentSeeker.ca   www.HiringSmart.ca   www.KeepingTheBest.ca

HiringSmart Canada
23 Shoal Cove Road, Seabright, Nova Scotia, Canada.  B3Z 3A9
Phone: 902-823-2339. Fax: 902-823-2139


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


trouble with standalone valentina

2007-08-29 Thread Robert Mann
My application works fine in development mode but when I build the
standalone and test that database does not seem to get updated?

When the user opens the app it checks to see that they have registered if
they have it opens if not they have to click a register button, when they do
it sends then to a online rev app to complete the registration after they
complete it will log the new registration number in the online database
(mysql) and there local database (valentina), this work fine in development
mode but not the standalone. With the standalone it completes the
registration and as lone as you do not close the app it continues to see tha
t it is registered but as soon as you close and reopen then app it ask the
user to register again, so not sure what is going on, check the local
database and it is empty but the online has the registration number in it, 

Below is the script that I am using not sure how to test this it works every
time in development mode just not as a standalone? 

Thanks

rob

 

global dbID2, guserIDnum, gbase, dbID, gusername, gpassword, greg

 

ON mouseUp

  put  into fld _status

  IF the optionkey is down THEN

edit the script of me

exit mouseup

  END IF

 

 put fld username into gusername_# 

put fld password into tpassword

put md5digest(tpassword) into tMD5

get binarydecode (H*,tMD5,tlogin_passwd)



put Select uid from wt_users Where wt_users.name='gusername' AND
wt_users.password='tlogin_passwd' AND wt_users.active='Y' AND
wt_users.banned='N'; into theSQL

put revqueryDatabase (dbID2, theSQL) into curID2

 

IF curID2 is not a number THEN

answer Please enter the correct login information

break

ELSE

put revDatabaseColumnNamed(curID2,uid) into guserIDnum

-- put guserIDnum into fld userID

END IF

  revCloseCursor curID2

 

  

    MAKE REGISTRATION KEY  _# 

  put urlencode(makekey()) into _key

  set the _customKeyVSCR of this stack to _key

 

put Select * from registration Where
registration.userId=guserIDnum; into theSQL

put revqueryDatabase (dbID2, theSQL) into curID2

put revqueryDatabase (dbID, theSQL) into curID

 

IF curID2 is a number AND  curID is a number THEN

put revDatabaseColumnNamed (curID2, greg) into gbase2

put revDatabaseColumnNamed (curID, greg) into gbase

 

   IF gbase is empty THEN

  put UPDATE registration set greg='_key' where
userid='guserIdnum' into theSQL

 revExecuteSQL dbID, theSQL

  put it into terror

 

   ELSE IF  gbase is N THEN

 put UPDATE registration set greg='_key' where
userid='guserIdnum' into theSQL

 revExecuteSQL dbID, theSQL

 put it into terror

END IF

   

  IF gbase2 is empty THEN

 put UPDATE registration set greg='_key' where
userid='guserIdnum' into theSQL

 revExecuteSQL dbID2, theSQL

 put it into terror2

 

   ELSE IF  gbase2 is N THEN

 put UPDATE registration set greg='_key' where
userid='guserIdnum' into theSQL

 revExecuteSQL dbID2, theSQL

 put it into terror2

END IF

 

 put SELECT greg from registration where
registration.userID='guseridnum' into theSQL

 put revquerydatabase (dbID2, theSQL) into curID2

 put revQueryDatabase (dbID, theSQL) into curID

 put revdatabaseColumnNamed (curId2, greg) into treg

 put revDatabaseColumnNamed (curID,  greg) into treg2

   

--check to make sure that reg number is in both database

IF matchtext (treg,_key) AND matchtext(treg2,_key) THEN

 put Registration Complete into fld _status

   

  put  into fld username

  put  into fld password

  put  into treg

  put  into treg2

  put  into greg

   open card springcalc of stack springcalc


  show stack springcalc

  close  stack Registration

   revclosecursor curID

  revclosecursor curID2

  revclosedatabase dbID2

 close stack reg_stack

 

 

  ELSE

  put error during registration into fld _status

  

 END IF



END IF

 

END mouseUp

 

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


Help with shell() script

2007-08-29 Thread Paul Williams

I am trying to use the openssl function within cygwin in windows.
The following is the script, instead of sending the command 'version' to
openssl it appears to be sending /C as the result quotes that /C is not
a valid command.  

The it variable contains:
openssl:Error: '/C' is an invalid command.
Standard commands
asn1parse ... 


Putting 'version' in at the prompt works OK.
What am I doing wrong and where does the /C come from?

Paul

on mouseUp
  set the hideconsolewindows to true
  put   c:\cygwin\bin\openssl.exe into filepath
  open process filepath
  set shellcommand to c:\cygwin\bin\openssl.exe
  put version into shellc
  get shell(version) 
   answer it
 end mouseUp

___
use-revolution mailing list
use-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: Help with shell() script

2007-08-29 Thread xavier . bury
Hi Paul,

The problem, if im correct, is that you are assigning the shell to be the 
exe to be exectuted in the shell...

Set the shellcommand to cmd.exe -- reset it to what it should be - if im 
correct... i didn't know we could set dir and the shell command!
get shell(filepath  Version)

should work better IMOHO...

Unfortunately i dont have the openssl.exe from cygwin to test.

hope that helps
cheers
Xavier

[EMAIL PROTECTED] wrote on 29/08/2007 16:44:59:

 
 I am trying to use the openssl function within cygwin in windows.
 The following is the script, instead of sending the command 'version' to
 openssl it appears to be sending /C as the result quotes that /C is 
not
 a valid command. 
 
 The it variable contains:
 openssl:Error: '/C' is an invalid command.
 Standard commands
 asn1parse ... 
 
 
 Putting 'version' in at the prompt works OK.
 What am I doing wrong and where does the /C come from?
 
 Paul
 
 on mouseUp
   set the hideconsolewindows to true
   put   c:\cygwin\bin\openssl.exe into filepath
   open process filepath
   set shellcommand to c:\cygwin\bin\openssl.exe
   put version into shellc
   get shell(version) 
answer it
  end mouseUp
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER
___
use-revolution mailing list
use-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: Help with shell() script

2007-08-29 Thread xavier . bury
I checked it with a little script:

set the shellcommand to c:\apps\cygwin\ls.exe
get shell() -- needs the quotes apparently or it wont compile
answer it

when you execute this you will see again the damn /c in the error message

Tested quickly in MetaCard... should be the same in Rev...

cheers
Xavier

[EMAIL PROTECTED] wrote on 29/08/2007 16:58:10:

 Hi Paul,
 
 The problem, if im correct, is that you are assigning the shell to be 
the 
 exe to be exectuted in the shell...
 
 Set the shellcommand to cmd.exe -- reset it to what it should be - if 
im 
 correct... i didn't know we could set dir and the shell command!
 get shell(filepath  Version)
 
 should work better IMOHO...
 
 Unfortunately i dont have the openssl.exe from cygwin to test.
 
 hope that helps
 cheers
 Xavier
 
 [EMAIL PROTECTED] wrote on 29/08/2007 16:44:59:
 
  
  I am trying to use the openssl function within cygwin in windows.
  The following is the script, instead of sending the command 'version' 
to
  openssl it appears to be sending /C as the result quotes that /C 
is 
 not
  a valid command. 
  
  The it variable contains:
  openssl:Error: '/C' is an invalid command.
  Standard commands
  asn1parse ... 
  
  
  Putting 'version' in at the prompt works OK.
  What am I doing wrong and where does the /C come from?
  
  Paul
  
  on mouseUp
set the hideconsolewindows to true
put   c:\cygwin\bin\openssl.exe into filepath
open process filepath
set shellcommand to c:\cygwin\bin\openssl.exe
put version into shellc
get shell(version) 
 answer it
   end mouseUp
  
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 

 Clearstream Services S.A.
 42 Avenue JF Kennedy, L-1855 Luxembourg
 Société anonyme is organised with limited liability
 in the Grand Duchy of Luxembourg RC Luxembourg B 60911.
 
 
 -
 Visit us at http://www.clearstream.com
 
 IMPORTANT MESSAGE
 
 Internet communications are not secure and therefore Clearstream
 International does not accept legal responsibility for the contents
 of this message.
 
 The information contained in this e-mail is confidential and may be
 legally privileged. It is intended solely for the addressee. If you
 are not the intended recipient, any disclosure, copying,
 distribution or any action taken or omitted to be taken in reliance
 on it, is prohibited and may be unlawful. Any views expressed in
 this e-mail are those of the individual sender, except where the
 sender specifically states them to be the views of Clearstream
 International or of any of its affiliates or subsidiaries.
 
 Legally required information for business correspondence/
 Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
 http://deutsche-boerse.com/letterhead
 
 END OF DISCLAIMER
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER
___
use-revolution mailing list
use-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: Microsoft XML

2007-08-29 Thread Stephen Barncard
Yes, I've never had a client complaint with this method. And since 
the resulting file acquires a nice icon and can be double-clicked to 
open, it looks and feels like an Excel document.


Actually it's BETTER as the client can load the created document, 
then add it to an existing workbook, do a little column adjusting and 
save as an Excel spreadsheet.





The 'launch' command causes the file to be opened with Excel, since 
the file was written with a fileType of XCELTEXT.


HTH -
Phil Davis
___


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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


Re: trouble with standalone valentina

2007-08-29 Thread Eric Chatonet

Hi Rob,

Le 29 août 07 à 01:03, Robert Mann a écrit :


My application works fine in development mode but when I build the
standalone and test that database does not seem to get updated?


Databases are not my field but reading your script I saw:


  set the _customKeyVSCR of this stack to _key


Could it be simply related to the fact that a standalone can't be saved?
Then the _customKeyVSCR is always empty when relaunching.
Hope this helps.
Not sure ;-)

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: trouble with standalone valentina

2007-08-29 Thread Robert Mann
Thanks eric, but the script that does the update of both databases is on the
web so it is not compiled into a application

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet
Sent: Wednesday, August 29, 2007 11:26 AM
To: How to use Revolution
Subject: Re: trouble with standalone valentina 

Hi Rob,

Le 29 août 07 à 01:03, Robert Mann a écrit :

 My application works fine in development mode but when I build the
 standalone and test that database does not seem to get updated?

Databases are not my field but reading your script I saw:

   set the _customKeyVSCR of this stack to _key

Could it be simply related to the fact that a standalone can't be saved?
Then the _customKeyVSCR is always empty when relaunching.
Hope this helps.
Not sure ;-)

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: Gradient textures

2007-08-29 Thread Wilhelm Sanke

My stack
http://www.sanke.org/Software/ImagedataToolkitPreview3.zip
has a number of gradient tools, both for creating gradients from scratch 
and to create gradients or gradient patterns from images.


See the examples in my Imagedata Art Gallery.

The stack at present allows working only for a fixed image size - 
640X480 - but you could use the snapshot tool to select parts of a  
produced gradient.


The new upcoming version of the Imgedata Toolkit will allow to process 
any image size


Regards,

Wilhelm Sanke
http://www.sanke.org/MetaMedia

___
use-revolution mailing list
use-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: trouble with standalone valentina

2007-08-29 Thread Andre Garzia
Hello Robert,
this may sound naive. But instead of using this stack try to use the real
name of the stack. The stack you think is the default might not be the
default one so you may been accessing the property of some other stack which
is empty.

try using something like:

if the _customKeyVSCR of this stack is empty then
   answer current stack is  the short name of this stack
end if

if it is the correct stack, then check is the custompropertyset is the right
one. You may be accessing the right stack all along but trying with a wrong
property set being the current one.

If the problem still persists, run your routine that saves the VSCR key and
then open the *troublesome* stack in the IDE and check if the value is being
saved. Chances are if you're acessing it right but there's no value that the
save routine is wrong.

HTH
andre



On 8/29/07, Eric Chatonet [EMAIL PROTECTED] wrote:

 Hi Rob,

 Le 29 août 07 à 01:03, Robert Mann a écrit :

  My application works fine in development mode but when I build the
  standalone and test that database does not seem to get updated?

 Databases are not my field but reading your script I saw:

set the _customKeyVSCR of this stack to _key

 Could it be simply related to the fact that a standalone can't be saved?
 Then the _customKeyVSCR is always empty when relaunching.
 Hope this helps.
 Not sure ;-)

 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: Microsoft XML

2007-08-29 Thread Dale Pond

Has anyone looked at the native format used by Apple's Numbers?

Some interesting history might help with this question... many years  
ago (1989?) Apple purchased the kernel for their spreadsheet used in  
AppleWorks from WingZ (now long since defunct). They paid $1,000,000  
for it. I know this because I was using WingZ 1.0 and absolutely love  
the program. It had (even at 1.0) far more capability than MS's  
skinned down bleached out program. WingZ went bust, I suppose, for  
lack of market. Anyhow, the current version of AppleWorks can accept  
a cut and paste of the data and formulae from WingZ. However, since  
Apple did not implement ALL of WingZ capabilities some things don't  
work as well.


It is PRESUMED the new Numbers spreadsheet is a derivative of all  
this. If not I reckon it's sol time (again).


On the other hand, the original code for WingZ 3.0 was dumped to the  
web as a Linux program. Not being a Linux programmer I was not able  
to get it to run on Mac - though I do have that code in the event  
anyone wants it, let me know.


Life, Light, Love  Laughter,
Dale Pond
Sympathetic Vibratory Physics
http://www.svpvril.com/
Passive Income Shopping Online
http://www.mypowermall.com/Biz/Home/17477


___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread Richard Gaskin

David Bovill wrote:

I've been taking a look at those gently beveled buttons / bars, and I'm
wandering the best way to do this. It seems people often use gradient fill
in images created in another program. My first take on this is that it is
not the optimal way to do things - is it not better to use a small image and
tile a button or a background of a group? For instance a 1 pixel wide image
(in the shape of a vertical line) which fades slightly at the top and bottom
- rather than an entire image in the form of a bar?


That's pretty much the approach I took when writing my Gradient tool in 
devolution.  It generates a vertical or horizontal gradient only 8 
pixels wide (I found 1-pixel widths to be problematic), and then 
stretches it to fill the space required.


This allows gradients to be generated very quickly, and they take up 
very little storage space.


The only downside to this approach is that it's only good for the 
gradient itself.  That is, if you also need text or other elements in 
the same image the stretching will hose that, and using a stretched 
image as a backgroundPattern causes the object using it to render with 
varied tiling results (there are some funky limits to tiled fills on 
Mac, and different limits on Windows).


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: 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: trouble with standalone valentina

2007-08-29 Thread Robert Mann
The _customKeyVSCR is working properly this is later used to check paypal
payment which is working, 
The problem is getting the information into the valentina database in
development mode it goes in but when I build a standalone it does not?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andre Garzia
Sent: Wednesday, August 29, 2007 12:19 PM
To: How to use Revolution
Subject: Re: trouble with standalone valentina

Hello Robert,
this may sound naive. But instead of using this stack try to use the real
name of the stack. The stack you think is the default might not be the
default one so you may been accessing the property of some other stack which
is empty.

try using something like:

if the _customKeyVSCR of this stack is empty then
   answer current stack is  the short name of this stack
end if

if it is the correct stack, then check is the custompropertyset is the right
one. You may be accessing the right stack all along but trying with a wrong
property set being the current one.

If the problem still persists, run your routine that saves the VSCR key and
then open the *troublesome* stack in the IDE and check if the value is being
saved. Chances are if you're acessing it right but there's no value that the
save routine is wrong.

HTH
andre



On 8/29/07, Eric Chatonet [EMAIL PROTECTED] wrote:

 Hi Rob,

 Le 29 août 07 à 01:03, Robert Mann a écrit :

  My application works fine in development mode but when I build the
  standalone and test that database does not seem to get updated?

 Databases are not my field but reading your script I saw:

set the _customKeyVSCR of this stack to _key

 Could it be simply related to the fact that a standalone can't be saved?
 Then the _customKeyVSCR is always empty when relaunching.
 Hope this helps.
 Not sure ;-)

 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


Re: Gradient Textures

2007-08-29 Thread Trevor DeVore

On Aug 29, 2007, at 12:40 PM, Richard Gaskin wrote:

 (there are some funky limits to tiled fills on Mac, and different  
limits on Windows).


Didn't 2.7 do away with these limits? Or am I mistaken?

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com


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


Re: Microsoft XML

2007-08-29 Thread Richard Gaskin

Dale Pond wrote:
Some interesting history might help with this question... many years  
ago (1989?) Apple purchased the kernel for their spreadsheet used in  
AppleWorks from WingZ (now long since defunct). They paid $1,000,000  
for it. I know this because I was using WingZ 1.0 and absolutely love  
the program. It had (even at 1.0) far more capability than MS's  
skinned down bleached out program. WingZ went bust, I suppose, for  
lack of market. Anyhow, the current version of AppleWorks can accept  
a cut and paste of the data and formulae from WingZ. However, since  
Apple did not implement ALL of WingZ capabilities some things don't  
work as well.


So that's who killed Wingz.  I've always wondered about that.  Wingz was 
an unusually useful program, and when it was EOL'd I never really 
understood why; it was so original that I felt the only problem with it 
was its marketing, the challenge of selling something that so redefines 
the spreadsheet.


I've long advocated such an approach, doing away with the inflexibility 
of row-and-column fixation which characterizes most of the market, and 
which arguably is just a holdover from pre-GUI character-driven displays.


But it's a tough sell:  so many people have become so used to being 
bound to the limits of traditional spreadsheets that it's difficult for 
them to conceive of a more open way of working.


I have a half-dozen prototypes on my hard drive experimenting with a 
similarly free-form approach to making a calculation tool like this. 
The combination of the marketing challenge, Excel's dominance, and Rev's 
lack of column alignment kept it on the backburner.  I can't feel to 
badly that Apple's beating me to the punch on delivering this, since it 
almost requires a company of their size to validate such an unusual 
approach to get people to take it seriously.


One odd anomaly with Numbers, though:  no macro/scripting language? 
Strange omission


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: 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: Gradient Textures

2007-08-29 Thread Richard Gaskin

Trevor DeVore wrote:

On Aug 29, 2007, at 12:40 PM, Richard Gaskin wrote:

 (there are some funky limits to tiled fills on Mac, and different  
limits on Windows).


Didn't 2.7 do away with these limits? Or am I mistaken?


Possibly, I can't say:  I needed gradients and not necessarily a 
gradient tool, so I built the tool to do what I need for making 
presentations and UIs.  Since it's been working all these years I 
haven't gone back to research other options, but perhaps if things slow 
down here I'll get back it some day.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: 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: Gradient Textures

2007-08-29 Thread David Bovill
Thanks guys - I'll give it a go. Richard, when you say:

using a stretched image as a backgroundPattern causes the object using it to
 render with varied tiling results


 Do you mean that if I use backgroundpattern with a button or group then the
text label or other elements that you would expect to work can work
inconsistently - or are you refering to the effect you would expect if the
gradient bitmap has bitmap text burned into it? I can't quite picture the
circumstances...
___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread David Bovill
Successfully crashing Rev with this :) Just to check - imagedata is
basically one long binary string with each pixel represented by 4 bytes
(that is characters for the rest of us), and no consideration of the width
and height of the image coming into this simple long string. On the other
hand if you dont get the format and length of this string right - you may
end up crashing Rev :) The length should be:

  4 x the width of imageObject * the height of imageObject

Now to figure out what i am doing to crash Rev...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


canceling a wait with messages call...

2007-08-29 Thread Andre Garzia
Hello Friends,
tricky newbie question here. I have a handler which is a looper. It will
loop downloading files from a queue. It uses a line:

wait while lCurrentFileStatus is empty with messages

to let the handler block (but not the application) till the download is
complete or blocked. Tricky thing is, if you simply unplug the network
during the FTP file transfer, revolution is giving no error, it waits and
blocks forever until you abort with CMD+. when it promptly sends the expect
error message back to the handler. I can't wait till the user aborts the
call, it's not polite, so I've used another handler running in parallel with
this one which is a timeout handler.

My first option was, if the timeout handler triggers, then I set the script
local variable lCurrentFileStatus to some non-empty-but-error value and the
looper handler would unblock itself and continue processing. This didn't
work, I don't know why, this is the expected behaviour. A script local
variable is used as flag and one handler blocks waiting for other handler to
work with it. It works like a charm if the download goes okay, the message
sent to the callback handler changes this script local variable and the
handler unblocks.

If there's no network and my own timeout handler tries to set this variable
to something, the handler does not unblock, instead of debugging libURL or
Rev Engine or wherever the problem is, I am now trying to cancel the blocked
handler. I though it would appear in the pending messages, but it does not.
So the question is, how do I cancel a blocked handler?

Cheers
andre
___
use-revolution mailing list
use-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: Help with shell() script

2007-08-29 Thread Paul Williams
Yes Xavier,
this is the problem, I am trying to script the openssl shell.
I can run a single command from the cmd.exe shell but it quits at the end,
what I need is a way to open the opessl shell and then read and write shell
commands to it but the '/C' keeps gettng in the way.

Has anybody else had any success with working with this?

Paul

 I checked it with a little script:

 set the shellcommand to c:\apps\cygwin\ls.exe
 get shell() -- needs the quotes apparently or it wont compile
 answer it

 when you execute this you will see again the damn /c in the error
 message

 Tested quickly in MetaCard... should be the same in Rev...

 cheers
 Xavier

 [EMAIL PROTECTED] wrote on 29/08/2007
 16:58:10:

  Hi Paul,
 
  The problem, if im correct, is that you are assigning the shell to
 be
 the
  exe to be exectuted in the shell...
 
  Set the shellcommand to cmd.exe -- reset it to what it should be
 - if
 im
  correct... i didn't know we could set dir and the shell
 command!
  get shell(filepath  Version)
 
  should work better IMOHO...
 
  Unfortunately i dont have the openssl.exe from cygwin to test.
 
  hope that helps
  cheers
  Xavier
 
  [EMAIL PROTECTED] wrote on 29/08/2007
 16:44:59:
 
  
   I am trying to use the openssl function within cygwin in
 windows.
   The following is the script, instead of sending the command
 'version'
 to
   openssl it appears to be sending /C as the result quotes that
 /C
 is
  not
   a valid command.
  
   The it variable contains:
   openssl:Error: '/C' is an invalid command.
   Standard commands
   asn1parse ... 
  
  
   Putting 'version' in at the prompt works OK.
   What am I doing wrong and where does the /C come from?
  
   Paul
  
   on mouseUp
 set the hideconsolewindows to true
 put   c:\cygwin\bin\openssl.exe into filepath
 open process filepath
 set shellcommand to c:\cygwin\bin\openssl.exe
 put version into shellc
 get shell(version)
  answer it
end mouseUp
  
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 
 
  Clearstream Services S.A.
  42 Avenue JF Kennedy, L-1855 Luxembourg
  Société anonyme is organised with limited liability
  in the Grand Duchy of Luxembourg RC Luxembourg B 60911.
 
 
  -
  Visit us at http://www.clearstream.com
 
  IMPORTANT MESSAGE
 
  Internet communications are not secure and therefore Clearstream
  International does not accept legal responsibility for the
 contents
  of this message.
 
  The information contained in this e-mail is confidential and may
 be
  legally privileged. It is intended solely for the addressee. If
 you
  are not the intended recipient, any disclosure, copying,
  distribution or any action taken or omitted to be taken in
 reliance
  on it, is prohibited and may be unlawful. Any views expressed in
  this e-mail are those of the individual sender, except where the
  sender specifically states them to be the views of Clearstream
  International or of any of its affiliates or subsidiaries.
 
  Legally required information for business correspondence/
  Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
  http://deutsche-boerse.com/letterhead
 
  END OF DISCLAIMER
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



 
 
 Clearstream Services S.A.
 42 Avenue JF Kennedy, L-1855 Luxembourg
 Société anonyme is organised with limited liability
 in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


 -
 Visit us at http://www.clearstream.com

 IMPORTANT MESSAGE

 Internet communications are not secure and therefore Clearstream
 International does not accept legal responsibility for the
 contents
 of this message.

 The information contained in this e-mail is confidential and may
 be
 legally privileged. It is intended solely for the addressee. If
 you
 are not the intended recipient, any disclosure, copying,
 distribution or any action taken or omitted to be taken in
 reliance
 on it, is prohibited and may be unlawful. Any views expressed in
 this e-mail are those of the individual sender, except where the
 sender specifically states them to be the views of Clearstream
 International or of any of its affiliates or subsidiaries.

 Legally required information for business correspondence/
 Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
 http://deutsche-boerse.com/letterhead

 END OF DISCLAIMER
 

Re: canceling a wait with messages call...

2007-08-29 Thread David Bovill
Andre - the way I've done this was by using the libURLSetStatusCallback
command - you can then check for anything and do your download
asynchronously. When the callback is downloaded then fetch the next item
from your list?
___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread Richard Gaskin

David Bovill wrote:

 Richard, when you say:
 using a stretched image as a backgroundPattern causes the
 object using it to render with varied tiling results

 Do you mean that if I use backgroundpattern with a button or
 group then the text label or other elements that you would
 expect to work can work inconsistently - or are you refering
 to the effect you would expect if the gradient bitmap has
 bitmap text burn

On that sentence I was referring to the former, but both have anomalies, 
each of a different sort.


If you have what is really a small image (8 pixels wide) stretched 
horizontally to, say, 800 px, then the imageData is really only 8 pixels 
regardless of how the image object is sized.  So when you assign the ID 
of that image object to another object, such as a button, it will adopt 
the imageData when rendered, regardless of the apparent size of that 
image object.


In most cases that may be fine, but in v2.6.2 an earlier (haven't 
experimented since the compositing engine was revamped) the OS limits on 
tiled images could sometimes give unexpected results.


For example, if you make a vertical gradient using the narrow method I 
decribe, and make that image object 1024x768 (I use this mostly for 
presentation backgrounds), then you can place the object in a background 
and it works great.  But if instead you set the backgroundPattern of the 
card or stack to use that image, on Mac it'll crop the height to some 
arbitrary limit I haven't taken the time to define, causing it to tile 
vertically as well as horizontally, causing the gradient to appear 
truncated and start over again from the top somewhere in the middle of 
the card.


With the other situation (burning text into an image), the visual 
distortion is merely what one would expect when stretching the image object.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: 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: canceling a wait with messages call...

2007-08-29 Thread Jim Ault
David gave you an answer that works for downloading,
but there could be other events you want to wait
while

Suggestion:  try a custom property
  wait while the cpBusyFlag of this stack is not empty
--since it might trigger when a script local will not
--seems like a bug to me

Another thought is to do the following to force the
re-evaluation of the flag variable

get lCurrentFileStatus
repeat while it is not empty
   get lCurrentFileStatus
   wait 1 second with messages
end repeat

Hope this helps

Jim Ault
Las Vegas

--- Andre Garzia [EMAIL PROTECTED] wrote:

 Hello Friends,
 tricky newbie question here. I have a handler which
 is a looper. It will
 loop downloading files from a queue. It uses a line:
 
 wait while lCurrentFileStatus is empty with
 messages
 
 to let the handler block (but not the application)
 till the download is
 complete or blocked. Tricky thing is, if you simply
 unplug the network
 during the FTP file transfer, revolution is giving
 no error, it waits and
 blocks forever until you abort with CMD+. when it
 promptly sends the expect
 error message back to the handler. I can't wait
 till the user aborts the
 call, it's not polite, so I've used another handler
 running in parallel with
 this one which is a timeout handler.
 
 My first option was, if the timeout handler
 triggers, then I set the script
 local variable lCurrentFileStatus to some
 non-empty-but-error value and the
 looper handler would unblock itself and continue
 processing. This didn't
 work, I don't know why, this is the expected
 behaviour. A script local
 variable is used as flag and one handler blocks
 waiting for other handler to
 work with it. It works like a charm if the download
 goes okay, the message
 sent to the callback handler changes this script
 local variable and the
 handler unblocks.
 
 If there's no network and my own timeout handler
 tries to set this variable
 to something, the handler does not unblock, instead
 of debugging libURL or
 Rev Engine or wherever the problem is, I am now
 trying to cancel the blocked
 handler. I though it would appear in the pending
 messages, but it does not.
 So the question is, how do I cancel a blocked
 handler?
 
 Cheers
 andre
 ___
 use-revolution mailing list
 use-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: Microsoft XML

2007-08-29 Thread Dale Pond

Richard Gaskin wrote:

So that's who killed Wingz.  I've always wondered about that.  Wingz was
an unusually useful program, and when it was EOL'd I never really
understood why; it was so original that I felt the only problem with it
was its marketing, the challenge of selling something that so redefines
the spreadsheet.

I've long advocated such an approach, doing away with the inflexibility
of row-and-column fixation which characterizes most of the market, and
which arguably is just a holdover from pre-GUI character-driven  
displays.


But it's a tough sell:  so many people have become so used to being
bound to the limits of traditional spreadsheets that it's difficult for
them to conceive of a more open way of working.

I have a half-dozen prototypes on my hard drive experimenting with a
similarly free-form approach to making a calculation tool like this.
The combination of the marketing challenge, Excel's dominance, and Rev's
lack of column alignment kept it on the backburner.  I can't feel to
badly that Apple's beating me to the punch on delivering this, since it
almost requires a company of their size to validate such an unusual
approach to get people to take it seriously.

One odd anomaly with Numbers, though:  no macro/scripting language?
Strange omission

==

I apologize to everyone about this off topic issue. WingZ and  
HyperCard were so VASTLY important to me and my research - still are  
- but I see the EOL fast approaching - unless someone can get WingZ  
3.0 going on a Mac and I can convert over all my HC work. WingZ could  
be scripted almost as easily as HyperCard.


I'd say the general user public was not interested in such  
flexibility and power. Programmers would be though. I located some  
links to the program:


A good article on and about the program, etc.
http://www.thefreelibrary.com/Investment+Intelligence+Announces 
+Release+of+Wingz+and+Wingz+...-a053426836


Download the WingZ program from here:
http://www.ibiblio.org/linsearch/cgi-bin/isearch


Life, Light, Love  Laughter,
Dale Pond
Sympathetic Vibratory Physics
http://www.svpvril.com/
Passive Income Shopping Online
http://www.mypowermall.com/Biz/Home/17477


___
use-revolution mailing list
use-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: canceling a wait with messages call...

2007-08-29 Thread Dave Cragg


On 29 Aug 2007, at 18:10, Andre Garzia wrote:

Hi Andre

tricky newbie question here. I have a handler which is a looper. It  
will

loop downloading files from a queue. It uses a line:

wait while lCurrentFileStatus is empty with messages

to let the handler block (but not the application) till the  
download is

complete or blocked. Tricky thing is, if you simply unplug the network
during the FTP file transfer, revolution is giving no error, it  
waits and
blocks forever until you abort with CMD+. when it promptly sends  
the expect

error message back to the handler.


I don't exactly follow the details of your problem, but I'm guessing  
this is a general gotcha when using libraries that use wait ... with  
messages or wait for messages to implement asynchronous behaviour.  
As you can imagine, libUrl is full of this stuff.


When you implement a sequence of wait ... with messages, they have  
to unblock in the reverse order they were used. So assuming you  
made a number of libUrl calls (vial load url, for example), and then  
used the above line, the waits inside libUrl won't unblock until  
the above wait unblocks. It's easy to get into an eternal wait. The  
general rule is not to use waits of any kind while a library (or  
any other routine) that uses asynchronous waits is running.


Possible ways to avoid using waits.

-- rely on the callback message of load url to set things
-- use send ... in 
-- use script-blocking calls (get url)

Sorry if I've missed the point entirely. :-)

Cheers
Dave



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


Re: Gradient Textures

2007-08-29 Thread David Bovill
Thanks for the explanation Richard - lets see how it goes with 2.8.1 now
that I've figured out what was causing the crash (setting some binary rgb
values to a number  255)...
___
use-revolution mailing list
use-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: Gradient Textures

2007-08-29 Thread Richard Gaskin

David Bovill wrote:

Thanks for the explanation Richard - lets see how it goes with 2.8.1 now
that I've figured out what was causing the crash (setting some binary rgb
values to a number  255)...


Good sleuthing there, David.  Thanks for posting the recipe.  It's good 
to stay up on any crashing issues in case we need to find a workround.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: 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


connecting to 3.2 valventina database with rev

2007-08-29 Thread Robert Mann
Valentina 3.2 

 

I am getting the following error on the converting valentina connection id
to revdb connection id

 

revdberr,invalid database type

 

with the follow script

 

  put 20 * 1024 * 1024 into theCacheSize

put empty into theMacSerialNumber

put fld serial into theWinSerialNumber

put  into theEncryptionKey

get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber)

put VDatabase_Constructor(kDisk) into theConnectionID

get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey,
kStructureAndRecords)

get VDatabase_Open(theConnectionID, dbPath)



## SOME BASIC ERROR CHECKING

IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN

IF VDatabase_ErrNumber(theConnectionID)  0 THEN

put OS error ( VDatabase_ErrNumber(theConnectionID) ) into
theError

ELSE

put VDatabase_ErrString(theConnectionID) into theError

END IF



answer Error connecting to valentina:  theError

exit to top

END IF

 

## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID

## SO THAT WE CAN USE THE REVDB FUNCTIONS

put revOpenDatabase(Valentina2,,theConnectionID,,) into dbID
this is where I get the error

 

put dbID into fld dbID

 

 

any ideas as to why?

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


https Help Needed

2007-08-29 Thread Scott Rossi
Hey Rev List:

I'm under a very tight deadline on an https file access stack for Mac/Win.
I need to download a file from a secure server to a local drive, ideally
using 'load URL' so I can monitor progress.

Apparently there is a bug in the SSL stuff in libURL that prevents the
library from working reliably on OSX(?).  I was able to workaround the
problem of *reading* a text file on the server by using the previously
posted shell workaround for OSX:
get shell(curl -v -k  secureServerPath)

This seems to work fine for reading, but now how can I download a file from
this same secure server and monitor progress?  Any option for this?

Am hoping somebody can provide a solution soon as I'm quickly running out of
time.

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


Re: https Help Needed

2007-08-29 Thread Brian Yennie

Scott,

How about:

1) Use curl to get the file size from the HTTP header using the -- 
head option:



   -I/--head
  (HTTP/FTP/FILE) Fetch the HTTP-header only! HTTP- 
servers feature
  the command HEAD which this uses to get nothing but   
the  header
  of  a  document.  When used on a FTP or FILE file,  
curl displays

  the file size and last modification time only.


2) Download the file to the user's temporary folder, and monitor the  
size of the temp file.



---
Brian Yennie
QLD Learning


___
use-revolution mailing list
use-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: connecting to 3.2 valventina database with rev

2007-08-29 Thread Robert Mann
I tried valentina3 did not work

Tracing my steps back I was running valentina 2.5.6 reloaded this works fine




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Mann
Sent: Wednesday, August 29, 2007 3:34 PM
To: [EMAIL PROTECTED]; use-revolution@lists.runrev.com
Subject: connecting to 3.2 valventina database with rev

Valentina 3.2 

 

I am getting the following error on the converting valentina connection id
to revdb connection id

 

revdberr,invalid database type

 

with the follow script

 

  put 20 * 1024 * 1024 into theCacheSize

put empty into theMacSerialNumber

put fld serial into theWinSerialNumber

put  into theEncryptionKey

get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber)

put VDatabase_Constructor(kDisk) into theConnectionID

get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey,
kStructureAndRecords)

get VDatabase_Open(theConnectionID, dbPath)



## SOME BASIC ERROR CHECKING

IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN

IF VDatabase_ErrNumber(theConnectionID)  0 THEN

put OS error ( VDatabase_ErrNumber(theConnectionID) ) into
theError

ELSE

put VDatabase_ErrString(theConnectionID) into theError

END IF



answer Error connecting to valentina:  theError

exit to top

END IF

 

## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID

## SO THAT WE CAN USE THE REVDB FUNCTIONS

put revOpenDatabase(Valentina2,,theConnectionID,,) into dbID
this is where I get the error

 

put dbID into fld dbID

 

 

any ideas as to why?

___
Valentina mailing list
[EMAIL PROTECTED]
http://lists.macserve.net/mailman/listinfo/valentina

___
use-revolution mailing list
use-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: https Help Needed

2007-08-29 Thread Mark Smith
Sadly, as things stand, we can't interact with the shell on OS X (see  
bug 2538), so Brian's suggestion of using curl and monitoring the  
resulting file seems like it could work.


Best,

Mark

On 29 Aug 2007, at 20:54, Scott Rossi wrote:


Hey Rev List:

I'm under a very tight deadline on an https file access stack for  
Mac/Win.
I need to download a file from a secure server to a local drive,  
ideally

using 'load URL' so I can monitor progress.

Apparently there is a bug in the SSL stuff in libURL that prevents the
library from working reliably on OSX(?).  I was able to workaround the
problem of *reading* a text file on the server by using the previously
posted shell workaround for OSX:
get shell(curl -v -k  secureServerPath)

This seems to work fine for reading, but now how can I download a  
file from

this same secure server and monitor progress?  Any option for this?

Am hoping somebody can provide a solution soon as I'm quickly  
running out of

time.

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


___
use-revolution mailing list
use-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: https Help Needed

2007-08-29 Thread Mark Smith
Sorry, I take that back. I don't think it will work because shell  
calls are blocking - your app will do nothing until the shell call to  
curl is completed, appending an ampersand (to put the process in the  
background) doesn't work in Rev on OS X.


BTW, what are the problems you're having with libURL and https? I had  
some problems with frequent timeouts, and although I've since  
migrated that particular app to using curl, before I did, I managed  
to come up with a repeat loop that kept trying until it succeeded.  
Not ideal, but it worked.


Best,

Mark

On 30 Aug 2007, at 00:46, Mark Smith wrote:

Sadly, as things stand, we can't interact with the shell on OS X  
(see bug 2538), so Brian's suggestion of using curl and monitoring  
the resulting file seems like it could work.


Best,

Mark


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


Re: https Help Needed

2007-08-29 Thread Sarah Reichelt
On 8/30/07, Mark Smith [EMAIL PROTECTED] wrote:
 Sorry, I take that back. I don't think it will work because shell
 calls are blocking - your app will do nothing until the shell call to
 curl is completed, appending an ampersand (to put the process in the
 background) doesn't work in Rev on OS X.

I don't know anything about HTTPS so can't help you there, but I do
have a technique for non-blocking shell calls which might help. I have
included my ping function below which uses the shell ping command with
extra parameters that tell it to send the result to a file. Then I
just have a loop that checks for that file and when it has arrived,
reads the result that way.

Pinging is instant when it works, but takes a long time to fail, so I
find this trick works really well. Maybe you could do something
similar.

function checkPing pIP
put specialFolderPath(Desktop)  /ping.txt into tFileName
if there is a file tFileName then delete file tFileName

put ping -c1 -npIP into tShellCmd
put tFileName   21  after tShellCmd
get shell(tShellCmd)

put 0 into timeCheck
repeat 50 times
add 1 to timeCheck
wait 1 tick with messages
if there is a file tFileName then
put URL (file:  tFileName) into tRes
if tRes is empty then next repeat  -- file created but no result yet

put wordOffset(loss, tRes) into tWord
if tWord = 0 then next repeat -- file created but result
not complete

-- if there is a file tFileName then delete file tFileName
put word tWord-2 of tRes into tPercent
if tPercent = 0% then return true
else return false
end if
end repeat

if there is a file tFileName then delete file tFileName
return false
end checkPing

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: Microsoft XML

2007-08-29 Thread Alex Shaw

Hi

Another spreadsheet application I looked at recently is a simple one 
called Tables (http://www.x-tables.eu/), but decided to wait till 
Apple's Numbers came out.


Personally I like tables views (rows/columns) because they are an 
efficient way to view lots of information quickly and still find it 
annoying Rev's built-in tables aren't very flexible.


Found Wingz at: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/

Readme for Wingz says it supports:
Linux, Windows95/98/NT, Solaris, AIX, SunOS, HPUX, IRIX, Mac

Seems to be available only as linux binary  unfortunately no source code :(

I am keen to check out Wingz  Numbers and their respective 
approaches to working with financials. Unfortunately, I've still out 
bush with my limited wireless broadband  Macbook (which only has mac  
windows). Didn't have time to add a linux partition :(


So I will try again when I get back to civilization (miss my nice warm 
studio).


Never been a big expert on spreadsheet applications but my knowledge is 
growing every day, thanks everyone.


regards
alex


Dale Pond wrote:

Richard Gaskin wrote:

  snip

One odd anomaly with Numbers, though:  no macro/scripting language?
Strange omission

==

I apologize to everyone about this off topic issue. WingZ and HyperCard 
were so VASTLY important to me and my research - still are - but I see 
the EOL fast approaching - unless someone can get WingZ 3.0 going on a 
Mac and I can convert over all my HC work. WingZ could be scripted 
almost as easily as HyperCard.


I'd say the general user public was not interested in such flexibility 
and power. Programmers would be though. I located some links to the 
program:


A good article on and about the program, etc.
http://www.thefreelibrary.com/Investment+Intelligence+Announces+Release+of+Wingz+and+Wingz+...-a053426836 



Download the WingZ program from here:
http://www.ibiblio.org/linsearch/cgi-bin/isearch



___
use-revolution mailing list
use-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: https Help Needed

2007-08-29 Thread Mark Smith
So redirecting the output stops it blocking? Wow, I never thought to  
try it...thanks, once again, Sarah!


Best,

Mark

On 30 Aug 2007, at 01:05, Sarah Reichelt wrote:


I don't know anything about HTTPS so can't help you there, but I do
have a technique for non-blocking shell calls which might help. I have
included my ping function below which uses the shell ping command with
extra parameters that tell it to send the result to a file. Then I
just have a loop that checks for that file and when it has arrived,
reads the result that way.


___
use-revolution mailing list
use-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: connecting to 3.2 valventina database with rev

2007-08-29 Thread Robert Mann
Well I spent the whole day trying to figure out why data was not being saved
in the valentine database with a standalone
I guess you have to make sure you do the following when you close the app or
data is not saved, this works with valentina 2.5.6 now I will try and change
all to 3.2 and see if it works

ON DoCloseval

  get VDatabase_Close(theConnectionID) 

END DoCloseval

ON VCloseCard 

   get Valentina_ShutDown 

END VCloseCard

ON rclosecard

revCloseDatabase dbID


END rclosecard

___
use-revolution mailing list
use-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: https Help Needed

2007-08-29 Thread Andre Garzia
Hello Scott,
don't know if you already solved that.

have you tried:

LibURLSetSSLVerification false

your cURL line below is doing just that with the -k in it. Maybe with this
setting in place, everything works.

Cheers
andre
PS: you know that TM|Colors and TM|Align are my favorite plugins here... :-)

On 8/29/07, Scott Rossi [EMAIL PROTECTED] wrote:

 Hey Rev List:

 I'm under a very tight deadline on an https file access stack for Mac/Win.
 I need to download a file from a secure server to a local drive, ideally
 using 'load URL' so I can monitor progress.

 Apparently there is a bug in the SSL stuff in libURL that prevents the
 library from working reliably on OSX(?).  I was able to workaround the
 problem of *reading* a text file on the server by using the previously
 posted shell workaround for OSX:
 get shell(curl -v -k  secureServerPath)

 This seems to work fine for reading, but now how can I download a file
 from
 this same secure server and monitor progress?  Any option for this?

 Am hoping somebody can provide a solution soon as I'm quickly running out
 of
 time.

 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

___
use-revolution mailing list
use-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: https Help Needed

2007-08-29 Thread Scott Rossi
Recently, Andre Garzia wrote:

 Hello Scott,
 don't know if you already solved that.

No, I didn't, but I was hoping you might offer a solution. :-)


 have you tried:
 
 LibURLSetSSLVerification false

Definitely.  The problem seems to be that using native Rev to access a
secure server is unreliable on OSX.  In my testing so far I'm getting empty
results with nothing happening.  Windows is OK.

 
 your cURL line below is doing just that with the -k in it. Maybe with this
 setting in place, everything works.

I really don't understand what that shell thing is doing.  I was hoping
there was some way to adapt it to my needs.  I'm just a simple designer. :-)


 PS: you know that TM|Colors and TM|Align are my favorite plugins here...

Glad to hear it.  But just wait until Revolution Live in Las Vegas... :-)

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: connecting to 3.2 valventina database with rev

2007-08-29 Thread Ruslan Zasukhin
On 30/8/07 6:54 AM, Robert Mann [EMAIL PROTECTED] wrote:

Hi Robert,

 Well I spent the whole day trying to figure out why data was not being saved
 in the valentine database with a standalone

You have not answer it seems on my question.
Did you install VComponents folder into compiled standalone
using script ?

Note, that if your project is not huge, you can send us project or even
compiled app WITHOUT installed VComponents folder, and we can try debug it
here to see where is mistake.


 I guess you have to make sure you do the following when you close the app or
 data is not saved, this works with valentina 2.5.6 now I will try and change
 all to 3.2 and see if it works
 
 ON DoCloseval
 
   get VDatabase_Close(theConnectionID)
 
 END DoCloseval
 
 ON VCloseCard 
 
get Valentina_ShutDown
 
 END VCloseCard
 
 ON rclosecard
 
 revCloseDatabase dbID
 
 END rclosecard

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


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


Answer Annoyance

2007-08-29 Thread Scott Rossi
If I put a simple text file on a server that contains the following:

hello
  world
/hello

...and I script:

 put url pathToServerFile into tData
 answer tData

...I get this:

 world

How do I tell the answer dialog that I *DON'T* want the HTMLText?  I want
the actual text!  Arg.

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


Re: Answer Annoyance

2007-08-29 Thread Stephen Barncard

then don't put tags in the text?



If I put a simple text file on a server that contains the following:

hello
  world
/hello

...and I script:

 put url pathToServerFile into tData
 answer tData

...I get this:

 world

How do I tell the answer dialog that I *DON'T* want the HTMLText?  I want
the actual text!  Arg.

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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