Hey-ya List
Thanks for the great response to my request! I've been hard at work to
tidy up a few things, ended up adding more features and found a few
niggly bugs that I'm just sorting out now.
I had promised a Mac version tonight my time, but looks like tomorrow
night. Sorry for not
I have some text which isn't very wide so I want to flow it from one
field to another (and others in a chain) but I don't see how to do it
in Revolution. It needs to be one contiguous flow so that users can
insert information anywhere and the text will automatically reflow.
As simple example
Hi Ken,
Thanks for the Script.. I can't get it to work though. maybe I am
implementing it incorrectly. I am working on a Mac with OS X and 9.2 for
Classic mode. I have also tested on a Win 98 PC. The script accurately
selects the folder path and assembles the Apple Script but nothing happens
--- Bill Vlahos [EMAIL PROTECTED] wrote:
I have some text which isn't very wide so I want to
flow it from one
field to another (and others in a chain) but I don't
see how to do it
in Revolution. It needs to be one contiguous flow so
that users can
insert information anywhere and the text
Mike,
I think you might need to add a colon to the path name in the open folder
part of the applescript:
open folder quote pPath : quote cr
Try that and let me know,
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
- Original Message
Hi Ken,
Still no luck. I tried it on Mac OS 9.2, OSX and Win 98... no luck on all
fronts. I also tried minimizing the script for each specific OS to avoid
mistakes but still no luck.
On Mac OS 9.2 the script does bring the Finder to the front but then nothing
else happens. I created a test
Mike,
Try putting the script into Apple's Script editor (sans all the Transcript
stuff) and see if it works from there:
-- Suppose your hard disk is named Macintosh HD
tell application Finder
activate
open folder Macintosh HD
end tell
If this doesn't work, let me know...
Ken Ray
Sons of
Recently, Mike Brown wrote:
Well... I can now open folders from a Rev App on the Mac OS thanks to Ken
Ray.
I thought I had a method for Windows using this method:
get shell(start MyFolderPath)
This works great from a Rev file but not from a Standalone (.exe). For some
reason when
Hi all!
I've been trying to emulate the Quickeys Type Text function - i.e. to
be able to click on a button and have the text that has been stored as a
custom property inserted at that place in a field where the text
insertion iBeam is located. The only problem with this is that I can't
seem
Hi Scott,
I'm using an absolute path to locate the folder (I use the filename function
to get it). That part works great. I test it by running the script through
a fld in the stack that displays the path. I can then copy that same path
and execute it from the Windows Run window or from an OS
Alan Gayne wrote:
Hi all!
I've been trying to emulate the Quickeys Type Text function - i.e. to
be able to click on a button and have the text that has been stored as a
custom property inserted at that place in a field where the text
insertion iBeam is located. The only problem with this
How can I set a immage (Jpeg or Ping) so that it won't scale, but
instead, my graphic object only shows that porton that would fit into
it's normal size. Also, I nead to be able to move the immage relative
to the object
i.e. a 100x100 pixel object as a window onto a 640x480 immage
Josh
Like I said - simple
MANY thanks for the point in the right direction
Regards,
Alan
On Wednesday, October 23, 2002, at 07:39 PM, Richard Gaskin wrote:
Alan Gayne wrote:
Hi all!
I've been trying to emulate the Quickeys Type Text function - i.e. to
be able to click on a button and have the
On 10/23/02 6:46 PM, Dan Shafer [EMAIL PROTECTED] wrote:
Has *anyone* actually *worked through* and used the Independent Study
tutorial that comes with Revolution?
Dan, I don't think you are crazy (at least this particular test would not be
the place to prove or deny it :-) I have never done
Where can I look for information on how, if at all, Rev would allow
me to execute -- in a cross-platform way, preferably -- host scripts
written in arbitrary other languages?
Dan,
Don't really have an answer for you...but I've been thinking along those
lines lately as well. It seem that RR
Mike, did the create alias option in my post not work for you? It worked
for me on Windows 2000...
As a refresher, that was (for a folder at pPath):
create alias C:/Temp.lnk to file pPath
set the hideConsoleWindows to true
get shell(C:\Temp.lnk)
delete file C:/Temp.lnk
Ken Ray
Alan,
How about:
1) set the traversalOn of the button to false -- so it doesn't take the
focus away from the field
2) have the button say either:
-- field 1 is your field and the myProp of this card is your custom
property
on mouseUp
if the selectedChunk of field 1 is not empty then
OK, surely this can't be difficult. How do I select some text in a
field and then set its linkText property without having to resort to
set the linkText of... in the message box? I'm having real problems
even querying the selectedChunk given that it automatically deselects
as soon as I click
Josh,
Put the image (640x480) into a group object (sized to 100x100). Neat thing
is that you can show horizontal and vertical scrollbars and let the user
scroll around the image, or you can set the scroll of the group yourself.
Oh, just make sure you set the lockLocation of the group to true
Hi Ken,
I did try your script on Win 98 but without any luck.
The get shell(C:\Temp.lnk) part of the script doesn't seem to do
anything. The other parts work including creating the alias, placing the
path within the alias and finally deleting the alias. The shell command
does not activate
How can I find the current position to which I am at in an open file? I need
to be able to go to the end of the file (which 'seek to -1 in file ...'
would take care of), but I need to know the position I'm at when I'm at the
end of the file.
Thanks,
Keelan Lightfoot
Ken,
Thanks for the ideas. Actually I came up with something a bit different.
The following handler is in the stack script:
on selectionChanged
set the cInsertionPoint of this stack to the selectedChunk
end selectionChanged
The button script is as follows: (actually since the button is
Mike,
Do me a favor... open Rev and type in the message box put the
shellCommand. It may return command. If it does, check in your
Windows/System32 directory and see if you have an app called CMD.EXE. If
you do, you may need to change the shell command before executing the get
shell part of the
Just curious... why do you need to know this? If you're looking at appending
data to a file, you can do a write data after file fileName, and if
you need to know the length of the file you can read it into a variable with
put url (file: fileName) into myVar and then get the length of
myVar.
Can
Mike,
You can do it completely with Transcript... here's a way to do it on
Windows, Mac OS X and OS 9. The Windows version is a little sneaky as it
takes advantage of aliases, but it works nonethelss. I'll be posting this
tip on my site tomorrow
I have been running through the Independent Study tutorial again to
refresh my memory on a few points. I noted this before but I don't
recall if I reported it or if it's been reported earlier. But a
tutorial really needs to *work* correctly to be useful and this one
doesn't.
One minor
--- Terry Judd [EMAIL PROTECTED] wrote:
OK, surely this can't be difficult. How do I select
some text in a
field and then set its linkText property without
having to resort to
set the linkText of... in the message box? I'm
having real problems
even querying the selectedChunk given that
I like the imageSource property - particularly nice the way it
maintains the transparency of the image. What I'm trying to do now is
embed (in a 'list' without list behaviour) a series if icons that
will indicate whether certain types of resources are available for
the selected item (eg image,
Hold that request! Seems like it works fine after all, I'd managed to
somehow delete the underlying imageSource character and retained the
image when fiddling around with the text.
Terry...
I like the imageSource property - particularly nice the way it
maintains the transparency of the
Terry Judd wrote:
OK, surely this can't be difficult. How do I select some text in a
field and then set its linkText property without having to resort to
set the linkText of... in the message box? I'm having real problems
even querying the selectedChunk given that it automatically deselects
Hi Terry,
This may sound too obvious, but in the menu Text you
can choose the item Link to set the style of the
selected chunk.
Yep - I was doing that. It was setting the linkText that was giving
me trouble (it'd be nice to be able to do this through a dialog).
Thanks,
Terry...
Either
31 matches
Mail list logo