Chip,
Thanks, does it work equally well in stand alones?
Joe Wilkins
On Apr 22, 2007, at 10:33 PM, Chipp Walters wrote:
Joe,
I use altArchive, one of my altPlugins, to save iterative copies of my
stacks. It saves the original stack as well as a copy of the stack
with a serialized suffix
Joe,
(It's Chipp with 2 p's)
First of all, you can't save data in a standalone. I assume you
already know this. You need to store your data in a stack or file
OUTSIDE the standalone.
If what you're after is the 'Save As..' dialog, read up on ask file.
There are two parts to Save As. The first
Poking about I came across the term 'directory' -
which is really useful!
How come it doesn't seem to be listed in the
documentation?
Try this one for starters:
on mouseUp
put the directory into fld LOOK AT THIS
end mouseUp
How many other undocumented terms are there?
sincerely, Richmond
Hi John,
I'm coming rather late to this party. But it does appear you're
missing something important here. I assume you're new to programming.
Here's how historically it's worked in the past. People have used
programs to write other programs, and in doing so, they create
functions and handlers
Richmond,
Poking about I came across the term 'directory' - which is really useful!
How come it doesn't seem to be listed in the documentation?
It's a synonym for defaultFolder, as is folder -- and indeed is documented
as such, at least in Beta 4.
Hi Richmond,
Directory is a synonym for folder (and defaultFolder).
Actually, Mac people are used to use 'folder' when Win people prefer
use the word 'directory':
answer folder...
answer directory...
So all may be satisfied:
Just choose your side ;-)
Le 23 avr. 07 à 08:51, Richmond
On Sun Apr 22, 2007, Jim Ault JimAultWins at yahoo.com wrote:
On 4/22/07 1:30 PM, Wilhelm Sanke sanke at hrz.uni-kassel.de wrote:
Addendum:
Even when I set the lockloc of the image to true after having it moved
to the loc of the group, once I change the imagedata of the image the
image
Wilhelm,
Did you try checking the vscroll and hscroll of the group before and
after setting the loc of the image? I seem to recall they might be
involved in getting this to work.
best, Chipp
___
use-revolution mailing list
Bill Marriot wrote:
It's a synonym for defaultFolder, as is folder --
and indeed is documented
as such, at least in Beta 4.
It is only documented in one direction! If I look up
folder - there it is.
If I look up directory I draw a blank . . .
I do not take sides re Windows or Macs - I work ,
Thanks for the info. I am just of the opinion that the file functions
in rev could possibly be more economical - it's as easy as that.
Chipp Walters wrote:
Hi John,
I'm coming rather late to this party. But it does appear you're
missing something important here. I assume you're new to
Hi,
Richmond is right, there is no entry for directory, only for
defaultFolder. The reason is that in most if not in all cases there
is no separate xml file for synonyms. Should be easy to solve by
duplicating entries that have synonyms and storing these duplicates
under the names of
Another variation;
repeat until the mouseClick or the keysDown is not empty
end repeat
Mike Hughes wrote:
I use the following 2 lines of code to pause a program until the user
clicks the mouse:
repeat until the mouseClick
end repeat
I would like to extend the functionality of this script
Hello
I have a set of image objects on my card. To theses images imagefiles are
dynamicly assigned, so that my whole image (what the user sees) can consist
of one ore more single images.
What I want to do is to set the clipboardData[image] or to export the
whole image as one single image.
On 23 Apr 2007, at 10:24, Tiemo Hollmann TB wrote:
group various images to one big image so that it would be one image
for clipboard data or export
You got it in one!
But bear in mind that Rev has problems with images that are bigger
than a certain dimension (I think it was 3000px height
Hello Ian,
I think I'm missing something. If I say
set the clipboardData[image] to group myGroup
I get source is not a container
You must have something else in mind?
Tiemo
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von Ian
On 23 Apr 2007, at 11:10, Tiemo Hollmann TB wrote:
Hello Ian,
I think I'm missing something. If I say
set the clipboardData[image] to group myGroup
I get source is not a container
You must have something else in mind?
Tiemo
You have to export the group to a variable first, as per Mark's post
Hello Ian,
hmmm
export group myGroup to myImage as PNG results in selected object is not
an image
export img myGroup to myImage as PNG results in no such object
I think I don't see the obvious one
Tiemo
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL
On 23 Apr 2007, at 11:44, Tiemo Hollmann TB wrote:
Hello Ian,
hmmm
export group myGroup to myImage as PNG results in selected
object is not
an image
export img myGroup to myImage as PNG results in no such object
I think I don't see the obvious one
Tiemo
Sorry, I left out the vital word!
Thanks Ian, that did the trick!
Tiemo
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von Ian Wood
Gesendet: Montag, 23. April 2007 12:56
An: How to use Revolution
Betreff: Re: Can I merge two or more imagefiles in one image
Richmond,
It is only documented in one direction! If I look up folder - there it is.
If I type directory in mine, it calls up the defaultFolder entry. Are you
using Beta 4? [If not, why not? :)]
___
use-revolution mailing list
Rev has the function md5digest; you could take the last digit of that; but
from a processing point of view it might be overkill.
I looked up check digit in Wikipedia. It seems one popular check digit is
UPC. From Wikipedia:
The final digit of a Universal Product Code is a check digit
make that
return the last char of (10 - ( x mod 10 ))
--
function upcCheck pValue
repeat with i = 1 to the length of pValue step 2
add char i of pValue to x
end repeat
multiply x by 3
repeat with i = 2 to the length of pValue step 2
add char i of pValue to x
end repeat
Bill,
return the last char of (10 - ( x mod 10 ))
You ripper. Looks good enough to go. Sometimes knowing the hard way can
make one unable to see the potential easy way. g Will give the function a
work out. Thanks!! :-)
Scott
___
Build 390
sincerely, Richmond Mathewson
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
Chipp, (sorry about the name. I said I'm having vision problems, smile)
Thanks, I was beginning to come to the same conclusion; which seems
to indicate that in order for any application to be able to Save
anything, it must create documents apart from itself that are then
used to load up
On Mon, 23 Apr 2007 09:55:25 +0100, John Craig wrote:
Thanks for the info. I am just of the opinion that the file
functions in rev could possibly be more economical - it's as easy as
that.
I agree, John... it would be great for Rev to have a file object that
had properties that could be
On Mon Apr 23, 2007, Glenn E. Fisher gefisher at mac.com wrote:
Any ideas for a third way to draw graphics on a grouped image?
Regards,
Wilhelm Sanke
http://www.sanke.org/MetaMedia
Wilhelm,
This is not a way to change a grouped image, but a way to modify
images used as icons of
Ubuntu 7.04 (Feisty Fawn) was released on 20th April (only 1 day late).
However, the PS2 mouse on one of my machines no longer works in Feisty,
in spite of the fact that several bug reports were made to Ubuntu in
this respect while this latest version was still in alpha.
In view of the fact
G'day,
In some other programming languages it's possible to use conditional defines
to conditionally run parts of your code. This is particuarly useful when
done in combination with version or build numbers. I can't seem to find
similar methods in Rev. That is to say I can't find
Ken,
I did create a dialog in my project that asks the user if he/she
wants to save. I have Save as a file command and Save as a dialog I
created the user quits.
Charles Szasz
[EMAIL PROTECTED]
___
use-revolution mailing list
Bob Warren wrote:
For
your observation (and perhaps even your amusement) you might like to
observe the progress (or lack thereof) of this bug report and Ubuntu's
reaction to being criticized instead of praised:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/108382
This
Thanks for the info. I am just of the opinion that the file
functions in rev could possibly be more economical - it's as easy as
that.
By Economical, do you mean a command for every variation? The problem
with that is that the more definitions that are in the message path,
the slower Rev
So I did the scripting like below.
But I wish there was a fontHeight property in Revolution... :-(
-- find size ratio...
-- field fontRatio is a table like this:
Arial, 1.14583
Comic Sans MS, 1.39583
Courier New, 1.13542
Geneva, 1.3
Gill Sans, 1.14583
Helvetica, 1.19792
Palatino, 1.32292
build 390
set the moveSpeed to zero
and watch everything go to bits!
sincerely, Richmond Mathewson
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
On 4/23/07 12:55 AM, Wilhelm Sanke [EMAIL PROTECTED] wrote:
Thanks for the response, Jim, but could it be that you missed the first
part of my problem report preceding the addendum?
If the image in question is smaller than the rect of its group there is
no way to place it at the center of
Ho, Ho . . .
Has just arrived, and Richmond is feeling fairly
snotty so will test out his previous 'grumps' on it.
Come on y'all and push this one to its limits:-
Unless, of course, you want to be the type who moans
and groans after the fact - all it takes for bad
software to triumph is for
build 400 - Beta 5
set the moveSpeed to zero
and watch everything go to bits!
Tut, tut!
sincerely, Richmond Mathewson
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
'directories' takes me to 'folders'
'directory' lists 5 headings which (as a naive
greenhorn) I don't logically connect with 'directory'
the cursor lags behind the letters in the search field
of the help stack
(Mac OS X)
sincerely, Richmond
Wilhelm Sanke wrote:
Any ideas how to tackle the second imagegroup problem I reported in my
first post in this thread, namely how to draw graphics on a grouped image?
BZ request#623: Tool mode for groups:
http://quality.runrev.com/qacenter/show_bug.cgi?id=623
--
Richard Gaskin
Fourth World
Scott,
Don't know if this helps at all, but here's how I calculate checksum's
for files:
function getChecksum pFilePath
if there is not a file pFilePath then return
return URLencode(md5digest(URL (binfile: pFilePath)))
end getChecksum
___
I know it's in the My Documents/Revolution Enterprise folder on the
PC. But nowhere can I find out where to put them on the Mac...
Tried:
Macintosh HD:Users:chippwalters:Documents:Revolution Enterprise:Plugins
and
Macintosh HD:Users:chippwalters:Library:Preferences:Runtime
Chipp,
~/documents/My Revolution Enterprise/Plugins/
~/documents/My Revolution Studio/Plugins/
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
Thanks Mark,
Just wondering, is it documented anywhere? I couldn't find it.
best, Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Hi Chipp,
As far as I know, it is officially unsupported. I wonder why... It is
very useful to have all third-party plugins and externals for all
versions in one place.
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your
I seem to remember someone making a stack which auto-created these
directories...as they aren't created by Rev. Seems Mark Weider was
involved, though I don't know for sure. I know Galaxy auto-creates
them for you when it's first installed.
___
Hi, Stephen. I'm very comfortable with rev. It became my 'weapon of
choice' very quickly once I discovered it.
economic: using the minimum of time or resources necessary for effectiveness
One example is needing the size of a file in a folder of thousands.
Creating the output generated by
John,
I hate to keep the thread going, but what was the objection to using a shell
call? You can easily get a directory listing with filters and even hide the
shell window ... might be faster than the other approaches if you're talking
about a huge list of the detailed files. And, instead of
John Craig wrote:
One example is needing the size of a file in a folder of thousands.
Creating the output generated by 'the files' is not economical in this case.
Test:
Make a stack with one button containing the script below, and one field
named r. I set the tabstops of the field to 300,
No objections - I was simply looking for a possible native rev answer.
Every day's a school day and - sometimes - if you don't ask, you don't
find out!
Bill Marriott wrote:
John,
I hate to keep the thread going, but what was the objection to using a
shell call? You can easily get a
Turns out my test wasn't all that useful, since the OS has a bit of a
bottleneck grabbing the info from 12,000+ files in a single directory.
Running the same test on a folder that has only a few hundred files
gives a per-file speed more on par with what we might expect:
# File: 329 Total:
Ken, I'll just buy a brand new set of typing gloves :-)
Ken Ray wrote:
On Mon, 23 Apr 2007 09:55:25 +0100, John Craig wrote:
Thanks for the info. I am just of the opinion that the file
functions in rev could possibly be more economical - it's as easy as
that.
I agree, John...
For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb
RAM) which is not running any services.
Time taken to get 'the detailed files';
26888 millisecs = 26.888 seconds
Size of output generated by rev for 'the detailed files';
2543957 bytes = 2.5Mb
On a busy server, the results
And how long does it take for you to shell out a dir for the particular file
you're interested in?
John Craig [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb RAM)
which is not running any services.
Time taken to
Shelling out to grab a single file took around 250 millisecs - although
if multi file sizes are required, you can tack them all into the one
command line and send that to the shell - it still takes about the same
time.
JC
Bill Marriott wrote:
And how long does it take for you to shell out a
John Craig wrote:
Richard Gaskin wrote:
Turns out my test wasn't all that useful, since the OS has a
bit of a bottleneck grabbing the info from 12,000+ files in
a single directory.
Running the same test on a folder that has only a few hundred files
gives a per-file speed more on par with
Hi all, This was a post a while ago and I'm trying to figure this out
can some one brake this down for me pleease?
Thanks, Hershel
Jan-
I'd probably opt for something even simpler - this will show a slide
for five seconds, then move on to the next. No programming needed:
html
head
META
I have never seen 34000 files in one directory before, so I am not sure what
to think. It might be more practical to look at a log file that the system
creates when it modifies files. This might give you a short list
immediately.
Do the files change once they are created?
It seems like 34000
I agree, Jim - I certainly wouldn't have that many files in a single
directory - they aren't mine and I don't create them.
Jim Ault wrote:
I have never seen 34000 files in one directory before, so I am not sure what
to think. It might be more practical to look at a log file that the system
The META tag has a refresh parameter which automatically switches to
slide2.html after 5 seconds.
Hi all, This was a post a while ago and I'm trying to figure this out
META HTTP-EQUIV=Refresh CONTENT=5;URL=MySlideShow/slide2.html
___
On 4/23/07 8:31 PM, Bill Marriott [EMAIL PROTECTED] wrote:
The META tag has a refresh parameter which automatically switches to
slide2.html after 5 seconds.
Thanks, that¹s my question, what is the file slide2.html?
Or, folder mySlideShow which contains e.g. 5 .jpg files, for the slide
show what
google for
META HTTP-EQUIV=Refresh CONTENT=
and there are several examples, etc.
Jim Ault
Las Vegas
On 4/23/07 4:48 PM, Hershel Fisch [EMAIL PROTECTED] wrote:
Hi all, This was a post a while ago and I'm trying to figure this out
can some one brake this down for me pleease?
Thanks,
The html file is a wrapper for the image file. In this technique, each JPG
has an associated HTML file.
If you have five JPGs,
picture1.jpg
picture2.jpg
picture3.jpg
picture4.jpg
picture5.jpg
then you would create five HTML files...
index.html
slide2.html
slide3.html
slide4.html
slide5.html
On 4/23/07 10:05 PM, Bill Marriott [EMAIL PROTECTED] wrote:
Thanks, got it.
Hershel
The html file is a wrapper for the image file. In this technique, each JPG
has an associated HTML file.
If you have five JPGs,
picture1.jpg
picture2.jpg
picture3.jpg
picture4.jpg
picture5.jpg
then
Chipp-
Monday, April 23, 2007, 2:25:03 PM, you wrote:
I seem to remember someone making a stack which auto-created these
directories...as they aren't created by Rev. Seems Mark Weider was
involved, though I don't know for sure. I know Galaxy auto-creates
them for you when it's first
I have a shutdownrequest handler for a Mac System 10 application that
gives the user opportunity to save a field's contents before
quitting. I realized that the field disappears before it can be saved
so I put the following script in the menubar to capture the contents
into a variable that
On 4/23/07 6:39 PM, Hershel Fisch [EMAIL PROTECTED] wrote:
On 4/23/07 8:31 PM, Bill Marriott [EMAIL PROTECTED] wrote:
The META tag has a refresh parameter which automatically switches to
slide2.html after 5 seconds.
Thanks, that¹s my question, what is the file slide2.html?
Or, folder
Hi Chipp,
Don't know if this helps at all, but here's how I calculate checksum's for
files:
function getChecksum pFilePath
if there is not a file pFilePath then return
return URLencode(md5digest(URL (binfile: pFilePath)))
end getChecksum
Actually it certainly is. One of the things I
67 matches
Mail list logo