Re: more on-rev issues

2012-08-20 Thread Pierre Sahores
Your stack seems to be corrupted if i try to open it from the IDE. And from the 
message box, the reply is no such card. If that can help, you can send me 
both your lc cgi-script + your stack lib if you want that  try to get it 
running as a working example. Server's stacks don't have to be saved in a 2.7 
legacy format. They just have to be saved by an LC version  = 5.0.2.

Le 20 août 2012 à 19:18, Dr. Hawkins a écrit :

 http://dochawkbk.on-rev.com/quiet.27.livecode;

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-20 Thread Mike Bonner
Engine Changes

Important: As of 5.5-dp-3, the default stack file format has been updated
to 5.5. The previous default version (2.7) has been set as a legacy option
in the “Save As” dialog. As such, the field updates added in 5.5 are now no
longer considered experimental.

Warning: File Format changes to LiveCode 5.5 mean stacks created in LC 5.5
DP2 and above could have data loss if opened in older versions (field style
related data)
 5.0.2 is saving as legacy 2.7, so if you're in 5.5 dp3 + you have to
manually save as in legacy format for server (which is still 4.6.3 I
believe) to be able to open them.

Sorry for the red, copied from the release notes.

On Mon, Aug 20, 2012 at 2:43 PM, Pierre Sahores s...@sahores-conseil.comwrote:

 Your stack seems to be corrupted if i try to open it from the IDE. And
 from the message box, the reply is no such card. If that can help, you
 can send me both your lc cgi-script + your stack lib if you want that  try
 to get it running as a working example. Server's stacks don't have to be
 saved in a 2.7 legacy format. They just have to be saved by an LC version
  = 5.0.2.

 Le 20 août 2012 à 19:18, Dr. Hawkins a écrit :

  http://dochawkbk.on-rev.com/quiet.27.livecode;

 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.com


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

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


Re: more on-rev issues

2012-08-20 Thread Pierre Sahores
My mistake. Thanks for your clarification reminder, Mike.

Le 20 août 2012 à 22:54, Mike Bonner a écrit :

 Engine Changes
 
 Important: As of 5.5-dp-3, the default stack file format has been updated
 to 5.5. The previous default version (2.7) has been set as a legacy option
 in the “Save As” dialog. As such, the field updates added in 5.5 are now no
 longer considered experimental.
 
 Warning: File Format changes to LiveCode 5.5 mean stacks created in LC 5.5
 DP2 and above could have data loss if opened in older versions (field style
 related data)
 5.0.2 is saving as legacy 2.7, so if you're in 5.5 dp3 + you have to
 manually save as in legacy format for server (which is still 4.6.3 I
 believe) to be able to open them.
 
 Sorry for the red, copied from the release notes.
 
 On Mon, Aug 20, 2012 at 2:43 PM, Pierre Sahores 
 s...@sahores-conseil.comwrote:
 
 Your stack seems to be corrupted if i try to open it from the IDE. And
 from the message box, the reply is no such card. If that can help, you
 can send me both your lc cgi-script + your stack lib if you want that  try
 to get it running as a working example. Server's stacks don't have to be
 saved in a 2.7 legacy format. They just have to be saved by an LC version
 = 5.0.2.
 
 Le 20 août 2012 à 19:18, Dr. Hawkins a écrit :
 
 http://dochawkbk.on-rev.com/quiet.27.livecode;
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-19 Thread Pierre Sahores
Did you try without the send form :

 start using stack quiet.livecode
 put now using p
 preOpenStack


Le 19 août 2012 à 02:10, Dr. Hawkins a écrit :

 I've got
 start using stack quiet.livecode
 put now using p
 send preOpenStack to stack quiet.livecode
 
 and I get:
 
 file /home/dochawkb/public_html/test3.lc
  row 15, col 7: Chunk: can't find stack
  row 15, col 1: start: can't find object

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-19 Thread Dr. Hawkins
On Sun, Aug 19, 2012 at 12:20 AM, Pierre Sahores 
s...@sahores-conseil.comwrote:

 Did you try without the send form :

  start using stack quiet.livecode
  put now using p
  preOpenStack


i currently have
put trying the stack p
start using stack /home/dochawkb/public_html/quiet.27.livecode
put now using p

I get

trying the stack

file /home/dochawkb/public_html/test4.lc
  row 15, col 7: Chunk: can't find stack
  row 15, col 1: start: can't find object


I've tried with both the full path name and just quiet.27.livecode (which
is a stack saved in 2.7 format)

This message looks to me like it isn't *finding* the file with the stack in
it.
-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-19 Thread Pierre Sahores
Try in having the lc script and the livecode lib stack in the same directory

and use this code to know if all get as expected :

your test.lc script

start using stack your_lib.livecode
get start_rias_lib() -- this function lies inside stack 
rias_lib.livecode
get rias_lib_main_ctl() -- this function lies inside stack 
rias_lib.livecode too

your your_lib.livecode stack's lib stacks script

function  start_rias_lib
return the internet date  brbr
end start_rias_lib

function  rias_lib_main_ctl
return OK
end rias_lib_main_ctl

Run the test from your browser in using an http path to the test.lc

It's the way all my on-rev/LC powered applications servers are working. Let us 
know how it goes and to the end it will works fine ;)

Le 19 août 2012 à 18:32, Dr. Hawkins a écrit :

 On Sun, Aug 19, 2012 at 12:20 AM, Pierre Sahores 
 s...@sahores-conseil.comwrote:
 
 Did you try without the send form :
 
 start using stack quiet.livecode
 put now using p
 preOpenStack
 
 
 i currently have
 put trying the stack p
 start using stack /home/dochawkb/public_html/quiet.27.livecode
 put now using p
 
 I get
 
 trying the stack
 
 file /home/dochawkb/public_html/test4.lc
  row 15, col 7: Chunk: can't find stack
  row 15, col 1: start: can't find object
 
 
 I've tried with both the full path name and just quiet.27.livecode (which
 is a stack saved in 2.7 format)
 
 This message looks to me like it isn't *finding* the file with the stack in
 it.
 -- 
 The Hawkins Law Firm
 Richard E. Hawkins, Esq.
 (702) 508-8462
 hawkinslawf...@gmail.com
 3025 S. Maryland Parkway
 Suite A
 Las Vegas, NV  89109
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-18 Thread Mike Bonner
The source of the page is this: (after being sent by on-rev)

? lc put Hello world. ?
This is new text




Remove the space between ? and lc
?lc put Hello world. ?
On Sat, Aug 18, 2012 at 1:19 PM, Dr. Hawkins doch...@gmail.com wrote:

 This is getting more frustrating by the minute . . .

 The On-rev standalone seems unstable, at best.  hitting a couple of arrow
 keys to maneuver seems to knock it out of commission.  It didn't even occur
 to me to check or ssh access.

 Anyway, on-rev doesn't seem to be rendering .irev files as such; it's
 simply ignoring them

 The file

  ? rev
   put Hello world.
   ?
 at http://dochawkbk.on-rev.com/mytest.irev

 produces

 This is new text


 --
 The Hawkins Law Firm
 Richard E. Hawkins, Esq.
 (702) 508-8462
 hawkinslawf...@gmail.com
 3025 S. Maryland Parkway
 Suite A
 Las Vegas, NV  89109
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: more on-rev issues

2012-08-18 Thread Dr. Hawkins
On Sat, Aug 18, 2012 at 12:29 PM, Mike Bonner bonnm...@gmail.com wrote:

 The source of the page is this: (after being sent by on-rev)

 ? lc put Hello world. ?
 This is new text


Thanks, but that doesn't seem to do it:

?lc
  put This is inside the lc section
?
This is outside the lc section

at http://dochawkbk.on-rev.com/test2.irev

still yields
This is outside the lc section

-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Mike Bonner
Ah yep, just found the info. .irev maps to the rev server engine, so using
the ?lc tag with a .irev will probably not work correctly. Same with the
reverse, .lc maps to the most recent livecode server so you'll want .lc and
?lc I believe to get things working. (or you can do as stated here..
http://lessons.runrev.com/m/4070/l/41105 to do your own mappings)

On Sat, Aug 18, 2012 at 1:57 PM, Mike Bonner bonnm...@gmail.com wrote:

 Hmm, out of curiosity, if you change it to ?rev put Whatever message..
 ? rather than ?lc does it work?

 And vice versa, if you leave it as ?lc and change your file extention to
 .lc does it work then?

 I know there are several versions of livecode server available in on-rev
 but I don't recall how you differentiate which one you wish to use. This
 might be part of the issue. If I get a sec, i'll add some files to my
 on-rev and see if I can get the same behavior as you.


 On Sat, Aug 18, 2012 at 1:52 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Sat, Aug 18, 2012 at 12:29 PM, Mike Bonner bonnm...@gmail.com wrote:

  The source of the page is this: (after being sent by on-rev)
 
  ? lc put Hello world. ?
  This is new text
 

 Thanks, but that doesn't seem to do it:

 ?lc
   put This is inside the lc section
 ?
 This is outside the lc section

 at http://dochawkbk.on-rev.com/test2.irev

 still yields
 This is outside the lc section

 --
 The Hawkins Law Firm
 Richard E. Hawkins, Esq.
 (702) 508-8462
 hawkinslawf...@gmail.com
 3025 S. Maryland Parkway
 Suite A
 Las Vegas, NV  89109
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: more on-rev issues

2012-08-18 Thread stephen barncard
.lc is the last version of lc server that can run stacks, and .rev would
call an earlier version  - both versions are running at on-rev

On Sat, Aug 18, 2012 at 12:57 PM, Mike Bonner bonnm...@gmail.com wrote:

 Hmm, out of curiosity, if you change it to ?rev put Whatever message..
 ? rather than ?lc does it work?

 And vice versa, if you leave it as ?lc and change your file extention to
 .lc does it work then?

 I know there are several versions of livecode server available in on-rev
 but I don't recall how you differentiate which one you wish to use. This
 might be part of the issue. If I get a sec, i'll add some files to my
 on-rev and see if I can get the same behavior as you.

 On Sat, Aug 18, 2012 at 1:52 PM, Dr. Hawkins doch...@gmail.com wrote:

  On Sat, Aug 18, 2012 at 12:29 PM, Mike Bonner bonnm...@gmail.com
 wrote:
 
   The source of the page is this: (after being sent by on-rev)
  
   ? lc put Hello world. ?
   This is new text
  
 
  Thanks, but that doesn't seem to do it:
 
  ?lc
put This is inside the lc section
  ?
  This is outside the lc section
 
  at http://dochawkbk.on-rev.com/test2.irev
 
  still yields
  This is outside the lc section
 
  --
  The Hawkins Law Firm
  Richard E. Hawkins, Esq.
  (702) 508-8462
  hawkinslawf...@gmail.com
  3025 S. Maryland Parkway
  Suite A
  Las Vegas, NV  89109
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Mike Bonner
Also just occurred to me if you have an .htaccess in the folder already
with something strange in it, the .htaccess itself might be breaking lc.

On Sat, Aug 18, 2012 at 1:58 PM, Alex Tweedly a...@tweedly.net wrote:

 If you go into your browser's View source you'll see that it contains
 something like


  ?lc
put This is inside the lc section
 ?
 This is outside the lc section

 with the first 3 lines in some odd colour / format.
 No idea how or why or what it means - I'd try re-typing and uploading again

 -- Alex.



 On 18/08/2012 20:52, Dr. Hawkins wrote:

 On Sat, Aug 18, 2012 at 12:29 PM, Mike Bonnerbonnm...@gmail.com  wrote:

  The source of the page is this: (after being sent by on-rev)

 ? lc put Hello world. ?
 This is new text

  Thanks, but that doesn't seem to do it:

 ?lc
put This is inside the lc section
 ?
 This is outside the lc section

 at 
 http://dochawkbk.on-rev.com/**test2.irevhttp://dochawkbk.on-rev.com/test2.irev

 still yields
 This is outside the lc section


 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: more on-rev issues

2012-08-18 Thread Pierre Sahores
Use 

 ?rev
  put Hello world.
  ?

without space between ?rev to get a response from the revServer 4.6.4 and 

 ?lc
  put Hello world.
  ?

 to get a response from the LC-Server 5.0.2.

As you will verify, both engines are available to each on-rev accounts

About the on-rev standalone, you are true and the best is to code your 
server-side components directly in the LC desktop dedicated IDE in using 
Stephen Barncard's method (double-click your server-side LC-server 
stack.livecode library from within your prefered FTP browser and it will 
launches your LC destop dev IDE - works fine, at least against CyberDuck / 
MacOS X 10.6.x and 10.7.x).

Best,

Le 18 août 2012 à 21:19, Dr. Hawkins a écrit :

 This is getting more frustrating by the minute . . .
 
 The On-rev standalone seems unstable, at best.  hitting a couple of arrow
 keys to maneuver seems to knock it out of commission.  It didn't even occur
 to me to check or ssh access.
 
 Anyway, on-rev doesn't seem to be rendering .irev files as such; it's
 simply ignoring them
 
 The file
 
 ? rev
  put Hello world.
  ?
 at http://dochawkbk.on-rev.com/mytest.irev
 
 produces
 
 This is new text
 
 
 -- 
 The Hawkins Law Firm
 Richard E. Hawkins, Esq.
 (702) 508-8462
 hawkinslawf...@gmail.com
 3025 S. Maryland Parkway
 Suite A
 Las Vegas, NV  89109
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-18 Thread stephen barncard
I can't say enough good things about the Livecode server environment.

 A good tip for those starting to to work with the server is to put a

set the errormode to inline

as the first line of code after the ?lc

the error reporting is pretty good.




Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Dr. Hawkins
On Sat, Aug 18, 2012 at 1:10 PM, Pierre Sahores s...@sahores-conseil.com
wrote:

 To target the revServer 4.6.4, the script need to be named as
yourchoice.irev and to
target the revServer 5.0.2, the script need to be named as yourchoice.lc
for simple
scripts and  yourchoice.livecode for stacks to be inserted in the path
of the
yourchoice.lc scripts

ah-hah.

I've now got it working at http://dochawkbk.on-rev.com/test3.lc

How far can I go with those stacks?

In particular, what I'll ultimately need is for them to run scripts that
build cards and then put the output to pdf (which is currently working in
livecode)

thanks greatly.

hawk





--
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Pierre Sahores
See this example script witch acts as the stack rias_lib.livecode launcher

?lc 

try

start using stack rias_lib.livecode
get start_rias_lib() -- this function lies inside stack 
rias_lib.livecode
get rias_lib_main_ctl() -- this function lies inside stack 
rias_lib.livecode too

catch tErr
try

start using stack rias_lib_bis.livecode -- this is the 
stack's lib to be used when  stack rias_lib.livecode is't available because 
just in the middle seconds where i'm saving its update to the server --
get start_rias_lib()
get rias_lib_main_ctl()

catch tErr
put Maintenance en cours. Merci de renouveler votre demande 
dans quelques minutes... -- when both of my stacks are unavailable to 
production because a bug inside...

end try

end try

?

Le 18 août 2012 à 22:49, Dr. Hawkins a écrit :

 On Sat, Aug 18, 2012 at 1:10 PM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 To target the revServer 4.6.4, the script need to be named as
 yourchoice.irev and to
 target the revServer 5.0.2, the script need to be named as yourchoice.lc
 for simple
 scripts and  yourchoice.livecode for stacks to be inserted in the path
 of the
 yourchoice.lc scripts
 
 ah-hah.
 
 I've now got it working at http://dochawkbk.on-rev.com/test3.lc
 
 How far can I go with those stacks?
 
 In particular, what I'll ultimately need is for them to run scripts that
 build cards and then put the output to pdf (which is currently working in
 livecode)

Can help in about those tasks as long i only build HTML5/CSS3/JQuery outputs 
from my own on-rev stack's libs.
 
 thanks greatly.
 
 hawk
 
 
 
 
 
 --
 The Hawkins Law Firm
 Richard E. Hawkins, Esq.
 (702) 508-8462
 hawkinslawf...@gmail.com
 3025 S. Maryland Parkway
 Suite A
 Las Vegas, NV  89109
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: more on-rev issues

2012-08-18 Thread Dr. Hawkins
On Sat, Aug 18, 2012 at 2:04 PM, Pierre Sahores s...@sahores-conseil.comwrote:

 See this example script witch acts as the stack rias_lib.livecode
 launcher
 start using stack rias_lib.livecode
   ...
 catch tErr
 try
 ...
 start using stack rias_lib_bis.livecode -- this is the
 stack's lib to be used when  stack rias_lib.livecode is't available
 because just in the middle seconds where i'm saving its update to the
 server --



So there's a duplicate to fill in while saving/updating the primary?

I assume that when it comes back, the secondary does it?



 In particular, what I'll ultimately need is for them to run scripts that
 build cards and then put the output to pdf (which is currently working in
 livecode)

Can help in about those tasks as long i only build HTML5/CSS3/JQuery
outputs from my own on-rev stack's libs.

I'm not fully following here . . . . If I can cause a stack to manipulate
its cards and fields, I can make it do what I need.

If not, I may have to relearn forth/postscript . . . (ugh.  don't miss them)

-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Mike Bonner
Don't believe you can manipluate the cards/objects directly. If you look at
this page: http://www.runrev.com/developers/documentation/server/  part 3.2
using stacks it says you can't use visual related stuff when using a stack.

Since there is no actual stack displayed, hence no screen coords or
anything related.

Also if you look at page 14 here:
http://www.runrev.com/downloads/livecode/4_6_3/LiveCodeNotes-4_6_3-Server.pdf
print to pdf is not yet supported.



 I'm not fully following here . . . . If I can cause a stack to manipulate
 its cards and fields, I can make it do what I need.

 If not, I may have to relearn forth/postscript . . . (ugh.  don't miss
 them)


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


Re: more on-rev issues

2012-08-18 Thread stephen barncard
I've been able to read/write to a field in a stack from an .irev document
using livecode server. And while in the IDE on land,  I've used UI elements
in the stack for testing routines that aren't used 'in the wild'. lc server
doesn't seem to choke on those UI elements, usually ignores.  I think I've
created and deleted cards too.
And of course the custom properties are gold in the server environment for
lookup and site (not user) settings
Sometime whole library stacks created for the desktop can work verbatim in
the server environment  such as Mark Smith's (the late one) mp3 tag reading
and writing library.


On Sat, Aug 18, 2012 at 2:57 PM, Mike Bonner bonnm...@gmail.com wrote:

 Don't believe you can manipluate the cards/objects directly. If you look at
 this page: http://www.runrev.com/developers/documentation/server/  part
 3.2
 using stacks it says you can't use visual related stuff when using a stack.

 Since there is no actual stack displayed, hence no screen coords or
 anything related.

 Also if you look at page 14 here:

 http://www.runrev.com/downloads/livecode/4_6_3/LiveCodeNotes-4_6_3-Server.pdf
 print to pdf is not yet supported.



  I'm not fully following here . . . . If I can cause a stack to manipulate
  its cards and fields, I can make it do what I need.
 
  If not, I may have to relearn forth/postscript . . . (ugh.  don't miss
  them)
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: more on-rev issues

2012-08-18 Thread Richard Gaskin

 Dr. Hawkins wrote:


In particular, what I'll ultimately need is for them to run scripts that
build cards and then put the output to pdf (which is currently working in
livecode)


Can help in about those tasks as long i only build HTML5/CSS3/JQuery
outputs from my own on-rev stack's libs.

I'm not fully following here . . . . If I can cause a stack to manipulate
its cards and fields, I can make it do what I need.


Well, yes and no.

Yes, RevServer should allow creation and manipulation of objects (at 
least the older Rev CGI allowed this), and using the save command you 
should even be able to save those changes to disk.


But no, unfortunately you won't be able to do anything that involves 
rendering objects graphically.  Server environments are faceless, they 
have no GUI components, and so there's no way for LiveCode to render 
anything into an imaging buffer such as would be need to generate PDF 
with its printToPDF external.


Thus far the only command-line app I've seen which can generate PDFs is 
ImageMagick:

http://www.imagemagick.org/script/index.php

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

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