Re: Copying a substack
Wehn you clone a stack (or in fact, any object), the stack's name is set to "Copy of "& the original stack's name and the id of the new stack is put into "it". So to clone substack Y of mainstack X, use this code: clone stack "y" set the mainstack of it to "x" set the name of it to "z" Not the most straightforward, but it works ;> Kingsley Jegan - Usability/Chennai iNautix Technologies India Pvt. Ltd. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Hello, I have a fld with column (tabstop) I want to print it with the retained format I must put the fld into a variable "myfulltx" because I must add other data to the text When I write : put the short date into today revShowPrintDialog false,true revPrintText myfulltx,today I lost the formatted column. So I think it's because the textfont is not correct (something like courier or monaco) How can I solve this , thanks. -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Decompression question
At 2:04 pm -0500 30/1/02, Tim wrote: >--Script in the ³Close² button of the modifiable stack that gets uploaded > >on mouseUp > get the platform > if it is "MacOS" then > put "PowerBookHD/Revolution Projects/someProject.rev" into tLocalFile > else > put "C:/Documents and Settings/Administrator/Desktop/someProject.rev" >into tLocalFile > end if > set the cursor to busy > save stack "someProject.rev" > put compress(tLocalFile) into URL >"ftp://username:[EMAIL PROTECTED]/www/somefolder/someProject.rev"; > close stack "someProject.rev" >end mouseUp > > >Now, everything worked fine until I tried it under OS X. Now when I open the >shell stack and it tries to download and decompress someProject.rev, I get >the following error message: > >Error description: decompress: string is not compressed data > I've just tried this, and it works here, uploading to an ftp server from Win XP, downloading from Mac OS X. But I think you may have some url reference problems in your script. In particular : put compress(tLocalFile) into URL ... tLocalFile just contains the file path, not the file data. These worked here: Upload script: on mouseUp put "ftp://username:password@blahblah/teststack.rev"; into tDestUrl answer file "" ##choose a stack file if it is not empty then put it into tSource put compress(url ("binfile:" & tSource)) into tData put tData into url tDestUrl put the result end if end mouseUp Download script: on mouseUp put "ftp://username:password@blahblah/teststack.rev"; into tUrl put decompress(url tDestUrl) into tStackData go stack tStackData end mouseUp BTW, compressing stacks is a neat idea. I do it for an education project where the compressed "lesson stacks" sit on the server. Typically 50K stacks compress to around 15K. (But I imagine it's less effective if your stacks are full of images and other less compressable data.) Cheers Dave Cragg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Decompression question
Sorry, there was a mistake in the download script I just posted. It should be: on mouseUp put "ftp://username:password@blahblah/teststack.rev"; into tUrl put decompress(url tUrl) into tStackData go stack tStackData end mouseUp tive if your stacks are full of images and other less compressable data.) Cheers Dave Cragg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Print preview
Hello, Is there a middle to see the preview of what you're going to print (to save some paper and ink !) Thanks. -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Decompression question
On 1/31/02 6:37 AM, "Dave Cragg" <[EMAIL PROTECTED]> wrote: > Sorry, there was a mistake in the download script I just posted. > > It should be: > > on mouseUp > put "ftp://username:password@blahblah/teststack.rev"; into tUrl > put decompress(url tUrl) into tStackData > go stack tStackData > end mouseUp > tive if your stacks are full of images and other less compressable data.) > > Cheers > Dave Cragg > ___ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution Well, I've tried it, but no go. If I use the above script I get a "value" error in the script editor. If I try: put decompress(url ("binfile:" & tUrl)) into tStackData I get the familiar message decompress: string is not compressed data. So, either way it doesn't work. Very confusing. Thanks, -- Tim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Difference in browse and Standalone Operational characteristics
Included below are the code fragments from a menu (*** MENUFRAG ***) and stack (*** StackFrag ***). In browse mode, the system throws the an error (*** Error ***) when the Client Properties item is selected from the View menu. After the stack is distributed no error occurs upon the selection. I'm absolutely certain that I am building the standalone with the same stack that I'm browsing and also that the standalone I am executing is the distributed version of the browsed stack. Probably just new user stuff but shouldn't the stack function the same way in both environments? Would someone venture a guess as to why this might be happening? *** Error Thrown *** There was an Execution Error at 8:38:22 AMError description: Handler: error in statementObject: stack "C:/__My_Documents/__RevSource/Mantissa_OPS/Safe6/Client.rev"go to card "ClientProperties" of stack "Client" as topLevel in this windowValue: doViewClientProperties Error description: Handler: error in statementgo to card "ClientProperties" of stack "Client" as topLevel in this windowLine: 170 Character: 1Value: doViewClientProperties *** MENUFRAG *** --The following menuPick handler was generated by the Menu Manager. on menuPick pWhich switch pWhich case "Client Console" doViewClientConsole break case "Client Properties" doViewClientProperties break end switch end menuPick *** StackFrag ***. on doViewClientProperties go to card "ClientProperties" of stack "Client" as topLevel in this window end doViewClientProperties
Re: Copying a substack
you should probably store the value of "it" into a temp variable, just incase the value of "it" changes during the course of your code (i assume that this will be very rarely, but better to err on the side of caution) local vTempVar clone stack "y" put it into vTempVar set the mainstack of vTempVar to "x" set the name of vTempVar to "z" > Not the most straightforward, but it works ;> i wish that this had been posted a few months ago when i was trying to figure it out ;-) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Pocket PC
I would pay for a seperate version (i.e. the Pocket PC version of Revolution) if that's what you have to do! Doesn't anyone else see the value in this capability? Think 'wireless' Pocket PC and maybe the light bulbs will go on... JR > Wouldn't it be great if we could program in TranScript for PalmOS and > PocketPC too? :-) We're looking at these, though Palm really has a very different OS so is most unlikely. However the other one wouldn't be so hard and might well happen if we get enough requests. Kind regards, Kevin
Re: use-revolution digest, Vol 1 #156 - 18 msgs
On Wednesday, January 30, 2002, at 11:47 PM, use-revolution- [EMAIL PROTECTED] wrote: >> Wouldn't it be great if we could program in TranScript for PalmOS and >> PocketPC too? :-) > > We're looking at these, though Palm really has a very different OS so is > most unlikely. However the other one wouldn't be so hard and might well > happen if we get enough requests. > > Kind regards, > > Kevin I have been asking about this for years now. So, you can count my request. Though it would be nice if Palm was in the picture. -Mark Talluto ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Screen resolution switching?
I'm a long suffering Director developer recently introduced to Revolution... I'm currently running into all kinds of screen res switching problems in Director, and I'm wondering if I can roll a little app in revolution to switch it for me - Does Revolution have any screen resolution properties that are set as well as get? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
MacCentral.com
Revolution is getting some internet time over at www.maccentral.com Take a look! -Mark Talluto ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Persistent data?
Hi, thanks for the response... > If your database needs are simple enough, you can use a stack as a > flat-file database (where each card is a record), using the find, sort, and > mark commands to handle selection, searching, and sorting tasks. I have a recollection that that was hard to do with early Hypercard, because such a stack would have its top record visible to the user. You seem to be implying that that is not the case in Revolution, that you can have a stack that is just used as a database and is not part of the UI? Does the find facility involve any kind of an index, or does it actually have to check every card in the stack to see if it meets criteria? > You can > also store data in external files and pull their information in as needed, > and store media such as images in external files that can be referenced > from within a stack. But is there an easy way to store such data in a file that allows keyed access, such as Python's shelf library allows? --Gary -- Gary Robinson President Transpose, LLC [EMAIL PROTECTED] 207-942-3463 http://www.transpose.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Screen resolution switching?
Hi Marcus, you here? ;-) I don´t know anything usefull about Revolution - I am a total Newbie but I wonder what kind of problems you encounter with Director. Are you talking about PC or Mac? The Director chat does not really belong here so if you like we can discuss that off-list, too. I am using buddy api and a few work-arounds to fit all my tasks (switching on start and end of my appz and even in between e.g. for opening other windows like browsers). When your tasks are for Macs I surrendered a few months ago with Director, too. But there have been some things in beta state which should be working now. greetinx, Olaf -- Olaf Schmidtmann brainbits online & cross media mailto:[EMAIL PROTECTED] / www.brainbits.net > -Original Message- > From: Marcus Bointon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 5:49 PM > To: Revolution > Subject: Screen resolution switching? > > > I'm a long suffering Director developer recently introduced > to Revolution... > > I'm currently running into all kinds of screen res switching > problems in > Director, and I'm wondering if I can roll a little app in > revolution to > switch it for me - Does Revolution have any screen resolution > properties > that are set as well as get? > > Marcus > -- > Marcus Bointon > Synchromedia Limited: Putting you in the picture > > [EMAIL PROTECTED] | http://www.synchromedia.co.uk > > ___ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
1.1.1b1 release notes?
Where can I find release notes for 1.1.1b1? The docs included with it don't list them (only 1.1) and they're not on the download page. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Persistent data?
At 11:48 AM -0500 1/31/02, Gary Robinson wrote: >I have a recollection that that was hard to do with early Hypercard, because >such a stack would have its top record visible to the user. You seem to be >implying that that is not the case in Revolution, that you can have a stack >that is just used as a database and is not part of the UI? Yes. >Does the find facility involve any kind of an index, or does it actually >have to check every card in the stack to see if it meets criteria? It's not indexed. Obviously it depends on the amount of data, but it's very fast, because it's RAM-based. >> You can >> also store data in external files and pull their information in as needed, >> and store media such as images in external files that can be referenced >> from within a stack. > >But is there an easy way to store such data in a file that allows keyed >access, such as Python's shelf library allows? Not sure what you mean, but I've used the filter command on data sets up to ten thousand rows with no problems. regards, Geoff ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Password Property for Substacks only
Regarding the password property: if you set this for a substack, is the entire stack file encrypted? Or, is only the data of the substack encrypted. I would like to save FTP log in data to a little "bookmarks" substack, but not allow users to have access to this data, but also, not encrypt the main stack if that is possible. (slows it down) Hinduism Today Sivakatirswami Editor's Assistant/Production Manager [EMAIL PROTECTED] www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Persistent data?
>>But is there an easy way to store such data in a file that allows keyed >>access, such as Python's shelf library allows? Hi Gary, If you want to see a HyperCard example I am redesigning in Revolution, download the OenoLog demo at http://www.oenolog.com/apple_demo.htm. "Your Winery" is an indexed database stack; the database handlers are in the stack script of "OenoLog Library". Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Pocket PC
Yes - please add me to the list of those who would pay for a Pocket PC version of Revolution ! - Gary Aitcheson > Wouldn't it be great if we could program in TranScript for PalmOS and> PocketPC too? :-)We're looking at these, though Palm really has a very different OS so ismost unlikely. However the other one wouldn't be so hard and might wellhappen if we get enough requests.Kind regards,Kevin
Socket buffer size
Anyone know of a way to set the socket receive buffer size for REV?
fractions in an option menu
Hi When I create an option menu with content containing a forward slash ( / ) to show a fraction as- 1/2 cup it comes out on the Menu Button as 1 cup (command key symbol) 2 As my creation concerns cooking the fractions matter ! Is there a workaround ? Quotation marks do not help and - 1|2 does not look right. Paul ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Downloading a MAC file
Greetings! In my application, I want to include a "Check for Updates Online..." option (much like that in Revolution). If I release a new version of my application, my users can get it easily. Here's the problem. If I post a file with a resource fork, like an application created by the "Distribution Builder", the resource fork is not going to be present anymore and the download will not function. So... Do I do some kind of compression first? If so, what would I use so that Revolution will be able to uncompress it? Looking forward to your thoughts... Dan Friedman ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Downloading a MAC file
on 31/1/2002 9:21 pm, Dan Friedman at [EMAIL PROTECTED] wrote: > In my application, I want to include a "Check for Updates Online..." option > (much like that in Revolution). If I release a new version of my > application, my users can get it easily. > > Here's the problem. If I post a file with a resource fork, like an > application created by the "Distribution Builder", the resource fork is not > going to be present anymore and the download will not function. So... > > Do I do some kind of compression first? If so, what would I use so that > Revolution will be able to uncompress it? If it's to be downloaded, then compression is a good idea anyway. Safest/easiest way is to do a custom version check within your Rev app that opens a direct http connection to your server where it can find if a new version is available (e.g. Download a text file that contains a string of the latest version number), then hand off downloading to their web browser (openURL/GetURL or whatever). For a Mac you should stuff and binhex/macbinary the file. All current web browsers will decode binhex and macbinary, so you could even make it a self extractor. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: fractions in an option menu
I haven't checked this, but I think if you use 2 slashes "//" Rev will interpret this as a slash instead of a command key. This definitely works with ampersands - one gives a shortcut, 2 produces a real ampersand. You need to check what the menuPick handler gives you. If your menuItem is "1//2 cup", displaying as "1/2 cup", I think the menuPick parameter might only be "12cup". Sarah > Hi > When I create an option menu with content containing > a forward slash ( / ) to show a fraction as- > 1/2 cup > it comes out on the Menu Button as > 1 cup (command key symbol) 2 > > As my creation concerns cooking the fractions matter ! > Is there a workaround ? > Quotation marks do not help and - 1|2 does not look right. > > Paul > > ___ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Running a Stack from the Web
Hello again... When you choose "Check for Updates Online", Revolution has a stack posted on their web site which they open by calling: go stack URL "http://www.runrev.com/revolution/revupdates.rev"; as modeless Would anyone know why it works for them, but when I post a stack, I get "stack is corrupted, check for ~ backup file"? I have tried using the Standalone Builder to make a stack... That didn't make a difference. Got any ideas? Thanks, Dan Friedman ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Running a Stack from the Web
> When you choose "Check for Updates Online", Revolution has a stack posted on > their web site which they open by calling: > > go stack URL "http://www.runrev.com/revolution/revupdates.rev"; as modeless > > Would anyone know why it works for them, but when I post a stack, I get > "stack is corrupted, check for ~ backup file"? I have tried using the > Standalone Builder to make a stack... That didn't make a difference. Got > any ideas? Are you sure you have sent the stack to your server using FTP in BINARY mode (not ASCII or autodetect)? Accidentally using ASCII mode is the most common technique to mess up computer data. I use it all the time ;-) Terry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Copying a substack
At 4:13 PM -0800 1/30/2002, Devin Asay wrote: >Sorry if this has come up before. How do you make a copy of a >substack within a stackfile? Both the clone and copy commands will >make a copy of a stack, but they are created as mainstacks. I want >to be able to copy a substack and have it remain subordinated the the >current mainstack. > >Alternatively, is there a way to change a mainstack into a substack? Yes: set the substack-to-be's mainStack property. For instance, if you have two main stacks called "Puffball" and "Hydrant", and you want to make "Hydrant" into a substack of "Puffball", use this: set the mainStack of stack "Hydrant" to "Puffball" -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Socket buffer size
i don't think you can set it per se, but you can always tell it to wait for a certain amount of chars (or a sequence of chars) on readDataFromSocket pSocketPointer read from socket pSocketPointer until 20 chars with message "gotData" end readDataFromSocket on gotData pSocketPointer, pSocketData -- do the processing of your socket here end gotData - Original Message - Anyone know of a way to set the socket receive buffer size for REV? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Pocket PC
I, too would pay for a seperate version for PocketPC or Palm. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: Thursday, January 31, 2002 10:15 AMTo: [EMAIL PROTECTED]Subject: Pocket PCI would pay for a seperate version (i.e. the Pocket PC version of Revolution) if that's what you have to do! Doesn't anyone else see the value in this capability? Think 'wireless' Pocket PC and maybe the light bulbs will go on...JR > Wouldn't it be great if we could program in TranScript for PalmOS and> PocketPC too? :-)We're looking at these, though Palm really has a very different OS so ismost unlikely. However the other one wouldn't be so hard and might wellhappen if we get enough requests.Kind regards,Kevin
Re: Pocket PC
Chipp Walters wrote: > I, too would pay for a seperate version for PocketPC or Palm. Yep. Even better if it were like an output module, with the ability to select PocketPC as the build type. -- Troy RPSystems www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Character sets and Windows
Does Revolution support international character sets (encoding) on Windows platform? I ask this because a field shows different language fonts without a problem on a Mac, but the same stack on Windows does not. TIA, -- Tim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Help needed with popup menu...
I am planing to program a popup menu (hierarchical if possible) which interacts with a locked field, or the clicked line of this field, or even an item of this clicked line. I have understood that I need at least an intermediary button with this menu property in order to simulate a popup field. How can I: - choose a font size for this popup menu? - choose a loc for the poping (or pre-select an item)? - get some result of the user choosen item (sub item) of this menu? -- Sylvain Bouju [EMAIL PROTECTED] -- ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help needed with popup menu...
>I am planing to program a popup menu (hierarchical if >possible) which interacts with a locked field, or the >clicked line of this field, or even an item of this >clicked line. > >I have understood that I need at least an intermediary >button with this menu property in order to simulate >a popup field. > >How can I: > >- choose a font size for this popup menu? >- choose a loc for the poping (or pre-select an item)? >- get some result of the user choosen item (sub item) >of this menu? > >-- >Sylvain Bouju >[EMAIL PROTECTED] >-- > font size : select your object with the pointer tool, choose the font size you want in the text menu pre-select an item : look at the menuhistory property in the transcript dictionary get some result of the user choosen item : get the selectectedtext of your object For a hierarchical menu : type the parent item then return and tab and type your submenu : it will appear as a submenu. cheers -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Hello, I'm here again with printing problem : 1) is it possible to get a preview of your print (to save some paper and ink) ? 2) I've a fld in column (tabstops). When I print the field, the columns are not retained on the printed page. I use the printext command because I have to add other text to that fld. can someone help me about this ? Thanks. -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution