Re: Is libURL required for a "get url..." statement?

2007-02-13 Thread Richard Gaskin

Dave Cragg wrote:

On 13 Feb 2007, at 02:28, Derek Bump wrote:

I know that you cannot use commands associated with any Rev Library  
until after the startup handler has finished, but is the following  
command part of the libURL library?


  get url "http://www.mysite.com/";

The reason I ask is because it seems to me that it would not be,  
but is instead built into the engine.


A reasonable assumption, but I'm afraid "get url" does need libUrl  
when used with ftp and http URLs. The same is true for other calls  
using http and ftp urls (load,  post, etc.) and also the cachedUrls()  
function.


Derek, would you be able to make that call from a preOpenCard handler in 
the first card of your mainStack?


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


Re: [OT] Decompiling SWF on a Mac

2007-02-13 Thread Ian Wood
If File Juicer doesn't work on a particular file, just send it to  
Henrik - he tends to regard it as a challenge and comes out with a  
new version a few days later!


He's one of the most responsive developers I've ever come across.

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


How to Display/Print a Hex Number???

2007-02-13 Thread Dave

Hi,

I have a parameter that is passed back to RunRev in a Variable from  
an External Command, e.g. the TranScript line is:


put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev but  
for the life of me I can't think how to do it! Guess my brain has  
gone to sleep today! Any help would be appreciated!


Thanks a lot and All the Best
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: How to Display/Print a Hex Number???

2007-02-13 Thread Mark Smith
If it's a revolution number, you can use 10,16)>, if it's a 4 byte binary value, you can


put empty into tHexStatus
get binaryDecode("H*", myStatus, tHexStatus)

and tHexStatus should now contain the value as as hex chars.

Hope this helps,

Best,

Mark
On 13 Feb 2007, at 10:52, Dave wrote:


Hi,

I have a parameter that is passed back to RunRev in a Variable from  
an External Command, e.g. the TranScript line is:


put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev  
but for the life of me I can't think how to do it! Guess my brain  
has gone to sleep today! Any help would be appreciated!


Thanks a lot and All the Best
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


___
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: anyone here for a Brazilian User Group?

2007-02-13 Thread Andre Garzia

me too,

or I scared all the other users or right now I am a one man user  
group


I am thinking about writing some articles to local mac magazines,  
maybe, I'll draw some interest, here people know only realbasic...


andre

On Feb 12, 2007, at 11:35 PM, Kay C Lan wrote:

Been away for a month and am hurriedly scanning through hundreds of  
posts.
Came across this Subject heading and was sure there'd be several  
way off
topic replies. How disappointing. Is it because programing is such  
a 'male'

thing.

Hope to get to todays posts sometime this week;-)
___
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: Is libURL required for a "get url..." statement?

2007-02-13 Thread Andre Garzia

Derek,

I do think URL is from libURL or dependant on it. If you're on MacOS  
X, then you can wrap this call in curl or wget, that's how I do for  
CGIs.

Andre

On Feb 13, 2007, at 12:28 AM, Derek Bump wrote:

I know that you cannot use commands associated with any Rev Library  
until after the startup handler has finished, but is the following  
command part of the libURL library?


  get url "http://www.mysite.com/";

The reason I ask is because it seems to me that it would not be,  
but is instead built into the engine.  As such, can anyone tell me  
why it won't work during a startup handler, or a handler that is  
called from the startup handler?



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/

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

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


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


Animated GIFS

2007-02-13 Thread Shari
As far as I can tell, if I import an animated GIF into 
Metacard/Revolution, the animation speed will be exactly as the GIF 
was created in whatever graphics program created it.  And there is 
nothing I need to do to ensure that the animation plays at the 
desired speed.  (And hopefully the speed is perfect, because I didn't 
find any overrides for it.)


I did not find much info in the docs on animated GIFS, so I'm hoping 
y'all can verify, or share any gotchas :-)


Also, an animation can be set to not play, and be stopped at a 
specific frame, correct?


set the repeatCount of image 1 to 0 # no repeating
set the currentFrame of image "Process" to 3 # the desired frame number

If the animated GIF is stored in one stack, set to no looping and 
stopped at a specific frame, and you set the icon of a button to this 
gif, the button will retain the info as desired, and show the stopped 
animation.  Also correct I so hope??


If I've pretty well got the gist, then this makes my life very easy :-)

Thank you.

Shari
--
Gypsy King Software
Mac and Windows shareware games
http://www.gypsyware.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


Big/Little Endian and Externals - Was how to Display/Print a Hex Number???

2007-02-13 Thread Dave

Hi,

That works great, thanks a lot. One other thing though:

I have an external that will eventually have to work on Mac/Intel,  
Mac/PowerPC and Windows. The value that is being returned is  
0x0001, however on an Intel Mac it's being displayed as  
0x0100. e.g. it's a Big/Little Endian issue. Is there a standard  
way to handle this for both platforms???


Thanks a lot for your help.
All the Best
Dave

On 13 Feb 2007, at 11:23, Mark Smith wrote:

If it's a revolution number, you can use 10,16)>, if it's a 4 byte binary value, you can


put empty into tHexStatus
get binaryDecode("H*", myStatus, tHexStatus)

and tHexStatus should now contain the value as as hex chars.

Hope this helps,

Best,

Mark
On 13 Feb 2007, at 10:52, Dave wrote:


Hi,

I have a parameter that is passed back to RunRev in a Variable  
from an External Command, e.g. the TranScript line is:


put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev  
but for the life of me I can't think how to do it! Guess my brain  
has gone to sleep today! Any help would be appreciated!


Thanks a lot and All the Best
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


___
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: Mercury in retrograde

2007-02-13 Thread Dave


On 12 Feb 2007, at 16:26, Richard Gaskin wrote:
This list has been pretty much controversy-free for months, and I'd  
hate

to see a momentary lapse in otherwise excellent professional judgment
break the good roll we're on.


Yeah! It's about time we had a good old set to! Good for the soul!

lol and ducking the flying CDs!

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: Big/Little Endian and Externals - Was how to Display/Print a Hex Number???

2007-02-13 Thread John Craig
Dave, here's a function I've used to convert big endien numbers.  pData 
is a big endien value read directly from a binary file.  If pSigned is 
empty then the data is assumed to be unsigned.  Hopefully this will be 
of some help.


function littleEndien pData, pSigned
 put length(pData) into tLen
 put 0 into tResult
 repeat with i = 1 to tLen
   add charToNum(char -i of pData) * (2 ^ ((i - 1) * 8)) to tResult
 end repeat
 if pSigned <> empty then
   put tLen * 8 into tBits
   put 2 ^ (tBits - 1) into tMSB
   if (tResult bitAnd tMSB) > 0 then
 put 2 ^ tBits - 1 into tAll
 put -((tResult bitXOr tAll) + 1) into tResult
   end if
 end if
 return tResult
end littleEndien

Dave wrote:

Hi,

That works great, thanks a lot. One other thing though:

I have an external that will eventually have to work on Mac/Intel, 
Mac/PowerPC and Windows. The value that is being returned is 
0x0001, however on an Intel Mac it's being displayed as 
0x0100. e.g. it's a Big/Little Endian issue. Is there a standard 
way to handle this for both platforms???


Thanks a lot for your help.
All the Best
Dave

On 13 Feb 2007, at 11:23, Mark Smith wrote:

If it's a revolution number, you can use baseConvert(myStatus,10,16)>, if it's a 4 byte binary value, you can


put empty into tHexStatus
get binaryDecode("H*", myStatus, tHexStatus)

and tHexStatus should now contain the value as as hex chars.

Hope this helps,

Best,

Mark
On 13 Feb 2007, at 10:52, Dave wrote:


Hi,

I have a parameter that is passed back to RunRev in a Variable from 
an External Command, e.g. the TranScript line is:


put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev 
but for the life of me I can't think how to do it! Guess my brain 
has gone to sleep today! Any help would be appreciated!


Thanks a lot and All the Best
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


___
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:[OT] Decompiling SWF on a Mac (Richmond Mathewson)

2007-02-13 Thread Glenn E. Fisher

Richmond,

You might want to take a look my sound editor utility.  It is not  
finished, but can do some sound conversions to aiff.


It's in RevOnLine under id gefisher in the utilities catagory.

On 2/12/07, Richmond Mathewson <[EMAIL PROTECTED]> wrote:



Somebody just dumped a load of shockwave files of
phonetic materials they want me to pop together into a
RR thing for a Free English pronunciation guide. That
is all jolly well and good . . . but need to extract
the sound components of the swf files so I can turn
them into aiff files - help, advice gratefully
recieved,

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on
the way over to take my hand.






___
New Yahoo! Mail is the ultimate force in competitive emailing. Find  
out
more at the Yahoo! Mail Championships. Plus: play games and win  
prizes.

http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/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



--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED]   http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher


___
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


blend level question

2007-02-13 Thread sims

I have a stack with a blend level set to 40, I'd like to be able
to place an image on top of that stack (or as a btn icon) and have
the blend level of that image be set to zero so it will display well.

Is this possible to do? If so, how?

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


Re: blend level question

2007-02-13 Thread Eric Chatonet

Hi Sims,

At first sight the answer is no :-(
Actually all objects are concerned when you set the stack's blendlevel.
Even the window itself (title bar included if there is one) is  
blended and I assume that is what you want :-)


But I see two ways:
1. Work your image in PhotoShop to increase hue and saturation and  
decrease luminosity (modifying HSL values):
Grope your way along with these settings and you will be able to make  
your image appear almost 'normal' :-)
2. The second way would use two stacks: the one you have yet with its  
blendlevel set to 40 and another one with a windowshape you'll move  
with the first one.


Of course I prefer the first approach ;-)

Best Regards from Paris,
Eric Chatonet

Le 13 févr. 07 à 15:06, sims a écrit :


I have a stack with a blend level set to 40, I'd like to be able
to place an image on top of that stack (or as a btn icon) and have
the blend level of that image be set to zero so it will display well.

Is this possible to do? If so, how?

sims



 
--

http://www.sosmartsoftware.com/[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


Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Richmond Mathewson
At least one person has stated that they find it a
"bit of a bother" to subscribe to Yahoo Groups to
download my RR files.

I, personally, found it dead easy to subscribe to
other groups (such as the Hypercard one:

http://finance.groups.yahoo.com/group/HyperCard/

and the Klaus Nomi one:

http://launch.groups.yahoo.com/group/klausnomiland/

and all the other ones . . .)

I would be more than happy to upload all the files
presently available through my 4 yahoo groups to a
server that would store them, and not suddenly change
or vanish without warning.

Offers entertained . . .

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.




___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.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: Is libURL required for a "get url..." statement?

2007-02-13 Thread Derek Bump

Richard Gaskin wrote:
Derek, would you be able to make that call from a preOpenCard handler in 
the first card of your mainStack?


Well, I thought of that as well, and it still wouldn't work.  When in 
the development environment I am able to get the url, but in the 
standalone, nothing.


What I am wondering is if I can initialize the "libURL" hidden group on 
my own, to help ensure that the command is completed.  Would the 
following work:


  send "openBackground" to group "libURL"

Or is it called something else?  I'll try it and see what happens.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: Is libURL required for a "get url..." statement?

2007-02-13 Thread Derek Bump

Andre Garzia wrote:
I do think URL is from libURL or dependant on it. If you're on MacOS X, 
then you can wrap this call in curl or wget, that's how I do for CGIs.

Andre


*Sigh*, I'm on Windows XP.  Hopefully, someday soon, I'll be able to 
switch back to the platform I love. :)



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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


Binary Data???

2007-02-13 Thread Dave

Hi All,

I would like to pass a large buffer of binary data to an External  
Function, but I'm not sure how to go about it in TranScript.


The C code for it looks a bit like this:

int myXCounter;
int myYCounter;
unsigned char*  myImagePtr;

myImagePtr = theImagePtr;
for (myYCounter = 0;myYCounter < 512;myYCounter++)
{
for (myXCounter = 0;myXCounter < 512;myXCounter++)
{
myImagePtr[0] = 0;
myImagePtr[1] = 128;
myImagePtr[2] = 0;
myImagePtr[3] = 128;
myImagePtr += 4;
}
}

I then would I write this so it is stored inside a TranScript variable?

Thanks a lot and All the Best
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: Big/Little Endian and Externals - Was how to Display/Print a Hex Number???

2007-02-13 Thread Mark Smith
Dave, is this value a product of the binaryDecode function? If so,  
it's usually just a question of chosing the right parameter for the  
platform/processor.


Rather than  or somesuch, (might it  
me "AMD"...), I use this function to determine the endianness of the  
system an app is running on:


function bigEndian
  put binaryEncode("I",1) into tBinNum -- this creates a 4 byte uint  
in host byte order

  repeat for each char i in tBinNum
put charToNum(i) & space after tList
  end repeat
  return char 1 of tList = 0
end bigEndian

if it returns true then we're big-endian, otherwise little-endian.

Without testing, I think you could use the binaryEncode("h*"  
(lower case "h") for little-endian processors.


so:

put empty into tHexStatus
if bigEndian() then
  get binaryDecode("H*", myStatus, tHexStatus)
else
  get binaryDecode("h*, myStatus, tHexStatus)
end if

Best,

Mark

On 13 Feb 2007, at 12:36, Dave wrote:


Hi,

That works great, thanks a lot. One other thing though:

I have an external that will eventually have to work on Mac/Intel,  
Mac/PowerPC and Windows. The value that is being returned is  
0x0001, however on an Intel Mac it's being displayed as  
0x0100. e.g. it's a Big/Little Endian issue. Is there a  
standard way to handle this for both platforms???


Thanks a lot for your help.
All the Best
Dave

On 13 Feb 2007, at 11:23, Mark Smith wrote:

If it's a revolution number, you can use 10,16)>, if it's a 4 byte binary value, you can


put empty into tHexStatus
get binaryDecode("H*", myStatus, tHexStatus)

and tHexStatus should now contain the value as as hex chars.

Hope this helps,

Best,

Mark
On 13 Feb 2007, at 10:52, Dave wrote:


Hi,

I have a parameter that is passed back to RunRev in a Variable  
from an External Command, e.g. the TranScript line is:


put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev  
but for the life of me I can't think how to do it! Guess my brain  
has gone to sleep today! Any help would be appreciated!


Thanks a lot and All the Best
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


___
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: Error in external

2007-02-13 Thread John Craig
Thanks for the replies, T & J.  I'll be on a windows machine later 
today, so I'll check it out - I can also post the code.


JC

J. Landman Gay wrote:

John Craig wrote:
I wrote a small external a while back after Mark Waddington's 
newsletter article.  The external seems to work fine most of the 
time, but every once in a while throws an error.
The variable watcher tells me that the temp vars that were set prior 
to calling the external function have mysteriously emptied.  Has 
anyone else experienced anything similar with externals?


(WindowsXP, Rev. 2.7.4 , VC++ )


Tech support received a report last week that the article in the 
newsletter had reversed two parameters in external.c. Two functions 
have their first two parameters interchanged (p_name and p_group).


This was verified last week and a correction is supposed to be made to 
the article. But in the mean time, if you are using either of those 
two functions, the error may be due to that reason.





___
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: Is libURL required for a "get url..." statement?

2007-02-13 Thread Derek Bump

Derek Bump wrote:
What I am wondering is if I can initialize the "libURL" hidden group on 
my own, to help ensure that the command is completed.  Would the 
following work:


Well that did it.  Since I want the Standalone to quit immediately after 
doing it's Internet stuff, I added the following statement into the 
handler to force load the library:


   call "PreOpenBackground" of grp "revLibraries" of cd 1

I just tested it and it worked wonderfully.  Thank you Dave, Richard and 
Andre!  Your help is greatly appreciated!



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: Binary Data???

2007-02-13 Thread Mark Smith
Dave, could you explain in what you're doing - to my non-C eyes it  
looks like your'e simply building a 512 * 512 list of bytes of  
alternating value 0 and 128.


If it's any help, you can do this with (128) after tBuffer> the required number of times, but I'm guessing  
that that is not exactly what you want...


Best,

Mark

On 13 Feb 2007, at 16:02, Dave wrote:


Hi All,

I would like to pass a large buffer of binary data to an External  
Function, but I'm not sure how to go about it in TranScript.


The C code for it looks a bit like this:

int myXCounter;
int myYCounter;
unsigned char*  myImagePtr;

myImagePtr = theImagePtr;
for (myYCounter = 0;myYCounter < 512;myYCounter++)
{
for (myXCounter = 0;myXCounter < 512;myXCounter++)
{
myImagePtr[0] = 0;
myImagePtr[1] = 128;
myImagePtr[2] = 0;
myImagePtr[3] = 128;
myImagePtr += 4;
}
}

I then would I write this so it is stored inside a TranScript  
variable?


Thanks a lot and All the Best
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


___
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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Marielle Lange

a server that would store them, and not suddenly change
or vanish without warning.


Similar warning as Mark Wieder gave, here.  Well, I was the one  
hosting these files. Obviously, my different websites and presence on  
forums suggest that I am keen to help members of the community.


To avoid to polute the list, I am posting more details  on the RR  
graphix list. Well, that may take up to an hour as I am waiting for  
an unbounce email from yahoo... the university email I used for the  
RR graphix was canceled almost two years ago. Yep, two years, and  
Richmond hasn't forgiven me yet for the fact that my providers  
blocked my account without any justification and forced me into an  
emergency change. Emails were sent to Richmond to warn him but all of  
them bounced back.


If you are after a break and you want to use this pretense to write a  
few flaming emails, please do so on the RR graphics list. I am with  
Richard. Lest keep this list controversy free.


Marielle

___
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] Decompiling SWF on a Mac

2007-02-13 Thread Thomas McCarthy

About a year ago, I posted a link to a freeware program that would batch 
convert movie files (and I think swf ones) it was called Q something. I'll 
check it at work tomorrow.

In the meantime, this is another interesting bit of freeware:
http://www.tucows.com/preview/319320

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
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: Binary Data???

2007-02-13 Thread Dave

Hi,

Yes, if the data were 5 x 5 (instead of 512, 512) then all I want is  
a buffer that contains the data:


0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,   5 lots  
of (0,128,0,128 in a line, and 5 lines, making 25 groups of 0,128,0,128)

0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128

Thanks a lot, I think that should do it! I guess when I have my C  
head on I find it hard to think in TranScript!


All the Best
Dave

On 13 Feb 2007, at 16:30, Mark Smith wrote:

Dave, could you explain in what you're doing - to my non-C eyes it  
looks like your'e simply building a 512 * 512 list of bytes of  
alternating value 0 and 128.


If it's any help, you can do this with (128) after tBuffer> the required number of times, but I'm guessing  
that that is not exactly what you want...


Best,

Mark

On 13 Feb 2007, at 16:02, Dave wrote:


Hi All,

I would like to pass a large buffer of binary data to an External  
Function, but I'm not sure how to go about it in TranScript.


The C code for it looks a bit like this:

int myXCounter;
int myYCounter;
unsigned char*  myImagePtr;

myImagePtr = theImagePtr;
for (myYCounter = 0;myYCounter < 512;myYCounter++)
{
for (myXCounter = 0;myXCounter < 512;myXCounter++)
{
myImagePtr[0] = 0;
myImagePtr[1] = 128;
myImagePtr[2] = 0;
myImagePtr[3] = 128;
myImagePtr += 4;
}
}

I then would I write this so it is stored inside a TranScript  
variable?


Thanks a lot and All the Best
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


___
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: Binary Data???

2007-02-13 Thread Trevor DeVore

On Feb 13, 2007, at 8:02 AM, Dave wrote:


Hi All,

I would like to pass a large buffer of binary data to an External  
Function, but I'm not sure how to go about it in TranScript.


Pass in the name of the variable to store the binary data in as an  
argument to your function.  Then use an ExternalString and  
SetVariableEx.  For example, to assign the contents of a HANDLE  
containing PNG data you would do something like this:


ExternalString theExternalString.buffer = *thePNGHandle;
theExternalString.length = GetHandleSize(thePNGHandle);
SetVariableEx( p_arguments[0], "", &theExternalString, &r_success);



--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Marielle Lange

At least one person has stated that they find it a
"bit of a bother" to subscribe to Yahoo Groups to
download my RR files.


Note that you could use services like. This let  you publish a link  
to a file. The file is held temporarily on a server and up to 100  
users can go and download it.



Marielle

___
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: Binary Data???

2007-02-13 Thread Dave

Hi,

Yes, if the data were 5 x 5 (instead of 512, 512) then all I want is  
a buffer that contains the data:


0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,   5 lots  
of (0,128,0,128 in a line, and 5 lines, making 25 groups of 0,128,0,128)

0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128

Thanks a lot, I think that should do it! I guess when I have my C  
head on I find it hard to think in TranScript!


All the Best
Dave

On 13 Feb 2007, at 16:30, Mark Smith wrote:

Dave, could you explain in what you're doing - to my non-C eyes it  
looks like your'e simply building a 512 * 512 list of bytes of  
alternating value 0 and 128.


If it's any help, you can do this with (128) after tBuffer> the required number of times, but I'm guessing  
that that is not exactly what you want...


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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Andre Garzia

why don't we all use RevOnline for this kind of stack storage?

Andre

On Feb 13, 2007, at 3:04 PM, Marielle Lange wrote:


At least one person has stated that they find it a
"bit of a bother" to subscribe to Yahoo Groups to
download my RR files.


Note that you could use services like. This let  you publish a link  
to a file. The file is held temporarily on a server and up to 100  
users can go and download it.



Marielle

___
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: Binary Data???

2007-02-13 Thread Dave


On 13 Feb 2007, at 17:03, Trevor DeVore wrote:


On Feb 13, 2007, at 8:02 AM, Dave wrote:


Hi All,

I would like to pass a large buffer of binary data to an External  
Function, but I'm not sure how to go about it in TranScript.


Pass in the name of the variable to store the binary data in as an  
argument to your function.  Then use an ExternalString and  
SetVariableEx.  For example, to assign the contents of a HANDLE  
containing PNG data you would do something like this:


ExternalString theExternalString.buffer = *thePNGHandle;
theExternalString.length = GetHandleSize(thePNGHandle);
SetVariableEx( p_arguments[0], "", &theExternalString, &r_success);


Hi Trevor,

Yes, I was thinking of doing it that way, but I would like to keep  
the Setup in RunRev since it is easier to change and also I can make  
a cool GUI interface for it. It's only performed once at startup so  
I'm not worried about the execution speed.


All the Best
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


Special Valentine's Offer for Valentina - Beat the Price Increase!

2007-02-13 Thread Lynn Fredricks
Dear all,

Paradigma is currently redefining its development tools product line and I
would like to share with you how to save up to $900 in taking advantage of
the latest releases.

In order to deliver a highly stable and usable database solution, all
Valentina 2.X purchasers have received free access to updates (even after
expiration of upgrade plans) subsequently released. Valentina 2.5.X is now a
mature platform, so subsequent full releases will be made available only to
customers with current update plans. This means that if you purchased a
Valentina 2 ADK more than one year ago, or a VDN plan more than two years
ago - its time to upgrade!

Valentina Developer Network Professional 2007 has a list price of $999;
Valentina Developer Network Enterprise 2007 has a list price of $1499 -
however you can buy VDN Pro 2007 for $799 (a savings of $200) or VDN
Enterprise for $999 (a savings of $500) if you order before February 15,
2007 - that is, the current upgrade price.

VDN Professional 2007 lets you deploy Valentina Embedded Server, royalty
free and in unlimited numbers. New for 2007, VDN Pro also includes:

-Valentina ODBC, for accessing Valentina from your favorite ODBC compliant
analysis or reporting tool, such as Microsoft Excel or Business Objects
Crystal Reports. 
-Valentina PHP, for building powerful server-side solutions using PHP 4 or
PHP 5.
-Valentina for Ruby on Rails for developing database solutions with Ruby or
the Ruby on Rails framework
-Your Revolution ADK Pro (MacOS X, Windows and, when available - Linux!)
-the C++ ADK Extended Edition
-TWO YEARS worth of updates - Valentina 3.0 will be yours!

SPECIAL: We are including a free deployment of Valentina Embedded Server
Unlimited that you can keep for yourself, or ship to a customer - a $400
value and a "sweet" for Valentine's Day!

VDN Enterprise 2007 includes all new features in VDN Professional (VDN
Enterprise includes ALL available ADKs!) in addition to the Valentina
Adapters for Bonjour and SSL. Your Embedded Server solutions can be set up
to be found automatically on a network using zero-config (Bonjour) aware
applications. You can also create highly secure connections using SSL.

VDN plans include a lot list of features - one to always remember is that
they include TWO full years of updates and upgrades. One year plus renewal
of one Valentina 2 Pro ADK is $523. For only $73 more, you can be delivering
powerful, royalty free server solutions as well as other benefits of VDN!

Upgrade from any Valentina 1.x SDK or Valentina 2 ADK to VDN Pro 2007 for
only $600. 

Upgrade from any Valentina 1.x SDK or Valentina 2 ADK  to VDN Enterprise
2007 for only $800.

This special Valentina Developer Network upgrade offer ends February 15,
2007. Take advantage of the old pricing on these products and enrich your
customer's data infrastructure for years to come.

Best regards,

Lynn Fredricks
President
Paradigma Software

___
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


Strange crashing

2007-02-13 Thread Richard Miller

Perhaps someone has some insight into this odd behavior.

Our Rev (Windows) program uses two standalone applications. I'll call  
the first one the Startup app. This app is supposed to keep running  
continuously. The user can press on a button in that app that  
triggers the start of a second standalone app, which I'll call the  
Main app. When the Main app is started, the Startup app is hidden.  
Upon starting the Main app, a flag is set to 1 by the Startup app  
telling it to hide. When the Main app quits, it sets this flag to 0.  
The Startup app is checking once per second to see the condition of  
this flag. Once it goes to 0, the Startup app reappears.


The primary reason this system is set up this way is because the Main  
app is rather complex (capturing and replaying video, amongst other  
things) and needs to run more or less continuously for up to 12 hours  
per day. By completely closing this Main app and restarting it for  
each user "session" as we call it, it seems to run more predictably  
throughout the day.


The problem we're encountering is that, approximately half the time  
that this Main app shuts down, something in Windows forces the  
Startup app to shut down and create a Windows "application crash"  
message. I can't see how this occurs, as there is no connection  
between these two standalones, other than the flag being set in a  
separate text file. Plus, as I said, it only happens about 50% of the  
time.


Any thoughts on this? Is there some way that shutting the Rev engine  
down in one standalone can impact the Rev engine in another  
standalone running at the same time? Again, this is Windows XP. I'm  
sure we wouldn't encounter the same problem on a Mac!


Thanks.
Richard Miller
Imprinter Technologies
___
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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Richard Gaskin

Richmond Mathewson wrote:


At least one person has stated that they find it a
"bit of a bother" to subscribe to Yahoo Groups to
download my RR files.

I, personally, found it dead easy to subscribe to
other groups (such as the Hypercard one:

http://finance.groups.yahoo.com/group/HyperCard/

and the Klaus Nomi one:

http://launch.groups.yahoo.com/group/klausnomiland/

and all the other ones . . .)


I didn't know there was a Klaus Nomi group -- I may have to join that 
one.  :)


A Yahoo ID takes only a minute to set up, and opens the gate to these 
Rev groups as well:


Rev Interoperability Group:


Rev Inter-process Communication Group:


SoCal RUG: Southern California Regional Rev User Group:


Midwest RUG: Regional user group for the midwest:


U4 Group: An open alternative for multi-platform flash-drive deployment:


MetaCard Group, for those wanting to dabble in the old IDE:


Given all the useful goodies in Yahoo Groups for Rev developers, it 
seems worth the minute or so to create an account there.


--
 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: Special Valentine's Offer for Valentina - Beat the Price Increase!

2007-02-13 Thread Marielle Lange
SPECIAL: We are including a free deployment of Valentina Embedded  
Server
Unlimited that you can keep for yourself, or ship to a customer - a  
$400

value and a "sweet" for Valentine's Day!


A Valentine's special. How touching. Let me guess, bundled with love?

Marielle
---
Marielle Lange (PhD),  http://widged.com
Bite-size Applications for Education





___
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: blend level question

2007-02-13 Thread Klaus Major

Hi sims,


I have a stack with a blend level set to 40, I'd like to be able
to place an image on top of that stack (or as a btn icon) and have
the blend level of that image be set to zero so it will display well.

Is this possible to do? If so, how?


You can prepare a PNG image in Photoshop and use it as a "windowshape".

This is how the image may look:
40% transparent and the part where the image should go, that area  
100% opaque.


Know what I mean?
If not, drop a line, I will send you an example image :-)


sims


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


Re: blend level question

2007-02-13 Thread Marielle Lange
Just wondering... any chance this could be done programmatically by  
adding a gray rectangle behind the picture and playing with the ink  
values? If you put two rectangles in a group, a bright colored one, a  
gray shaded one. You set the blend level of the group to 50.Then you  
take one of two rectangles and you play with the ink values.  
blendHardLight seems to give some results in that direction.


A *very cheap* alternative is rather than blend the stack, is add a  
black rectangle right behind the image (which is then moved onto the  
top layer) and change the blend of that rectangle. You won't get  
exactly the same effect of a pure blend in the sense that you won't  
see what is behind your interface in a semi transparent rendering.  
However, this solution may be closer to what you want to achieve  
(nice semitransparent effects like you find in drops).



But I see two ways:
1. Work your image in PhotoShop to increase hue and saturation and  
decrease luminosity (modifying HSL values):
Grope your way along with these settings and you will be able to  
make your image appear almost 'normal' :-)




___
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


Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Richmond Mathewson
Dear Marielle Lange, and other interested parties,

Yes, thy website went "pear-shaped" on me - but this
was due to a series of unfortunate incidents outwith
either thy or my control.

I do not have any particular squabbles with thee,
Marielle; and I
have not 'forgiven' thee for the website collapse for
the simple reason
that there is nothing to forgive.

However, for various 'funny' reasons, whenever we
communicate, we seem to rub each other up the wrong
way; which is a pity, but seems to be how things are.

I was, at that time, exploring a number of other
possibilities, and was promised all sorts of 'super'
things, all of which either failed to manifest
themselves, or turned out to be red-herrings.

Matthias Rebbe has now "made me an offer I can't
refuse" and I hope, very shortly, many of my RR
contributions will be available via a website that he
has arranged, as well as their present Yahoo group
locations. Not forgetting, of course, that there is
now some of my 'fallout' available via RevOnline.

Now; back to  sucking SWFs through a straw!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/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


calendar function anyone ?

2007-02-13 Thread jbv
Hi all,

Does anyone know of a function to find out, for instance, which day of
the
week was sept. 18th 1918 or which day of week will be dec. 5th 2025 ?

Thanks,
JB

___
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: Special Valentine's Offer for Valentina - Beat the PriceIncrease!

2007-02-13 Thread Lynn Fredricks
> > SPECIAL: We are including a free deployment of Valentina Embedded 
> > Server Unlimited that you can keep for yourself, or ship to 
> a customer 
> > - a $400 value and a "sweet" for Valentine's Day!
> 
> A Valentine's special. How touching. Let me guess, bundled with love?

Marielle,

At least 90% of a box is air - and its not all just air! :-))

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
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: Strange crashing

2007-02-13 Thread Alister Pillow

Hi Richard,
Does your video capture app run on a dual-screen system? I've built  
some interactives in Rev that use a dual screen - and had some very  
strange crashing. They're expected to run 24/7.


The problem was due to the video card being set to Dual Screen mode  
rather than Horizontal span. It took ages to find this problem  
(because the error was on the client's machine).


Regards,
Alister.
___
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: calendar function anyone ?

2007-02-13 Thread Gordon Tillman

JB you can try something like this... for example, in the message box:

convert "1918,9,18,0,0,0,0" from dateItems to dateItems
put it

This returns:

1918,9,18,1,0,0,4

Note how it "fixes" the day of the week in the date items to 4  
(Wednesday)


Alternatively you can specify the output as something like this:

convert "1918,9,18,0,0,0,0" from dateItems to long date
put it

This returns:

Wednesday, September 18, 1918

But be sure and read the note for convert because I think there are  
some limitations if you are running on Windows.


--gordy


On Feb 13, 2007, at 14:44, jbv wrote:


Hi all,

Does anyone know of a function to find out, for instance, which day of
the
week was sept. 18th 1918 or which day of week will be dec. 5th 2025 ?

Thanks,
JB

___
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: calendar function anyone ?

2007-02-13 Thread Sarah Reichelt

Does anyone know of a function to find out, for instance, which day of
the
week was sept. 18th 1918 or which day of week will be dec. 5th 2025 ?



If you convert a date to dateItems, it becomes a comma-delimited list
of 7 items. The last one is a number indicating the day of the week.
Then you can use the system weekDayNames to find the day name that
matches that number.

e.g.
put "12/5/2025" into tDate
convert tDate to dateItems
put the last item of tDate into tDayNum
put line tDayNum of the system weekdayNames into tDayName

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: calendar function anyone ?

2007-02-13 Thread Richard Gaskin

jbv wrote:

Does anyone know of a function to find out, for instance, which day of
the week was sept. 18th 1918 or which day of week will be dec. 5th 2025 ?


function GetWeekday pDate
  set the centurycutoff to (char -2 to -1 of pDate)-1
  convert pDate to dateitems
  return line (last item of pDate) of the weekdayNames
end GetWeekday


To get the day in the user's local language change the last line to:

  return line (last item of pDate) of the system weekdayNames


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


Disable Mouse

2007-02-13 Thread Jeff Honken
Is there a way to disable a mouse completely from a form?  Any help
would be greatly appreciated.  Jeff
___
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: Strange crashing

2007-02-13 Thread Richard Miller

Hi Alister,

No dual screen in use. Wish that was it!

Thanks.
Richard


On Feb 13, 2007, at 3:48 PM, Alister Pillow wrote:


Hi Richard,
Does your video capture app run on a dual-screen system? I've built  
some interactives in Rev that use a dual screen - and had some very  
strange crashing. They're expected to run 24/7.


The problem was due to the video card being set to Dual Screen mode  
rather than Horizontal span. It took ages to find this problem  
(because the error was on the client's machine).


Regards,
Alister.
___
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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Marielle Lange

due to a series of unfortunate incidents outwith my control


I gave you a chance, three times. Two or three years ago, you were  
banned from the list. Everybody applauded. I was the one to intercede  
for you off list and get you back in. You were flooding the list with  
rants on the fact that Revolution should be free. I paid you a  
license to stop you from doing that. I hosted your files for free on  
my webserver.


Things happened that were perfectly under you control. I would be  
more than happy to offer you another chance. But you have to be aware  
that you are the one with complete control on how well we get along.  
If you have the deliberate choice to write things that have a high  
chance to rub me the wrong way, well, accept that I don't feel like  
hugging you.


Look, I have nothing against you. I read your master thesis. I liked  
it. Plenty of good stuff in it. I commented positively on it. I gave  
visibility to your work both on my wiki and in the stack gallery. You  
have a neat creative talent. You can do good stuff. But for some  
reason, you tend to prefer to screw nice opportunities given to you.  
I regret that. I regret it because I believe you have a lot to give  
to any community (and I already expressed that to you).


You have to work on trying to avoid to trigger the negative and try  
to cause the positive. Nobody can help you do this. You have to take  
the decision to do that yourself.


Marielle

___
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: Disable Mouse

2007-02-13 Thread Sarah Reichelt

On 2/14/07, Jeff Honken <[EMAIL PROTECTED]> wrote:

Is there a way to disable a mouse completely from a form?  Any help
would be greatly appreciated.  Jeff


If you mean to make a window or an area of a window so that no mouse
clicks are responded to, then I find the easiest way is to cover the
whole area with a button. See the transparency of the button so that
it looks the way you want and give it a mouseUp handler that traps the
message but does nothing. You may also want to include mouseDown,
mouseDoubleUp & mouseDoubleDown.

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: calendar function anyone ?

2007-02-13 Thread Chipp Walters

the weekdayNames ??

Good one, have to remember that :-)
___
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


identifying an object via a custom property

2007-02-13 Thread Hershel Fisch
Hi is there a way to identify an object via a custom property?
E.g. focus on fld the groupOrder = 3
Or focus on groupOrder "3"

Thanks, Hershel

___
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: identifying an object via a custom property

2007-02-13 Thread Mark Schonewille

Hi Hershel,

Make a setprop handler that stores a flag in a custom property of  
your stack or in a global variable. When you want to know which  
objects have ther property set, just use the second custom property  
or the global variable to read out the information.


Best,

Mark

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 14-feb-2007, om 0:11 heeft Hershel Fisch het volgende geschreven:


Hi is there a way to identify an object via a custom property?
E.g. focus on fld the groupOrder = 3
Or focus on groupOrder "3"

Thanks, Hershel


___
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: identifying an object via a custom property

2007-02-13 Thread Hershel Fisch
On 2/13/07 6:40 PM, "Mark Schonewille" <[EMAIL PROTECTED]>
wrote:

> Hi Hershel,
> 
> Make a setprop handler that stores a flag in a custom property of
> your stack or in a global variable. When you want to know which
> objects have ther property set, just use the second custom property
> or the global variable to read out the information.
Sorry didn't get it.
Thanks, Hershel
> 
> Best,
> 
> Mark
> 
> --
> 
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> 
> Get your store on-line within minutes with Salery Web Store software.
> Download at http://www.salery.biz
> 
> Op 14-feb-2007, om 0:11 heeft Hershel Fisch het volgende geschreven:
> 
>> Hi is there a way to identify an object via a custom property?
>> E.g. focus on fld the groupOrder = 3
>> Or focus on groupOrder "3"
>> 
>> Thanks, Hershel
> 
> ___
> 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: identifying an object via a custom property

2007-02-13 Thread Brian Yennie

Hershel,

Before doing anything more complex, have you tried simply looping  
through the objects? This should be pretty fast unless you have an  
enormous number of fields.


For example (using your "groupOrder" custom property), you could  
provide a simple lookup function which returns the first field with a  
matching custom property value. This could be extended of course  
depending on your needs.


function groupOrderToID pOrder
   repeat with i=1 to (number of fields)
  if (the groupOrder of field i is pOrder) then return the id of  
field i

   end repeat
end groupOrderToID

And then:

focus on field id (groupOrderToID(3))

HTH,
Brian

On 2/13/07 6:40 PM, "Mark Schonewille" <[EMAIL PROTECTED] 
talk.com>

wrote:


Hi Hershel,

Make a setprop handler that stores a flag in a custom property of
your stack or in a global variable. When you want to know which
objects have ther property set, just use the second custom property
or the global variable to read out the information.

Sorry didn't get it.
Thanks, Hershel

___
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: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Mark Wieder
Richard-

Tuesday, February 13, 2007, 9:32:07 AM, you wrote:

> U4 Group: An open alternative for multi-platform flash-drive deployment:
> 

! This one I didn't know about !

> MetaCard Group, for those wanting to dabble in the old IDE:
> 

But I was disappointed to find that this group is read-only.

-- 
-Mark Wieder
 [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: blend level question

2007-02-13 Thread sims

At 7:39 PM +0100 2/13/07, Klaus Major wrote:

I have a stack with a blend level set to 40, I'd like to be able
to place an image on top of that stack (or as a btn icon) and have
the blend level of that image be set to zero so it will display well.


Thank you to all who replied...I think I know how to proceed now.

I'm not able to mess about with the images that will be placed on
the stack as they will be advertising from companies and I'd rather
not open myself up to potential issues. Also, these images will change
every time a user activates this tool and must change on the fly.
Advertisers do not like to have their ad semi-transparent  ;-) so that
presented the problem...which I think is now solved   :-)   Thanks!

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


Re: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread J. Landman Gay

Mark Wieder wrote:




MetaCard Group, for those wanting to dabble in the old IDE:



But I was disappointed to find that this group is read-only.



Did you join? Members can post. That's pretty normal for Yahoo groups.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Richmond's Yahoo-Groups and related guff.

2007-02-13 Thread Richard Gaskin

Mark Wieder wrote:


MetaCard Group, for those wanting to dabble in the old IDE:



But I was disappointed to find that this group is read-only.


That group is largely a file repository, since the discussion about the 
MC IDE takes planes on the MetaCard discussion list:






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


HexEditor for OSX FYI

2007-02-13 Thread Joe Lewis Wilkins
Something you advanced developers may find useful, though you  
probably know about it already.




Joe Wilkins
___
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