Build XMLRPC request to Post to Word Press

2010-09-26 Thread Sivakatirswami
 I'm trying to translate a Ruby frame work for posting to Word press 
into a Revolution upload script.


I don't know what I'm doing, so this is a fishing expedition (smile) and 
tomorrow I will go study the Word Press API and see if it is better 
tackling this without Ruby code in the middle of the R  D.


the listener on the server is the /blog/myblog/xmlrpc.php

script that handles input.

The API in use by the ruby example we already have working on the server 
to post from a  web page on the same box via local host, is using the 
MetaWebLogAPI.


I think I have cornered the key parts of the script:

Ruby has this function:
---
require  xmlrpc/client

def newPost(content, publish)
  @client.call('metaWeblog.newPost', @blogid, @username,
  @password, content, publish)
end
where content is

content = {
  'title' = title,
  'description' = post
}

and publish is a  boolean string, either true or false

---

I'm assuming I can talk to this xmlrpc.php  remotely, assuming the log 
in details are here. The ruby library client.rb  which is required is 
over my head completely, but I'm assuming that the RevXMLRPC liberay 
should work, if I knew what I was doing, which I don't


I gave it this much of a stab and I will later keep plugging away in 
the dark if anyone has any ideas, let me know.


on mouseUp
  local tRequest
  put revXMLRPC_CreateRequest(field Host,field Port,field 
Path,field Protocol) into tRequest

  revXMLRPC_AddParam tRequest, int, 1 # blog ide
  revXMLRPC_AddParam tRequest, string, user
  revXMLRPC_AddParam tRequest, string, password
  revXMLRPC_AddParam tRequest, string, metaWeblog.newPost # I think 
the xmlrpc.php needs this...

  revXMLRPC_AddParam tRequest, string, Testing # title of the post
  revXMLRPC_AddParam tRequest, string, Cool article # 
description-article content
  revXMLRPC_AddParam tRequest, string, false # send to drafts for 
now, don't publish.

  put revXMLRPC_Execute(tRequest) into  fld result # I get a number
  put tRequest into fld result # I would like to see what the request 
looks like but I don't get anything here...

end mouseUp

How do you get LiveCode to show you the full xml that has been built?  
That is being sent to the server?


Sivakatirswami

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


Re: Build XMLRPC request to Post to Word Press

2010-09-26 Thread Jan Schenkel
--- On Sat, 9/25/10, Sivakatirswami ka...@hindu.org wrote:
  I'm trying to translate a Ruby frame
 work for posting to Word press into a Revolution upload
 script.
 
 I don't know what I'm doing, so this is a fishing
 expedition (smile) and tomorrow I will go study the Word
 Press API and see if it is better tackling this without Ruby
 code in the middle of the R  D.
 
 the listener on the server is the
 /blog/myblog/xmlrpc.php
 
 script that handles input.
 
 The API in use by the ruby example we already have working
 on the server to post from a  web page on the same box
 via local host, is using the MetaWebLogAPI.
 
 I think I have cornered the key parts of the script:
 
 Ruby has this function:
 ---
 require  xmlrpc/client
 
     def newPost(content, publish)
       @client.call('metaWeblog.newPost',
 @blogid, @username,
           @password, content,
 publish)
     end
 where content is
 
 content = {
       'title' = title,
       'description' = post
     }
 
 and publish is a  boolean string, either true or
 false
 
 ---
 
 I'm assuming I can talk to this xmlrpc.php  remotely,
 assuming the log in details are here. The ruby library
 client.rb  which is required is over my head
 completely, but I'm assuming that the RevXMLRPC liberay
 should work, if I knew what I was doing, which I don't
 
 I gave it this much of a stab and I will later keep
 plugging away in the dark if anyone has any ideas, let me
 know.
 
 on mouseUp
   local tRequest
   put revXMLRPC_CreateRequest(field Host,field
 Port,field Path,field Protocol) into tRequest
   revXMLRPC_AddParam tRequest, int, 1 # blog ide
   revXMLRPC_AddParam tRequest, string, user
   revXMLRPC_AddParam tRequest, string, password
   revXMLRPC_AddParam tRequest, string,
 metaWeblog.newPost # I think the xmlrpc.php needs this...
   revXMLRPC_AddParam tRequest, string, Testing #
 title of the post
   revXMLRPC_AddParam tRequest, string, Cool
 article # description-article content
   revXMLRPC_AddParam tRequest, string, false #
 send to drafts for now, don't publish.
   put revXMLRPC_Execute(tRequest) into  fld
 result # I get a number
   put tRequest into fld result # I would like to see
 what the request looks like but I don't get anything
 here...
 end mouseUp
 
 How do you get LiveCode to show you the full xml that has
 been built?  That is being sent to the server?
 
 Sivakatirswami
 

The XMLRPC document id is actually the id of the backing XML tree.
So to show the XML string that was built, simply use:
##
put revXmlText(tRequest, methodCall, true) into fld Request
##

HTH,

Jan Schenkel
=
Quartam Reports  PDF Library for LiveCode
www.quartam.com

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



   

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


data from USB joystick

2010-09-26 Thread David Glasgow
Hello folks,

I really really want to make  a Rev  (Ooops) LiveCode app with a push pull 
interface like on a mixing slider, or 'dive' and 'pull up' on a plain old 
joystick. 

I have raised questions about this a few times on the list over a number of 
years, and got some helpful pointers.  However, having followed these into the 
underpants of USB, I have discovered that is not a place I have the ability to 
work.  So I give up.

Is there anyone on this list who could create a cross platform extension or 
library thingy which would allow me to read the state(s) of an ordinary, off 
the shelf USB joystick?  If so, what would the cost be?


Best Wishes,

David Glasgow

i-psych.co.uk


___
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] Wonderful people

2010-09-26 Thread Richmond

 I have just spent 4 hours of 'fun' doing, as is my
method, a down-grade . . .  :)

i.e. shovelling various bits of stuff from my 'popped' G4
into my squeaky-clean, brand-new, pre-loved G3 Yosemite.

Glad to report that all the stuff written about how useless the Zip-Drive
socket it are wrong, as have a 400 GB ATA Hard Disk merrily humming
away in there.

USB 2 PCI card.

Despite those who may look down their noses; the machine does exactly
what I need it to do - and for 50 pounds postage that is hard to fault.

-

BUT; having scraped out my G4 - just seen a Gypsy on a bicycle picking
up the shell from the rubbish bin; good lad! -

I have 4 x 500 MB RAM for G4 Macs sitting looking at me . . .

So, as a way of saying 'Thank You' to the generous person who sent me the G3
for the cost of the postage . . .

. . . I am offering 2 GB of G4 RAM to anybody who wants it for the postage!

[ which should be minimal ]

Will consider exchanging it for a FireWire enclosure from within the 
European Union.


Contact me OFF-List.

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


ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi friends,

I just updated my website to reflect the new name of our favorite IDE
and also took the chance to complement and streamline the whole thing.

Since I am not a native english speaker I would appreciate any hints
where my translation is not correct or a bit clumsy, thank you!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Build XMLRPC request to Post to Word Press

2010-09-26 Thread Andre Garzia
Swami,

Check on RevOnline, I have a revolution built metaweblog tool there.
Actually we use the same libraries on our HPI Generator. The code is there
for doing all basic wordpress posting stuff.

Andre

On Sun, Sep 26, 2010 at 3:16 AM, Sivakatirswami ka...@hindu.org wrote:

  I'm trying to translate a Ruby frame work for posting to Word press into a
 Revolution upload script.

 I don't know what I'm doing, so this is a fishing expedition (smile) and
 tomorrow I will go study the Word Press API and see if it is better tackling
 this without Ruby code in the middle of the R  D.

 the listener on the server is the /blog/myblog/xmlrpc.php

 script that handles input.

 The API in use by the ruby example we already have working on the server to
 post from a  web page on the same box via local host, is using the
 MetaWebLogAPI.

 I think I have cornered the key parts of the script:

 Ruby has this function:
 ---
 require  xmlrpc/client

def newPost(content, publish)
  @client.call('metaWeblog.newPost', @blogid, @username,
  @password, content, publish)
end
 where content is

 content = {
  'title' = title,
  'description' = post
}

 and publish is a  boolean string, either true or false

 ---

 I'm assuming I can talk to this xmlrpc.php  remotely, assuming the log in
 details are here. The ruby library client.rb  which is required is over my
 head completely, but I'm assuming that the RevXMLRPC liberay should work, if
 I knew what I was doing, which I don't

 I gave it this much of a stab and I will later keep plugging away in the
 dark if anyone has any ideas, let me know.

 on mouseUp
  local tRequest
  put revXMLRPC_CreateRequest(field Host,field Port,field Path,field
 Protocol) into tRequest
  revXMLRPC_AddParam tRequest, int, 1 # blog ide
  revXMLRPC_AddParam tRequest, string, user
  revXMLRPC_AddParam tRequest, string, password
  revXMLRPC_AddParam tRequest, string, metaWeblog.newPost # I think the
 xmlrpc.php needs this...
  revXMLRPC_AddParam tRequest, string, Testing # title of the post
  revXMLRPC_AddParam tRequest, string, Cool article #
 description-article content
  revXMLRPC_AddParam tRequest, string, false # send to drafts for now,
 don't publish.
  put revXMLRPC_Execute(tRequest) into  fld result # I get a number
  put tRequest into fld result # I would like to see what the request
 looks like but I don't get anything here...
 end mouseUp

 How do you get LiveCode to show you the full xml that has been built?  That
 is being sent to the server?

 Sivakatirswami

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




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


Re: ANN: Updated website

2010-09-26 Thread Jacques Hausser
Hi Klaus,

I'm not a native german speaker but... Entwickl-i-ng (on home page) sounds 
rather like Schwytzertütch...

Jacques


Le 26 sept. 2010 à 15:31, Klaus on-rev a écrit :

 Hi friends,
 
 I just updated my website to reflect the new name of our favorite IDE
 and also took the chance to complement and streamline the whole thing.
 
 Since I am not a native english speaker I would appreciate any hints
 where my translation is not correct or a bit clumsy, thank you!
 
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: ANN: Updated website

2010-09-26 Thread Andre Garzia
Klaus,

On the reference pages why not list most recent work on top and then go down
the years, this way it is easier to find what you're up with!

(And maybe some search ranking algorithms will crawl better since they might
think more important content comes first, or at least it is how I would
implement them since I want to a social communications course with all the
journalism stuff saying to get the important fact out first and then dabble
on the details after)

:D

On Sun, Sep 26, 2010 at 10:31 AM, Klaus on-rev kl...@major.on-rev.comwrote:

 Hi friends,

 I just updated my website to reflect the new name of our favorite IDE
 and also took the chance to complement and streamline the whole thing.

 Since I am not a native english speaker I would appreciate any hints
 where my translation is not correct or a bit clumsy, thank you!


 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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




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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Jacques,

 Hi Klaus,
 
 I'm not a native german speaker but... Entwickl-i-ng (on home page) sounds 
 rather like Schwytzertütch...

Ouch, thanks for the hint!

 Jacques

Thanks to all taht have helped me so far, you guys ROCK! :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Bom dias Andre,

 Klaus,
 
 On the reference pages why not list most recent work on top and then go down
 the years, this way it is easier to find what you're up with!

Good question, I will consider this ;-)

 (And maybe some search ranking algorithms will crawl better since they might
 think more important content comes first, or at least it is how I would
 implement them since I want to a social communications course with all the
 journalism stuff saying to get the important fact out first and then dabble
 on the details after)
 
 :D

:-D


Best and thanks

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: [OT] Wonderful people

2010-09-26 Thread Roger . E . Eller
Richmond wrote:
 BUT; having scraped out my G4 - just seen a Gypsy on a bicycle picking
 up the shell from the rubbish bin; good lad!

Too bad you threw out the shell.  This could have been a fun project for
you.
http://www.disruptiveelement.com/G4_Powermac_Hack.html

~Roger

___
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: Scripter's Scrapbook: Where do the Files Go?

2010-09-26 Thread stephen barncard
Very clear. Thanks, Hugh.

On 25 September 2010 12:49, FlexibleLearning ad...@flexiblelearning.comwrote:

 Recently added to the Scripter's Scrapbook on-line reference library:

 http://www.flexiblelearning.com/ssbk/support/WhereDoTheFilesGo.pdf

 Following changes to the way plugins are treated in LiveCode 4.5, this
 document explains the three install alternatives for using your Scrapbook
 as
 a plugin, as a stack file, and with a standAlone application program.

 I hope it will be helpful.

 Hugh Senior
 FLCo

 ___
 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




-- 



Stephen Barncard
San Francisco Ca. USA

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


Re: ANN: Updated website

2010-09-26 Thread Mark Wieder
Klaus-

...and turn up the bass...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: [OT] Wonderful people

2010-09-26 Thread Richmond

 On 09/26/2010 06:38 PM, roger.e.el...@sealedair.com wrote:

Richmond wrote:

BUT; having scraped out my G4 - just seen a Gypsy on a bicycle picking
up the shell from the rubbish bin; good lad!

Too bad you threw out the shell.  This could have been a fun project for
you.
http://www.disruptiveelement.com/G4_Powermac_Hack.html

~Roger

___
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

That presupposes I have the time and the money for all
those components; which I don't.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data from USB joystick

2010-09-26 Thread stephen barncard
It's all on the net. Your cheapest and easiest solution is to use a Keyspan
USB to serial adapter and Rs-232 serial protocol. Here's one hit from
searching google for joystick rs232. Sooner or later, some soldering may
be required.

Interfacing Atari-style joysticks to PC parallel and serial
portshttp://www.epanorama.net/documents/joystick/pc_misc.html



On 26 September 2010 06:10, David Glasgow da...@dvglasgow.wanadoo.co.ukwrote:

 Hello folks,

 I really really want to make  a Rev  (Ooops) LiveCode app with a push pull
 interface like on a mixing slider, or 'dive' and 'pull up' on a plain old
 joystick.

 I have raised questions about this a few times on the list over a number of
 years, and got some helpful pointers.  However, having followed these into
 the underpants of USB, I have discovered that is not a place I have the
 ability to work.  So I give up.

 Is there anyone on this list who could create a cross platform extension or
 library thingy which would allow me to read the state(s) of an ordinary, off
 the shelf USB joystick?  If so, what would the cost be?


 Best Wishes,

 David Glasgow

 i-psych.co.uk


 ___
 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




-- 



Stephen Barncard
San Francisco Ca. USA

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


Re: data from USB joystick

2010-09-26 Thread Richmond Mathewson

 On 26/09/2010 19:57PM, stephen barncard wrote:

It's all on the net. Your cheapest and easiest solution is to use a Keyspan
USB to serial adapter and Rs-232 serial protocol. Here's one hit from
searching google for joystick rs232. Sooner or later, some soldering may
be required.

Interfacing Atari-style joysticks to PC parallel and serial
portshttp://www.epanorama.net/documents/joystick/pc_misc.html




I think the above is missing the point; presumably David has a USB 
joystick and a USB port
on his target computer; so no need to do the down-and-dirty with the 
soldering iron.


What he needs to do is ascertain is, for example, whether the USB 
joystick sends Unicode chars when
it is moved, rather like the chars for right-arrow and left-arrow on a 
keyboard, and whether
they are interpreted by the computer as mouseDown and mouseStillDown 
signals.


I have a Belkin Nostromo (silly gaming pad) which I use for 
RunRev/LiveCode programming:
now it comes with a set-up control panel where one can set all the keys, 
wheels and twiddly things
on it to do what one wants - having set up one's preferences 
RunRev/LiveCode can pick up

whatever I do on the Nostromo without any trouble at all.

However, I suspect that David is trying to be somewhat cleverer than me, 
insofar as he wants
to 'skip' the requirement of an intermediate, platform specific, set-up 
panel / driver-thingy.


My own inclinations would be to run round the corner and buy a crappy 
USB joystick and plug the
thing in, and then set up some silly little stack that will pick up the 
signals from the USB stick


[ they cannot be that other-worldly ]

and see whether they can be interpreted as KeyDown, rawKeyDown type 
signals . . .



On 26 September 2010 06:10, David Glasgowda...@dvglasgow.wanadoo.co.ukwrote:


Hello folks,

I really really want to make  a Rev  (Ooops) LiveCode app with a push pull
interface like on a mixing slider, or 'dive' and 'pull up' on a plain old
joystick.

I have raised questions about this a few times on the list over a number of
years, and got some helpful pointers.  However, having followed these into
the underpants of USB, I have discovered that is not a place I have the
ability to work.  So I give up.

Is there anyone on this list who could create a cross platform extension or
library thingy which would allow me to read the state(s) of an ordinary, off
the shelf USB joystick?  If so, what would the cost be?


Best Wishes,

David Glasgow

i-psych.co.uk


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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Mark,

 Klaus-
 
 ...and turn up the bass...

Yeah, you BET! :-D

 -- 
 -Mark Wieder
 mwie...@ahsoftware.net

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


Re: ANN: Updated website

2010-09-26 Thread Richmond

 On 09/26/2010 08:25 PM, Klaus on-rev wrote:

Hi Mark,


Klaus-

...and turn up the bass...

Yeah, you BET! :-D


--
-Mark Wieder
mwie...@ahsoftware.net

Best

Klaus


Piccolo, piccolo . . . :)

Good to see that you back; badder and more dangerous than before!

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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Richmond,

 On 09/26/2010 08:25 PM, Klaus on-rev wrote:
 Hi Mark,
 
 Klaus-
 
 ...and turn up the bass...
 Yeah, you BET! :-D
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 Best
 
 Klaus
 
 Piccolo, piccolo . . . :)

To quote one of my favourite scenes form Woody Allen's 
What you always wanted to know about sex...:
Piccolo? Ha! Com' un pane franchessa!

OK, you have to know the movie to get the joke ;-)

 Good to see that you back; badder and more dangerous than before!

:-D

 Love, Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: data from USB joystick

2010-09-26 Thread Mark Wieder
stephen-

Sunday, September 26, 2010, 9:57:22 AM, you wrote:

 It's all on the net. Your cheapest and easiest solution is to use a Keyspan
 USB to serial adapter and Rs-232 serial protocol.

I seem to have acquired two of these contraptions through general
packratting and have no use for them right now. I'd be happy to offer
these to anyone for the postage.

http://www.tripplite.com/en/products/model.cfm?txtModelID=3915

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: ANN: Updated website

2010-09-26 Thread Colin Holgate

On Sep 26, 2010, at 1:53 PM, Klaus on-rev wrote:

 
 What you always wanted to know about sex...:

Your translation of the title isn't quite right:

http://www.imdb.com/title/tt0068555/

I suspect that some teenage boys would be giggling at the fact that the star of 
that film has the name woody.



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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Hi Colin,

 
 On Sep 26, 2010, at 1:53 PM, Klaus on-rev wrote:
 
 What you always wanted to know about sex...:
 
 Your translation of the title isn't quite right:
 http://www.imdb.com/title/tt0068555/

Ah, right, I was just translating the german title...

 I suspect that some teenage boys would be giggling at the fact that the star 
 of that film has the name woody.

LOL :-D


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: data from USB joystick

2010-09-26 Thread stephen barncard
Richmond, many people have tried and failed to grok the USB stuff, and the
HID manager appears to not be that simple as keydown. It's not a keyboard,
it's a totally different API.

http://developer.apple.com/library/mac/#samplecode/HID_Manager_Basics/Introduction/Intro.html

On 26 September 2010 12:25, Richmond Mathewson
richmondmathew...@gmail.comwrote:


 My own inclinations would be to run round the corner and buy a crappy USB
 joystick and plug the
 thing in, and then set up some silly little stack that will pick up the
 signals from the USB stick

 [ they cannot be that other-worldly ]

 and see whether they can be interpreted as KeyDown, rawKeyDown type signals
 . . .



Stephen Barncard
San Francisco Ca. USA

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


Re: data from USB joystick

2010-09-26 Thread Richmond

 On 09/26/2010 09:54 PM, stephen barncard wrote:

Richmond, many people have tried and failed to grok the USB stuff, and the
HID manager appears to not be that simple as keydown. It's not a keyboard,
it's a totally different API.



OK; my mistake was precipitated by my plugging my Nostromo into
my new G3 running Mac OS 10.4.11 and getting an unknown Keyboard
signal.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: Updated website

2010-09-26 Thread stephen barncard
I love this, one bad-ass revolutionary bass player congratulating another.

On 26 September 2010 12:25, Klaus on-rev kl...@major.on-rev.com wrote:

 Hi Mark,

  Klaus-
 
  ...and turn up the bass...

 Yeah, you BET! :-D

  --
  -Mark Wieder
  mwie...@ahsoftware.net

 Best

 Klaus



Stephen Barncard
San Francisco Ca. USA

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


Re: data from USB joystick

2010-09-26 Thread stephen barncard
unless there's an extension mapping it to the keyboard routines. A
reasonable conclusion.It would be great someone made a joystick as easy
to read as barcode scanner.  It's ironic that the toughest to implement
interfaces were formerly the simplest. ( like the single - bit ports on the
Apple ][)

On 26 September 2010 13:57, Richmond richmondmathew...@gmail.com wrote:

  On 09/26/2010 09:54 PM, stephen barncard wrote:

 Richmond, many people have tried and failed to grok the USB stuff, and the
 HID manager appears to not be that simple as keydown. It's not a keyboard,
 it's a totally different API.


 OK; my mistake was precipitated by my plugging my Nostromo into
 my new G3 running Mac OS 10.4.11 and getting an unknown Keyboard
 signal.

 ___



-- 



Stephen Barncard
San Francisco Ca. USA

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


Re: data from USB joystick

2010-09-26 Thread Richmond

 On 09/26/2010 10:04 PM, stephen barncard wrote:

unless there's an extension mapping it to the keyboard routines. A
reasonable conclusion.It would be great someone made a joystick as easy
to read as barcode scanner.  It's ironic that the toughest to implement
interfaces were formerly the simplest. ( like the single - bit ports on the
Apple ][)

On 26 September 2010 13:57, Richmondrichmondmathew...@gmail.com  wrote:



 Cop a look at this:

http://www.legacyengineer.com/store.html

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


Re: (DataGrid) one datagrid can't find the stack when its name is changed

2010-09-26 Thread zryip theSlug
On Sat, Sep 25, 2010 at 11:03 PM, Andre.Bisseret
andre.bisse...@inria.fr wrote:

 Le 25 sept. 10 à 22:00, zryip theSlug a écrit :

 On Sat, Sep 25, 2010 at 9:29 PM, Andre.Bisseret andre.bisse...@inria.fr
 wrote:

 Bonjour,
 I have an app. with a main stack which is use to keep one' accounts.
 13 cards, on for each month and the last of the year'recapitulation.
 On each cards, one data grid, which has been installed with:
 ---
 copy group DataGrid of group Templates of stack revDataGridLibrary
 to
 this card
 -
 Worked as expected up to now.

 Now, I want to be able to create new stacks (for each years)
 Up to now my stack was named, say annual accounts.

 I just tried to replace the current name with annual accounts 2010.

 Then, all works normally, (the datagrids of the 12 months are working
 normally)
 EXCEPT the data grid on the year card; when I go to the year card, I got
 the
 following answer message:
 -
 An error has occured in behavior for the
 column template;
 Chunk: can't find stack
 with OK or Edit Script
 -
 The same when I click on the button which calculates the data for the
 year
 and populates the datagrid: the handler is interrupted and I got several
 successive such messages.

 What am I missing here?
 I would like to be able, for example, to simply clone the stack 2010 (or
 a
 model stack) and only change the name to annual accounts 2011

 Thanks a lot in advance for any help

 Best regards from Grenoble

 André

 Bonjour André

 Have you a default column behavior for this dg?
 You can check with your copy of DGH by selecting the dg in the year
 card, then open the Behaviors / Templates topic of DGH. If the default
 column behavior field is filled, when you click on the 3 dots button,
 you will obtain an error message from DGH.

 A behavior points to the long id of a btn, so the name of the stack
 which contain the behavior btn is store in the behavior. When you
 change the name of a stack the link with the behavior is broken.

 Bonsoir TheSlug,

 Yes I have a default column behavior
 Oouuups! indeed, I was completely forgetting  that the name of the stack was
 hidden there!!
 So I have to reset the behavior of the dataGrid when a new stack is created
 for a new year

 Magnifique your DGH! a very useful tool indeed!

Thanks André, I'm glad that you find DGH useful.

 Thanks a lot for your quick and helpful answer; much appreciated ;-))

You're welcome André! 8-)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: Updated website

2010-09-26 Thread zryip theSlug
On Sun, Sep 26, 2010 at 3:31 PM, Klaus on-rev kl...@major.on-rev.com wrote:
 Hi friends,

 I just updated my website to reflect the new name of our favorite IDE
 and also took the chance to complement and streamline the whole thing.

 Since I am not a native english speaker I would appreciate any hints
 where my translation is not correct or a bit clumsy, thank you!


Nice website Klaus! 8-)


-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slow On-Rev?

2010-09-26 Thread Pierre Sahores
No problem at all on my side (loki server) with, over the last 30 days :

Uptime
99.98%
Average of all checks.

Downtime
10m 41s
Total of all checks.

Avg. Response Time
1840 ms
Average of all checks.

as the responses provided by the pingdom.com on-line service.

Best,

Pierre


Le 26 sept. 2010 à 01:21, Marty Knapp a écrit :

 Anybody experiencing extreme slowness with On-Rev? I'm on Thor, I believe, 
 and things are just crawling along . . .
 
 Thanks,
 Marty Knapp
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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

www.wrds.com
www.sahores-conseil.com






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


Re: ANN: Updated website

2010-09-26 Thread Pierre Sahores
Good to see that you went never really away from concert stages even after and 
indeed the tennis-helbow event ... ;-)

Kind Regards,

Pierre

Le 26 sept. 2010 à 15:31, Klaus on-rev a écrit :

 Hi friends,
 
 I just updated my website to reflect the new name of our favorite IDE
 and also took the chance to complement and streamline the whole thing.
 
 Since I am not a native english speaker I would appreciate any hints
 where my translation is not correct or a bit clumsy, thank you!
 
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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
 

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

www.wrds.com
www.sahores-conseil.com




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


Re: ANN: Updated website

2010-09-26 Thread Klaus on-rev
Bonsoir Pierre,

 Good to see that you went never really away from concert stages even after 
 and indeed the tennis-helbow event ... ;-)

Yep, except the mandatory break of two years.
I like your typo (if it was one!) tennis helbow :-D

 Kind Regards,
 
 Pierre

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: data from USB joystick

2010-09-26 Thread DunbarX
The USB Service Plus gadget would do all this and be fun to work with as 
well.

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


Re: data from USB joystick

2010-09-26 Thread -=JB=-
If I understood him correctly he wants to plug any standard USD game
device into his computer and control it with LiveCode.  For him to use
the USB Service Plus gadget he might get it to work but then anyone
using the game he develops would need to buy the gadget which is
not going to happen so that idea does not seem suitable.

I had mentioned I was working on a serial communications stack that
was going to allow you to also control X10 and similar home control
devices accessing a X10 USB or similar device with Livecode.  This
appears to be feasible by opening the port with livecode and then
using the right driver to access the USB device.

The problem I had was after opening the serial port I was able to
send a certain amount of text and then rev would not send anymore
which makes me think they are using a memory buffer in their code
that fills up.  So if that is what is happening even if you are able to
control the USB device it will stop after the buffer is full which means
you will need to close the port and open it again which empties the
buffer allowing you to send the same amount of text again.  That is
going to cause problems if you need to close the port and open it
again during game play.

-=JB=-


On Sep 26, 2010, at 7:15 PM, dunb...@aol.com wrote:

 The USB Service Plus gadget would do all this and be fun to work with as 
 well.
 
 http://www.bkohg.com/serviceusbplus_e.html
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


Re: data from USB joystick

2010-09-26 Thread stephen barncard
So that simple $20 USB joystick that Richmond mentioned is not the exact
solution that the original poster wanted?
That USB Service plus is great for labs but did you see the prices of that
stuff? And it probably has to be shipped from Germany.

On 26 September 2010 21:55, -=JB=- sund...@pacifier.com wrote:

 If I understood him correctly he wants to plug any standard USD game
 device into his computer and control it with LiveCode.  For him to use
 the USB Service Plus gadget he might get it to work but then anyone
 using the game he develops would need to buy the gadget which is
 not going to happen so that idea does not seem suitable.

 I had mentioned I was working on a serial communications stack that
 was going to allow you to also control X10 and similar home control
 devices accessing a X10 USB or similar device with Livecode.  This
 appears to be feasible by opening the port with livecode and then
 using the right driver to access the USB device.

 The problem I had was after opening the serial port I was able to
 send a certain amount of text and then rev would not send anymore
 which makes me think they are using a memory buffer in their code
 that fills up.  So if that is what is happening even if you are able to
 control the USB device it will stop after the buffer is full which means
 you will need to close the port and open it again which empties the
 buffer allowing you to send the same amount of text again.  That is
 going to cause problems if you need to close the port and open it
 again during game play.

 -=JB=-


 On Sep 26, 2010, at 7:15 PM, dunb...@aol.com wrote:

  The USB Service Plus gadget would do all this and be fun to work with as
  well.
 
  http://www.bkohg.com/serviceusbplus_e.html
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 

 ___
 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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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