Will Revolution ever support multiple undo/redo?
This seems like a pretty basic thing to have for a mature product. I
cannot imagine why it is missing, even in the script editor.
I think this has gone beyond the point where it is that would be
something nice to have. Lacking multiple undo/redo
if this button had all the scripts for your application. This is a
problem.
-Ben
Fisher wrote:
Will Revolution ever support multiple undo/redo?
Are you wanting this just for the Script Editor, or are you looking for
an API to implement multiple-Undo in your own apps?
--
Richard Gaskin Managing
Is there a convenient way to loop over all controls in a card or group?
I could keep a list of IDs, adding and deleting as necessary, but this
isn't so simple.
In the past I have used:
repeat with x = 1 to the number of btns in this cd
if there is a btn x then
--Do something with this btn
end
As far as the form designer goes: I understand that this is not
trivial. I assume that your point is that anything done from, say the
message box, would be hard to keep track of and undo. True.
It would be reasonable if basic IDE actions could be undone. Other
form designers can accomplish this.
Thanks.
This works,
repeat with x=1 to the number of controls in this cd
put word 1 of the name of control x into controltype
if controltype is button then
...
else if controltype is field then
...
end if
end repeat
look in the dictionary for controls
Jim Ault
Las Vegas
it run faster. Externals are
typically written in C or C++, and these languages have none of the
user-friendliness of Transcript. The syntax is nearly 100% different than
Transcript and the code must be compiled.
-Ben Fisher
___
use-revolution mailing list
source. I know websites like this
already exist, but it would be so much cooler if there were one
authoritative Rev Source.
-Ben Fisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe
I've started using players, a type of control I don't use normally.
However, there's one problem that is driving me nuts. It is easily
reproduced.
1) Create a new stack.
2) Create a player object in the middle of the screen.
3) Create a button just a little above the player.
4) Choose the select
I just wrote a cool library for working with arrays and matrices. Even
if you don't use arrays too often, I encourage you to check it out.
It has useful functions like Push, and its split and join functions
don't mess with your strings the way the built-in functions do. I also
wrote functions for
Hi Revolution community,
I was wondering if there would be any interest for a new utility I'm
writing in Revolution.
It would include a variable watcher (that can view arrays), property
watcher, much-improved message box, perform operations on files/folders,
script editor, command-line prompt,
Here's something funny and not too important:
The rev docs say that the beepDuration, beepLoudness, and beepPitch
properties only work on Linux. However, they work perfectly on my WinXP
laptop. And you can even put in little songs, remeniscent of the Hypercard
play command days.
be possible.)
-Ben Fisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
I'm wondering what is the most efficient way to resize a large image.
I'm trying to create a zoom-in effect by displaying a 600x800 image and
then slowly increasing the dimensions of the image (while still keeping the
image centered on the screen). Ideally this would be smooth and non-cpu
Subtracting 0 from a number makes it bigger? I guess so in Revolution.
set the numberformat to 0.###
answer 0.91
answer 0.91 - 0
This is documented in the docs under numberFormat, but is causing me problems
with some sensitive calculations. I guess you'd run against the same
I have just started playing around with fields that have table behavior. I
was planning on writing a little spreadsheet program. However, it appears that
the closeField message is not sent to the field when its behavior is like a
Table.
This can be demonstrated: create a new Table from the
If one is interested in cursor effects, check out my Cursor Effects stack on
RevOnline.
User Name:BenJam
Stack: Cursor Effects
It works by setting the loc of an image to the mouseloc every time the mouse
moves. There is no flicker because the real cursor is set to none. It would be
easy to
My Image Processor Stack features Brightness and Contrast.
It's on RevOnline
User Name: BenJam
Stack: Basic Image Processor.
If you aren't impressed, a newer version of this stack will be online later
this week with convolution and other goodies. I'm almost done with an external
for doing this
I posted a couple of cursor effects to my RevOnline user space. If you want to
know how to make your cursor rotate, check it out!
User Name: BenJam
Stack: Cursor Effects
On my Windows machine, my fake cursor blends right in with the Windows cursor.
Hopefully this will still look ok on other
As far as Windows goes, there do exist shutdown programs that can be shelled to
put the computer in Standby, which is like sleep. However, different versions
of Windows have different ways of shutting down. Unfortunately, this is most
difficult in Windows XP.
Check out
I have recently been plagued by a number of disturbing problems in Revolution.
Suddenly, I have been getting all sorts of weird errors. I have been cursed.
This started spontaneously this morning, and isn't stopping. These are some of
the problems:
The Error box pops up at random times, but it
Hi Mark,
I too am interested in MIDI, as I have an old Casio Midi keyboard that I use
occasionally. It would be really cool to see how MIDIs work and write an
editor. For the past couple of years I've been playing around with the idea but
never found the time.
In older versions of Rev, there
Here's how to change the page file size on WinXP:
Open up Control Panel, open System
Click the Advanced tab. (I always mess with these settings :)
Click on Settings under Performance
Click the Advanced tab (Wow, advanced settings of the advanced settings...)
Click Change under Virtual Memory
I know that the combine command will yield a list that is not in
any particular order. However, I always thought the split command
would split out the keys in the order of the original list.
I too was disappointed by the split and commands. One project involves turning
arrays into lists back
What algorithm is RR using for searching? I find that I have to keep
writing Boyer-Moore-Sunday search algorithms for most of the
devlopment tools I use.
Whatever algorithm RR uses to search the docs, it doesn't work. When I try to
Search for: something, I get a spinning beach ball for a while,
Debugging front scripts that contain events like (mouseMove, mouseUp,
mouseDown...), is impossible in Rev. Rev's script editor changes size
erratically and buttons on the editor move to unknown places. So I
switched to my trusty copy of MC to work on them. Dawg gone of MC did
not give it
There is a way to zip files or even folders without an external. I did this by
shelling another zipping utility. To be even more sly about it, the zipping
executable is embedded in the stack in a custom property.
It's on RevOnline.
User Name: Benjam
Program: Windows ZipFolder
This program
I think someone was wondering how to do Contrast and Brightness effects on
images... Anyways I made a little stack to do this and other effects. It's
actually pretty fast without using any externals. Please check it out and give
me some feedback.
User Name: Benjam
Program: Basic Image
Thanks Phil and Mark.
It seems like Rev is really lacking documentation about its array and matrix
capabilities. I like the idea of having flexible arrays, I.e. myArray[key].
Is there a page in the docs that specifically outlines what array features
there are? (Whenever I try to search for
I'm using fairly large arrays. These need to be stored as a file on the hard
drive or in some other manner. The trick is that they have to be quickly
retrieved.
The way I'm handling this now is to write all the elements of the array into
return-delimited data, compressing this data, and then
You'll need to separate that into two different lines.
Try putting a return after myLocation.
If you're still having problems, I've found that sometimes if you write all the
shell data to a temporary .bat file it will work better. That way also you can
debug by examining the .bat to make sure
Here's something I would use:
(put in the script of the image)
on mouseUp
put the mousecolor into mcolor
put numtochar(0) numtochar(item 1 of mcolor) into hexcolor
put numtochar(item 2 of mcolor) numtochar(item 3 of mcolor) after hexcolor
put numtochar(255)numtochar(255)
Hi Derek,
This page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/conpanel.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/conpanel.asp
should answer your
Oops,
The script worked for everything I tried. I guess in theory it might possibly
erase unintended colors, although the odds of this are slim.
In imagedata the colors are handled as a set of four, with the first entry
always being zero.
My solution might, trying to delete the color 0,12,12,
That's too bad that you can't build for classic on Windows. I use a PC and all
the computers at my school are mac classics. Using Dreamcard player won't work
for me.
Martin, that's a good idea. Could someone please look into this? Or maybe an
enhancement in Bugzilla?
-Ben
I wonder if it
Hi Bob,
There's a quick way to do this. Using the select tool, right-click on the image
and choose Launch Editor. Now you can find the Photoshop application and
click ok. From then on, you can use Photoshop to edit all of your images. When
you're done editing, just save and close and
Hi Thomas,
If I understand you correctly, you're trying to make a background with a
pattern that can scroll.
I'm not really sure exactly what you're trying to do but here's a simple way to
add a pattern to an object.
1) Use the rect tool to draw a rectangle graphic.
2) Open up the properties
I'm using Rev 2.5 on Windows XP. When I open up the Standalone Application
Settings, the Mac OS icon is grayed out. I'd like to be able to save as a Mac
classic standalone. Is this still possible? I'd rather not have to use
Dreamcard Player.
I am a Studio user. Doesn't this mean I can save
Are most of you using it for educational software, or to help with
projects at a large company, or for independent programming for small
businesses?
Just curious,
Jonathan
I learned Hypercard when I was in 3rd grade. I made all sorts of animations,
I.e. Copy Card, Paste Card, move the
Thanks for the response, everyone. I'll get started with the externals kit as
soon as possible.
Unfortunately, as far as porting existing dlls into rev use is a little beyond
me at the moment. I learned C++ on a mac system don't really know how to
reference a dll. I'm not actually as
Hi Revolutionaries,
I'm planning on making a kit/instructions on how to create externals for rev
(in c++). I would include a detailed pdf on C++ and have examples of common
tasks for externals. This would all use a free compiler such as Dev-C++.
Would anyone be interested in paying a modest
Any clue on how to proceed from here? Meanwhile back to search for some
location on the internet where and old copy of StuffItExpander is still
available.
Hi Sannyasin,
I know exactly what you mean. It's hard to find classic software these days.
Also I suspect that e-mailing will not work
I just submitted the bug to Bugzilla (first time I've used Bugzilla)
If this is as annoying to you as it is to me, please help by voting on this bug
(#2560)
I've found a couple workarounds. It seems like if you change other things in
the properties box (blend, etc.) and then change the name,
Recently I have come across a disturbing error while creating a game in Rev. I
have imported a few graphics as controls (not referenced). The weird part is
that when I change the name of the graphic and close the properties box, the
image *disappears*. The control still exists, but all of its
I need Icon help!
I have a program IconCool Editor 4.0 but the icons are not compatible with
Rev programs. What icon Editor do I need?
This is my last step of making my first Rev program.
Paul,
I've come across this problem in making windows icons too. In earlier versions
of Rev, only
Finally have found a good icon editor for win xp.
Frontbase Image to Icon. http://www.make-icon.com/http://www.make-icon.com/
It will support and automatically create these formats.
16 Color 16x16
16 color 32x32
16 color 48x48
256 color 16x16
256 color 32x32
256 color 48x48
Windows XP (32-bit
I need to insert text information in a jpg graphics then when the
computer loads the pics, I want the information extracted and used in
the program. Any one know anything about this?
Paul,
You know how ID3 tags can reside in an mp3 file and store info about title and
artist?
There are
Matt,
You could try shelling a DOS program for burning cds.
http://www.goldenhawk.com/freeware.htmhttp://www.goldenhawk.com/freewarehtm
looks interesting, should have a finalize and other features.
There's a huge list of dos tools at
Hi Richard,
Check and see if you can get a version of MusicMatch. Even though it appears
they are abandoning their mac versions, it still would be worth it to get a
copy, and they should have something for classic. From what I hear it is the
only free ripping program for classic.
I have
Jim, have you tried rounding the number? I know it shouldn't make a
difference but maybe it's a problem with using floating points.
Jim
on mouseUP
set the loc of grc ball to 100, 100
put .1 into dx
put .1 into dy
put the loc of grc ball into tBallLoc
repeat 5000
add dx to
hi i want a premade website for free
Cory, here's a site with webpage templates for free.
http://freesitetemplates.com/templates/browse/frames/
http://www.free-webhosts.com/free-website-templates.php
Then you could upload that onto a free web hosting service, which will put your
site online
Hi Folks... I'm looking for an object that is circular and has the 24 hours
of the day divided up into quarter hour segments where each segment is an
object that can be clicked. Has anyone created one of these? Jim
Jim,
It wouldn't be that hard to do using some trigonometry :) But there's an
How can I convert a graphic to an image?
Bill,
You can just take a snapshot of the screen. When you have the graphic looking
the way you want it, it cmd-shift-F3 (mac) or alt-printscreen (pc) to take a
screen snapshot. Then use a graphics program to save this as a png, adding
transparency if
http://www.angeltowns4.com/members/ben/RevCompressXP.zip
Here's my program to zip/ unzip folders in Windows XP, and probably other
versions of windows. All of the files in the package are necessary.
Of course, this is a really messy way to do it, but it works.
Because the command-line
I'm a pretty experienced Revolution user, but I'm new to externals in the form
of dlls. I'd like to create these, but I only have the Borland C++ compiler
which I hear doesn't work for externals. Could someone please come up with a
list of the languages or compilers that are compatible?
What is the perpendicular distance between a point and a line?
Application for which there is no redeeming social value:
Thanks for sharing that code, James. I'm taking calculus right now and that
type of thing might come in handy. Also thanks for not using repeat until the
mouse is up. I
Hi Ton,
I've actually just started a program that would do just that. It uses a DOS
command-line utility(http://www.7-zip.org/http://www.7-zip.org/) to zip the
files, (I guess this won't work on PC, unless you can find a OSX shell
program?). When I'm done - like next week - I'll let you know
Thanks,
-Ben
Yup. See the files function in the dictionary,
particularly the
detailed files option. That gives this info.
and the convert function that is able
to show the seconds of the creation
and modification time in a specific date:
___
Hi,
I was wondering if there is some way to draw pixels directly onto the screen
without having to create an object.
My program (it's for a math class) creates a list of pixels to be drawn on the
screen. Right now it clicks using the pencil tool and is *very* sluggish.
Probably creating
Hello Revolution Wizards,
I was wondering if there's some way to retrieve the Created or Modified
dates from a file. I'm using Windows XP. I have a feeling this data isn't
stored in the file itself, but then where could it be?
-Ben
___
use-revolution
Okay, but wouldn't that bring up a dialog box for the user of my stack?
I would like Card A to gradient wipe to Card B without asking the
user. I'm still not getting it.
Mark G.
You don't have to put the answer effect in your script that runs every time.
Just put it in the message box,
60 matches
Mail list logo