Re: Using URL to work with files
Hi Greg, > Hi Everyone, > > I discovered the URL method of file manipulation (yes, I'm a little > slow). If I put a file into a container as in > > put URL ("file:" & tPath) into tVariable > > do I need to close the file in a subsequent statement? no :-) Regards Klaus Major <[EMAIL PROTECTED]> MetaScape GmbH Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
CGI nightmares
I have been wrestling with the POST command for some time now with little success. Here is what I want to do. I want to have a MetaCard/Revolution program sent a POST to a URL containing field data. The URL is a CGI that should receive the data and email it back to me. Is this so hard to do? I'm having a hard time not saying bad words over my lack of success. *&%%$**!!! Any kind suggestions would be appreciated. Raymond Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
recording sound
>From: [EMAIL PROTECTED] >Subject: re: Sound recording? >Date: Fri, 1 Jun 2001 00:42:11 -0400 >MIME-Version: 1.0 >Content-Type: text/plain >Content-Transfer-Encoding: 7bit > >>I have seen a couple of posts that mention recording sounds in MC 2.4 >>beta, but on the MC FTP site though only parts of the 2.4 beta seem >>available. > >>I assume I cannot use these with the 2.3x environment because when I >>try MC complains about the format of the command. > >>eg., I try "record sound x" and get errors about missing "(", bad >>form, missing ",", bad parameters etc etc. > >>So, where can the 2.4 development environment be downloaded from? >ftp://www.metacard.com/MetaCard/2.4 I downloaded it (again), and on the PC side I get mc.exe, mctools.mc and a readme file, and everything sort of seems right, but on the mac side I just get the engines (I presume) MetaCardcarbon, MetaCard PPC, and the mstools.mc and readme file. Is the development environment for Mac side omitted by accident or design? I'm really wanting to have a play with the Mac side this weekend if I can. > >I've also seen references to a recordsound.mc stack written by Tuviah >>- is this open source? >Actually it's just simple demo stacks, which I posted so people can see >the syntax to various new features in the 2.4 release, and most >importantly report any bugs that they find to MetaCard Corp so they can >be fixed while in beta. I'll probably trash it after 2.4 goes to final >release..or move it somewhere else (AOL FTP space is limited). > >ftp://members.aol.com/tuvsnyder/mcdemos/ > >Tuviah At first I couldn't get the stack to work. I was a bit lost until I tried "record sound x" in the message box and got back a "Quicktime couldn't initialise" or similar error, which tells me I have to install quick time for Windows first :-) I'll do that this weekend, and if I'm lucky enough to get the Mac side working, I'm sure I'll have fun this weekend :-). Thanks for your help (and the stack), Mark -- MCS, PO Box 259, Dunedin, New Zealand Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Re: attachment in email
I thought I send this message but it didn't show on the list. The problem is not in the script you posted. Try this: replace " write data to socket socketY" with if the length of data <=4096 then write data to socket socketY else put char 1 to 4096 of data into tChunk delete char 1 to 4096 in data write tChunk to socket socketY with message "nextChunk" end if repeat while tWrite is empty #declare tWrite wait for messages end repeat __ and add this handler: _ on nextChunk if length(data)>4096 then put char 1 to 4096 of data into tChunk delete char 1 to 4096 in data write tChunk to socket socketY with message "nextChunk" else put data into tChunk write tChunk to socket socketY put "true" into tWrite end if end nextChunk __ Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Using URL to work with files
Hi Everyone, I discovered the URL method of file manipulation (yes, I'm a little slow). If I put a file into a container as in put URL ("file:" & tPath) into tVariable do I need to close the file in a subsequent statement? Regards, Greg Gregory Lypny Associate Professor John Molson School of Business Concordia University _ "We live in a political world, Under the microscope, You can travel anywhere, Hang yourself there, You've always got more than enough rope." - Bob Dylan Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Just a test
Of whether or not I have actually been resubscribed to this list. Somehow I have gotten bounced off and I want back on. I really enjoy the list. I want it back. Raymond Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Re: chat
[EMAIL PROTECTED] : > Anyone have a functional stack that allows two people to chat > back and forth? > Here we go. The little chat stack has been re-shaped by one of our students / trainees. The stack (and its tutorial) can be downloaded at : http://www.netchampagne.com/MetaCard/Direct_Chat.zip http://www.netchampagne.com/MetaCard/direct_chat.mc http://www.netchampagne.com/MetaCard/Tutorial.txt http://www.netchampagne.com/MetaCard/Direct_Chat.zip It will stay there until the end of the week. For use on Mac, you have to set the right file type & creator first. Comments & questions welcome. JB Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
sockets - sending email attachments
Title: sockets - sending email attachments I have merged two sockets email scripts I after looking through the archives. I can get Andu's file attachment scripting to work fine except for attachments over 250k (approx) in size. Smaller attachments are sent just fine. I'm posting the header & attachment part of the script below hoping that someone can provide a clue (better yet a fix!) so it will send larger file attachments. Regards, sims # construct email header put "" into mailraw put "From: "& fld "yourname" & crlf after mailraw put "Date: "& mimedate() & crlf after mailraw put "MIME-Version: 1.0"& crlf after mailraw put "Content-Type: multipart/mixed;" & cr after mailraw put "_||-" & "2537" & random(1000) & "-||_" into tSpace ##attachment delimiter## put " boundary="& quote & tSpace & quote & cr after mailraw put "message-Id: <"& the seconds &"-"& the ticks &"@simcor>" & crlf after mailraw put "To: " & word 1 of line i of fld "addressName" & crlf after mailraw put "Subject: "& fld "subjectName" & crlf after mailraw put "--"& tSpace & cr after mailraw put "Content-Type: text/plain; charset=us-ascii"& crlf after mailraw put crlf & tBodyText & cr & cr & crlf after mailraw if fld "attachments" is empty then else put "--"& tSpace & cr after mailraw put "Content-Type: application/octet-stream; name="& quote & line 1 of\ fld "attachments" & cr after mailraw put "Content-Transfer-Encoding: base64" & cr after mailraw put "Content-Disposition: attachment; filename=" & quote & line 1 of \ fld "attachments" & quote & cr & cr after mailraw put line 1 of fld "attachments" into tAttach put line 1 of the u_Attach of this stack into tAttach put base64Encode(url tAttach) & cr & cr after mailraw end if
Re: Scripting menuPicks for hierarchical menus
John Kiltinen wrote/ schreef: > MetaCard is great, but boy, it would sure be better if it had better > documentation. Agreed wholeheartedly. Also a complete tutorial for absolute beginners would be good. I hope this will become available with Revolution. > John Kiltinen Regards, Sjoerd Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.