Re: Problems setting a player object to an alias in a script
On Mon, May 31, 2010 at 12:14 PM, Richard Gaskin wrote: > Howard Bornstein wrote: > > On Mon, May 31, 2010 at 8:36 AM, J. Landman Gay > hyperactivesw.com>wrote: >> >> >> Try using the aliasReference function to get the real file name and set >>> your player to that instead. >>> >> >> Thank you thank you! This is exactly what I was looking for and solves my >> problem nicely. Since I may have a mix of aliases and normal files, this >> function makes it easy to tell if the file is an alias as well as >> providing >> the valid reference to the actual file. >> >> This was one of the multitude of Rev functions I didn't even know existed. >> > > Another example of the value of the Rev Dictionary's See Also section. :) > > Sometimes in my spare time I just browse around in the Dictionary clicking > See Also links, and almost always learn something new. Yes, I smacked myself upside the head after I saw Jackie's answer. Why I didn't think to search the dictionary for 'alias' is beyond me, although I did search for it in the User's Guide (just found stuff on anti-aliasing). That's why this list is so valuable. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems setting a player object to an alias in a script
On Mon, May 31, 2010 at 8:36 AM, J. Landman Gay wrote: > Try using the aliasReference function to get the real file name and set > your player to that instead. > Thank you thank you! This is exactly what I was looking for and solves my problem nicely. Since I may have a mix of aliases and normal files, this function makes it easy to tell if the file is an alias as well as providing the valid reference to the actual file. This was one of the multitude of Rev functions I didn't even know existed. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Problems setting a player object to an alias in a script
I want to set a player object to an alias of an MP3 file. If I do it in a script, the player returns the message "could not create movie reference". However, if I set the player manually (i.e. by clicking the folder icon on property palette's source field) it takes the alias as a valid file. However, when selecting a file for the player manually, using the built-in dialog box, there is an Enable popup that defaults to Quicktime Movies. When this is selected, it is impossible to select an MP3 file. But if I change the popup to All Files, then I can choose the MP3. Apparently, when trying to do this via script, the MP3s are not available because All Files (or its equivalent) is not selected. How can I get access to all files using the "set filename of player n to [filename]" in Transcript? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Nice OSX tip: creating an image with a desktop snapshot without scripting
On Sat, May 15, 2010 at 5:12 AM, Colin Holgate wrote: > > On May 15, 2010, at 5:52 AM, Jim Sims wrote: > > > > > Command-SHIFT-4-Space Bar captures the window under the cursor. > > That can be described better as: Command-Shift-4 gives you the usual > caption selection to a file, and Control-Command-Shift-4 gives you the usual > capture to clipboard, but if instead of dragging the mouse to make a > selection, you press the space bar and then move the mouse over the various > open windows, you can click to capture the one that is highlighted. It also > grabs all of the window, not just the parts that are sticking out from under > other windows. > This trick is very versatile. Beside capturing entire windows as you've described, it will also capture the entire menu bar, any open menu, the dock, and any icon on the desktop, including the icon name. Very useful for documentation that requires showing parts of the Macintosh interface. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Playing MP3's on Web Pages (was "Our Place in Hawaii")
On Thu, Feb 11, 2010 at 5:55 PM, Sivakatirswami wrote: > On one site we are currently staging in Drupal (stalled now, and I'm not > sure we really want to go there -- Drupal seems to be an esoteric beast! > Only dragon slayers can walk in those swamps!) one module for playing sound > using this embed code: > > autostart='false' width='220' height='30'> > > Though I think the above is deprecated in favor of "object" but appears to > be totally browser, media player "agnostic" and looks like it is hoping to > stay out of the way and let the local machine/browser make up its mind how > to play the media. > > Howard, I changed the embed code the simple version above. can you try > again? > Sorry, I didn't see your question until today. It isn't clear to me what you changed, but both the link above and your original link now play fine under my version of FireFox (3.5.7): (OSX 10.5.8, Intel). Both the slides and the sound worked the first time for me under Safari (4.04) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Our place in Hawaii....
Ok, I tried it in Safari and it ran fine. I don't know what's up with my version of Firefox. Beautiful photos. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Our place in Hawaii....
On Wed, Feb 10, 2010 at 2:49 PM, Sivakatirswami wrote: > Some may wonder where we are and what it's like here. A recent visitor, > with a high end camera did an amazing job and I could not resist putting > this into an iRev slide show. > > > http://www.himalayanacademy.com/slideshows/aadheenam/2009/ka_2009-12-30_thushyanthan-aadheenam/ Sadly, this link completely and repeatedly crashes Firefox for me :-( -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Debugger for On-rev
2010/1/14 Tim Selander > Never mind, found it through google. sorry for the noise. It's always a good idea to answer your own question with specific information in posts like this when you've found the answer yourself. That way, people who search this list with the same question can benefit from your research. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Passing parameters from Rev to Applescript
I wanted to thank everyone for their explanations and helpful solutions. I understand the issue now and have been able to make this work for my application. As usual, this group has come up with a variety of approaches and I am always amazed at alternative methods possible to accomplish a task, as well as the kindness and helpfulness of the members of this list. Thank you all. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Passing parameters from Rev to Applescript
Thanks Tom, This does work. So do I gather however, that you can't pass or intermix Rev parameters directly with Applescript parameters? In other words, if I have a variable in Rev called tColor which contains "Red", I can't ever use that directly in an Applescript statement? Variables always have to be plugged in to a hard-coded AS statement using the replace command or something similar? -- Regards, Howard Bornstein --- www.designeq.com On Mon, Dec 21, 2009 at 3:17 PM, Thomas McGrath III wrote: > Add something like this: > >put field 1 into tTemp >replace "tWindowName" with "Pictures" in tTemp >do tTemp as Applescript > > > I usually do special tag around 'replaceable' items like in > replace "" with pProperty in tTheScript > do tTheScript as applescript > > HTHs > > Tom McGrath III > Lazy River Software > 3mcgr...@comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > > On Dec 21, 2009, at 6:01 PM, Howard Bornstein wrote: > > Hmmm, I thought this was straightforward but I can't seem to get this to >> work. >> >> I want to pass a value from Rev to an applescript. Here is a simplified >> version of what I'm trying to do: >> >> on mouseup >>Put "Pictures" into tWindowName >>do field 1 as Applescript >> end mouseup >> >> Field 1 contains the following: >> >> Set theWindow to tWindowName >> Tell application "Finder" >>get bounds of window theWindow >> end tell >> >> This results in an applescript execution error. If I substitute "Pictures" >> for tWindowName, it works properly. But rather than hard-coding the window >> name into the applescript I want to pass it as a parameter. >> >> How can I take a Rev variable and pass it into an applscript? >> >> -- >> Regards, >> >> Howard Bornstein >> --- >> www.designeq.com >> > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Passing parameters from Rev to Applescript
Hmmm, I thought this was straightforward but I can't seem to get this to work. I want to pass a value from Rev to an applescript. Here is a simplified version of what I'm trying to do: on mouseup Put "Pictures" into tWindowName do field 1 as Applescript end mouseup Field 1 contains the following: Set theWindow to tWindowName Tell application "Finder" get bounds of window theWindow end tell This results in an applescript execution error. If I substitute "Pictures" for tWindowName, it works properly. But rather than hard-coding the window name into the applescript I want to pass it as a parameter. How can I take a Rev variable and pass it into an applscript? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Message Box History
On Wed, Nov 25, 2009 at 8:53 AM, Mike Kerner wrote: > I thought I vaguely recalled a way to pull up message box history. Maybe > I'm thinking of some plugin. I know you can use the up and down arrow keys to cycle through the history of previous items in the message box, but I don't know off-hand a way to see the entire list at once. Maybe someone else knows that trick. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: "set cursor to busy" not working in revweb?
Yes, that's what I've found also. On Tue, Nov 24, 2009 at 2:16 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Cursors aren't working at all in revlets. There's just the arrow cursor. > -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: "set cursor to busy" not working in revweb?
On Thu, Nov 12, 2009 at 1:40 AM, Richard Miller wrote: > Is that what others are finding as well. that setting the cursor to > busy under revweb has no effect? I'm testing under XP. Perhaps this is a > known issue, but I couldn't tell for > sure.<http://lists.runrev.com/mailman/listinfo/use-revolution> I just found the same thing when trying to change to the Hand cursor. I've updated your Bugzilla report with this new information. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Snapshot problems
Thanks Scott! This does work. I sure wish I could wrap my head around *why* it works however. Regards, Howard Bornstein --- www.designeq.com On Fri, Nov 13, 2009 at 12:57 PM, Scott Rossi wrote: > Recently, Howard Bornstein wrote: > > > I am trying to do a similar thing. In my case I have some content in a > group > > that is larger than the group rectangle, so it scrolls within the group. > > However, I'd like to be able to take a snapshot of the entire group > > contents, even the parts that extend beyond the rectangle (and can only > be > > seen by scrolling). > > Here's one way, although it may be a pain for you: > > Group the objects within the group, so you wind up with a group within a > group. Call the inner group "container". Then script: > > import snapshot from rect (rect of grp "container") of grp "container" > > If necessary, you might group when taking a snapshot only, and then ungroup > when completed. Either way, referencing the container group should work. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Snapshot problems
I am trying to do a similar thing. In my case I have some content in a group that is larger than the group rectangle, so it scrolls within the group. However, I'd like to be able to take a snapshot of the entire group contents, even the parts that extend beyond the rectangle (and can only be seen by scrolling). I tried your example " import snapshot from grp "MyCompositeThang" but it only created a picture of the group with its scroll bars, not the entire internal contents of the group. Is there an easy way to get this? As I add things to the group, I'd like to be able to create a complete image of the entire group contents, even the parts that are not visible within the group rectangle. -- Regards, Howard Bornstein --- www.designeq.com On Sun, Sep 20, 2009 at 10:48 AM, Richard Gaskin wrote: > Graham Samuel wrote: > > > However Richard your other point: > > > >> The rect option can be useful at times, but since v2.7 we've had a > >> much easier and more robust method of exporting images of objects > >> by specifying the object itself rather than a rect: > >> > >> import snapshot from img "MyImage" > >> > >> The object needn't be an image; it can be anything other than a stack > >> (referencing the card will work for those), even groups. > >> > >> The big difference is how the image is generated: > >> > >> Using the rect option cips a portion of the display buffer, so if > >> your image is out of bounds there won't be anything to get. > >> > >> But using an object reference causes the engine to render the object > >> into a private buffer for you, much like it would do when rendering > >> the image on a card, and then hands that buffer back to you in the > >> resulting image. > ... > > > Is not so easy to follow if you're trying to build up a composite > > image: say for the sake of argument one has a picture (an image) > > occupying some part of a card, and one imposes on top of it another > > image, with the intention of snapshotting the combined image so as to > > create a new picture that can be exported: it might be a jpg of a > > membership card with the member's picture imposed on it, or something > > like that. Then if I import a snapshot of my background image (the > > card design), won't my foreground image (the member's picture) be > > ignored? That's how I read the docs - so what I did in the end was to > > use a rect based on the background image, something like: > > > > import snapshot from rect (the rect of of img "MembershipCard") > > > > This worked, but it appeared to me that I had to have a window (card, > > stack) as big as the whole background image if nothing is to be > > clipped, which was inconvenient. > > If you can put the objects you want into a group, this needn't affect > anything in your user experience and requires only small changes to your > script, but would let you use the robust one-liner to get the snapshot of > the group image even if outside of the clipping region of the window: > > import snapshot from grp "MyCompositeThang" > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Interesting radio button behaviour
Hi David, I'm not sure I fully followed your description but this is what I found. I can verify that your first point happens on Macintosh systems. Right-clicking a non-hilited radio button in a group deselects the hilited button in the group. I guess it's just processing the click and not making a distinction between right or left clicks. On your second point, I can verify that when autohilite is off on all the buttons, a click on a non-hilited button unhilites the hilited button, whether it's a standard radio button or a user icon. This is what you would expect. This is normal operation for radio buttons except that it doesn't hilite the button you just clicked because you've turned off that capability. I found no difference between buttons that use icons and the standard radio button in this regard. -- Regards, Howard Bornstein --- www.designeq.com On Thu, Aug 20, 2009 at 2:54 PM, David Glasgow < da...@dvglasgow.wanadoo.co.uk> wrote: > I stumbled across two more interesting radio button behaviours which I > didn't know before, and mention out of interest. > > It seems a right click on a non hilited button deselects the hilited > button without setting a new hilite. I haven't found any Mac radio buttons > that do this, so I'm not sure whether it is one of those cross platform > compromises. It could be a gotcha if at least one of a number of radio > buttons should always be hilited. > > Using an icon and hilited icon rather than the standard blob exposes > different behaviour. Even if the autoselect is set to false, *left* > clicking on an unhilited button has the same result as above. > > Funny eh? > > David G ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Radio buttons that don't look like radio buttons
I think if you just set the icon and the hilite icon of the radio buttons to graphics of different colors, it will do what you want. -- Regards, Howard Bornstein --- www.designeq.com On Mon, Aug 17, 2009 at 7:13 PM, David Glasgow < da...@dvglasgow.wanadoo.co.uk> wrote: > Revolutionaries, > > I have several cards containing many radio buttons, and want to have a > summary screen which consists of an array of colour indicators reflecting > the status of the scattered radio buttons. I remembered that many years ago > I made some radio buttons that didn't look like radio buttons (they were > intended to function and look a bit like the pop up - down mechanical > buttons on old cassette recorders). So I set out the summary card with radio > buttons which are set and reset by user actions on corresponding groups on > the relevant card. That works fine. A brief script built around > > set the hilitedbutton of SummaryGroupOnCard1 to the hilitedbutton of the > owner of the target > > does the trick. > > However, the summary display can't look like radio buttons in the final > product, because users will quite reasonably expect to be able to click on > them. I planned to change the properties of the summary buttons after I had > finished laying out and scripting the cards the users will actually interact > with. > > When the time came, I started to set and tweak properties and colours of > the buttons on the summary card, but couldn't get the simple plain colour > patch which switches on or off mutually exclusively with its fellow group > members. > > After maybe an hour of futile clicking, I set out to find the buttons I > made years ago, and to my amazement succeeded. However, I *still* can't > find out how I made the radio buttons not have the little radio button blob > in the middle. There is no scripting involved, and no icons. They do have > hilited text and fill colours that match - if they don't, a little dot > appears when selected, like old Win radio buttons (I am on OS X). > Selection is only indicated by a change in the border. However, even though > I have matched as many properties and colours as I can find, my new radio > buttons insist on having the radio button blob. > > I know I could just copy the little group I have, and use them, but this is > really bugging me. Was I quite clever years ago, or am I being quite dumb > now? > > David Glasgow > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Digging Huge Files
> <http://quality.runrev.com/qacenter/show_bug.cgi?id=5078> > > Says it was fixed in 2.9. > > I can confirm that this has been fixed and the 2 Gig limit is no longer in place. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Gone without a "trace"
I had mentioned previously that the Trace command was missing in the debugger in Rev 3.5 and it was suggested that I file a bug report. I did that (#8144) and got this very strange response from Oliver: "We decided to remove the trace feature from the IDE for version 3.0 to make the product consistent with other more well-known development environments. The engine support for tracing will remain as it may be useful for development of third party debugging tools. The user guide should be updated. Regards Oliver" If I understand his response, he is saying that they removed a useful feature of the IDE because competing products *didn't* have this feature! Maybe someone can explain this to me but I don't get it. Why would removing a useful feature of your product that competing products don't have be an advantage? Maybe I haven't had enough coffee today, but that sounds just nuts to me. I'd really like to see Trace put back as it is extremely useful in some circumstances. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revlet save a txt file
Thank you everyone for making this clearer to me. I didn't understand the model of client services in relationship to web servers. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Gone without a "trace"
I had mentioned previously that the Trace command was missing in the debugger in Rev 3.5 and it was suggested that I file a bug report. I did that (#8144) and got this very strange response from Oliver: "We decided to remove the trace feature from the IDE for version 3.0 to make the product consistent with other more well-known development environments. The engine support for tracing will remain as it may be useful for development of third party debugging tools. The user guide should be updated. Regards Oliver" If I understand his response, he is saying that they removed a useful feature of the IDE because competing products *didn't* have this feature! Maybe someone can explain this to me but I don't get it. Why would removing a useful feature of your product that competing products don't have be an advantage? Maybe I haven't had enough coffee today, but that sounds just nuts to me. I'd really like to see Trace put back as it is extremely useful in some circumstances. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revlet save a txt file
On Sun, Jul 26, 2009 at 12:51 PM, Richard Gaskin wrote: > Yves COPPE wrote: > > 1) how can I save the txt file on my personal web site (it is not a >> rev-server) >> > > Two ways to send data to a server are FTP and POST via HTTP. From anything > running on a public client FTP would expose your password unnecessarily, so > using POST to send the data to a CGI would probably be the better option. I have been wondering about this also and am confused as to why the standard read and write file commands would not work. The revlet is sitting in a directory on a server, just like a stack sits in a directory on your local hard disk. You want to read or write a file in a directory relative to the stack or revlet. So why wouldn't open file fpath for write -- where fpath is the directory your revlet is in, for example write fld "data" to file fpath close file fpath work on the server just like it works on your local hard drive, especially if the plugin is supposed to support virtually all of Rev's commands? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: No trace in the debugger?
On Thu, Jul 9, 2009 at 10:46 AM, J. Landman Gay wrote: > > I couldn't find it either. I almost never use Trace so I didn't notice its > absence till you mentioned it. Sounds like bug report time to me. > Bug report 8144 submitted. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
No trace in the debugger?
(sending again because, for some reason, my last post never made it to the list) Speaking of things apparently missing in the IDE, I've started using 3.5 more often (yes, I was still stuck in 2.9, since it was so unbelievably stable) and I noticed that there no longer seems to be a trace command in the debugger. The V3.5 User's Guide says there should be a Trace command in the debugger menu just above the Run command but it's not there. Nor do I see a Trace icon in the script window. Am I missing something obvious here? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
No trace in the debugger?
Speaking of things apparently missing in the IDE, I've started using 3.5 more often (yes, I was still stuck in 2.9, since it was so unbelievably stable) and I noticed that there no longer seems to be a trace command in the debugger. The V3.5 User's Guide says there should be a Trace command in the debugger menu just above the Run command but it's not there. Nor do I see a Trace icon in the script window. Am I missing something obvious here? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: strategies for non-horizontal text orientation
Richard, check out #1264, dated all the way back in 2/2004. It's an enhancement request for the ability to rotate and flip all objects including buttons and fields. This is a feature I could have benefited from many, many times. I've added my 5 votes. -- Regards, Howard Bornstein --- www.designeq.com On Fri, Jun 12, 2009 at 5:22 PM, Richard Gaskin wrote: > > Also, do any of you know of a request in the RQCC for native support of > non-horizontally oriented text? I just did a search for "text orientation" > and came up with many hits but none for that. > > -- > Richard Gaskin > Fourth World Media Corporation > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard on iPhone?
On Tue, Mar 3, 2009 at 2:08 PM, Bob Sneidar wrote: > I'm fairly certain that jailbreaking or unlocking an iphone is perfectly > legal. Recent developments toward the socialization of the United States of > America aside, this is STILL not the USSR. You pay money for it, you can do > whatever you like with it. It is however, a violation of the terms of > agreement which voids your warranty. > > http://forums.ilounge.com/showthread.php?t=223006 > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > Fortunately, jailbreaking is entirely reversible, so I doubt it would void your warranty unless you send to to Apple jailbroken, which would be a silly thing to do. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT - The Matrix running on Windows...
On Fri, Nov 21, 2008 at 10:47 PM, Joe Lewis Wilkins <[EMAIL PROTECTED]> wrote: > I thought some of you might enjoy this. It's not very long. > > Joe Wilkins > >> >>> http://www.collegehumor.com/video:1886349 >>> >>> They got the vocal inflections down perfectly! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] VisualHubbaHubba utility (Mac)
On Mon, Oct 6, 2008 at 2:30 PM, Michael <[EMAIL PROTECTED]> wrote: > Hi: > > VisualHub shut its doors a couple days ago, Yes, I was very sad to hear this as they were a responsive small company with great tech support who made an excellent product. Sigh. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Anyone interested in learning more about Rev on Rockets?
> Using some of Andre's libraries, you can easily send email, so you could > create a > software registration database stack, which gets called from PayPal after > someone purchases your product, and it automatically emails the regcode. > <http://lists.runrev.com/mailman/listinfo/use-revolution> > I have just such a project coming up. I was loath to wait for two more months for the rest of Andre's tutorials in the Rev newsletter, so tutorials from you guys would be fantastic! Please do lots! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FIND AND REPLACE: Is this a bug?
Sorry, forgot to mention the platform: Intel Mac 10.5.1 -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FIND AND REPLACE: Is this a bug?
Works without problems under Rev. 2.8.1 -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The Documentation
I agree with Gregory. I loved the Hypercard documentation: clear, well-organized, concise, nice examples. I'm looking at the Hypercard Script Language Guide right now. It's 583 pages. I wouldn't call that skimpy. -- Regards, Howard Bornstein --- www.designeq.com - Hide quoted text - On 10/25/07, Stephen Barncard <[EMAIL PROTECTED]> wrote: > > The original manuals were more than skimpy. > > I think you mean the Winkler and Shafer books. > > > >The original HyperCard manuals are hard to beat for parsimony, > >elegance, and darn good writing in my opinion. > > > > Gregory > > -- > > > stephen barncard > s a n f r a n c i s c o ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Rawkeydown and the mouse wheel
I'm trying to use the mouse wheel to scroll a group in a stack using the rawkeydown handler. I've seen Mark Waddingham's comments that groups don't respond to key messages: "I think this is a consequence of mouse-wheel messages being sent as key's at present and groups not responding to any key messages at the moment." However, it seems like it should be easy to get around this by simply putting the rawkeydown handler in the stack script and pointing it at the group scroll values when it detects the mousewheel codes. Alas, something odd is happening with all this. I set up a group with a few buttons and sized it so that scroll bars appeared when I turned them on. I put the following handler in the stack script. on rawkeydown keystroke put the vscroll of group 1 into vs if keystroke is 65308 then set the vscroll of group 1 to vs - 10 else if keystroke is 65309 then set the vscroll of group 1 to vs + 10 end if put keystroke pass rawkeydown end rawkeydown Anything I type, no matter where the cursor is, gets echoed in the message box, as is expected. However, if I scroll the mouse wheel, it only works under the following conditions: 1) if the cursor is directly over one of the buttons in the group. (if it's over white space within the group, scrolling doesn't happen) 2) if the cursor is over any other object outside the group (i.e. if there's a button or field or image outside the group and the cursor is over it) However, if the cursor is just over the card with nothing under it, the mouse wheel "key" messages apparently are not sent. This is very strange. Typing a key, no matter where the cursor is, gets echoed properly, meaning the rawkeydown handler is getting the key strokes. However, it only gets the mouse wheel "key" message when the cursor is over an object. How come the rawkeydown handler isn't getting the mouse wheel input when the cursor isn't over an object? Aside from putting a giant invisible button behind my entire stack (which is impractical for my current application) does anyone know of any other means to make the rawkeydown handler see the mouse wheel messages all the time? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: breakpoint is suddenly being ignored in IDE
On 9/13/07, Mark E. Powell <[EMAIL PROTECTED]> wrote: > > The subject line says it all: breakpoint is failing to break script in t= > he IDE (2.8.0 Windows XP). As clean test, I create a new button with br= > eakpoint followed by an answer dialog inside a mouseup handler. The answ= > er dialog appears without interruption. > > Have rebooted. Have searched docs for some mystery property that disable= > s breakpoint. No luck. > > Any ideas? > > Mark I've just run into that problem today. Breakpoints that used to work no longer do. I've cleared all BPs and then reset them. I've used the Breakpoint command. The script just goes on happily executing, ignoring all breakpoints. Restarting Rev did finally get the breakpoints to start working again. Still, frustrating to say the least. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Legacy and file format issues
On 9/13/07, Richard Gaskin <[EMAIL PROTECTED]> wrote: > > Howard Bornstein wrote: > > The problem I'm having is that I can not find any way to save stacks in > the > > legacy format from within my program. > > In a standalone: > > set the stackFileVersion to "2.4" Thanks Richard! That did the trick. However, I find it interesting that no reference to stackFileVersion is included in the Rev dictionary, neither in normal or deep search. It is also not mentioned in the following files in the 2.8.1 release: Read Me First, IDE Change List, Engine Change Log, or What's New. Nor is it available in the PDF documentation file. So where is this information supposed to be found? This could have been a product killer for me. How come this critical piece of information is invisible? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Legacy and file format issues
A few years ago, I wrote an information mapping application for a company that creates information maps (!!) that runs on both Macs and Windows platforms. Recently one of the people from the company contacted me because it no longer worked on his new Intel-Mac. I recompiled the app under 2.8.1 as a universal binary. However, besides needing UB, he is getting hit by the change in file formats that happened in V2.7 of Rev. The Maps they create are really stacks and when he creates a stack under the UB version, it is no longer readable under the older, pre-UB (read: made with Rev 2.6.1) version. These maps are shared among various people, using various versions of my application, so they need to be compatible across versions. The easy solution is to save all the maps in the legacy format. I've confirmed this works by manually saving the stack in the legacy format via the IDE. It is then readable with the older standalone version of my program. The problem I'm having is that I can not find any way to save stacks in the legacy format from within my program. The only information I've found on this anywhere is three lines in the "What's New" document saying that the IDE can save in the new and the old format. There is nothing in the dictionary and nothing in the PDF docs. Surely there must be some way to save in Legacy format from within Transcript! Have I missed something obvious somewhere? In addition, I couldn't find any way to determine which format a file was already saved in. This seems fairly crucial since reading a stack saved in the new format from an app assuming the legacy format creates, uh, a bizarre experience. Surely there must be some way to determine beforehand if this will happen. So, basically I'm looking for two things: 1) How can you select between the new format and the legacy format when saving a stack with Transcript? 2) How can you determine what format an existing stack has been saved in? And where is the documentation on this fairly significant change in Revolution? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
More - Read File at > 2GB Problem
I have what I think is a related problem. I've written a simple file-joiner program that joins file segments together. I've run into a problem where it chokes on joining files when the total file size is about 2 GB. I'm simply reading in the segments and writing them out consecutively to a single file. Is Rev completely unable to deal with files greater than about 2 GB? On 5/16/07, Dave <[EMAIL PROTECTED]> wrote: Hi, I have a File that is greater than 2GB in size. I am using: read from file theFile at myFilePosition for myCount put it into myFileData It all works fine until myFilePosition is greater than 2GB. Is there a limit on the file position inside a file? I Calculate the value for myFilePosition based on number of factors. Thanks a lot All the Best Dave -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in standalone?
On 5/10/07, Jim Sims <[EMAIL PROTECTED]> wrote: I also write over the video file after I am done playing it with a word or two as they can be found in the trash, when written over the user cannot grab them and play them. Hmm, I used Delete File to get rid of the temp file but it deletes it directly rather than moving it to the trash. What are you using? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in standalone?
On 5/10/07, Scott Rossi <[EMAIL PROTECTED]> wrote: As far as I know, this is the usual method. However, Trevor Devore once explained that it is possible import a video file as a videoClip and play it directly on the card. You can position the the movie by declaring a point location, and once playback is done the videoClip is closed. play videoClip 1 at loc of grc 1 The docs say a videoClip can be QuickTime, AVI or MPEG formats. And the syntax for controlling a videoClip is a little wonky. play pause videoClip "myCoolClip.mov" Thanks Scott, I think I'll stick to the more modern player object. It's only a couple of extra lines of code to write the file and it works fine! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in standalone?
Thanks Jim and Eric, I suspected that was the only way. It'd be nice to be able to reference these sources directly in the stack but making a temp file isn't too bad. Just some extra overhead. Oh well. :-) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in standalone?
On 5/9/07, Scott Rossi <[EMAIL PROTECTED]> wrote: You can import images into custom properties and them display them in image objects: [import] set the myCoolImage of this cd to url ("binfile:" & imagePath) [display] put the myCoolImage of this cd into img 1 I'd like to do the same thing with a music file; embed it into the stack directly. I can set a custom property to an mp3 file, but I can't figure out how to play or reference it then. The custom property contains the actual mp3 data, but I can't set a player to it because it wants a file name, not the data directly. Same issue for a movie. Once I've set a custom property to contain the music or video data, how do I reference it? Do I then need to spin it out as a temporary file and then reference that? Then clean up the file when I'm done? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Copy images
On 9/3/06, Gordon Tillman <[EMAIL PROTECTED]> wrote: I just tried this and it worked: put "binfile:" & the fileName of control id 1003 into tURL get URL tURL set the clipboardData["image"] to it (NOTE: in my little example "control id 1003" is the referenced control) -gordy Gordy, Very clever idea. It tried it and it worked fine on a referenced jpg image, but for some reason when I try it on .png images, it either doesn't work at all or copies a garbled version to the clipboard (???). Did you try with .png images? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get Poser 5 Free During Labor Day Weekend
On 9/2/06, Lynn Fredricks <[EMAIL PROTECTED]> wrote: Yeah, I posted the instructions in Revolution Forums in the Adventure Game Section :-) E-frontier and CP are a long time partner of yours truly. They have only selectively posted this, so jump on it - there are Mac and Windows versions (although mac is not UB). Selective or not, I haven't been able to download this for two days--they say the download limits have been reached on their servers. It sort of backfires when you offer free software and then make it nearly impossible for people to get it. :-( -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Play One Movie On Top of Another?
Sorry, I couldn't get this to download from RevOnline. :-( -- Regards, Howard Bornstein --- www.designeq.com On 8/25/06, Sivakatirswami <[EMAIL PROTECTED]> wrote: A sample is up on Rev Online: Go to "Education" or user space "Sivakatirswami" and check out "Two Movies" This stack loads two.SMIL files into two player objects , from our server in San Francisco, which then stream two movies, one underneath and the other on top. I would be really interested in testers. It's working on OSX. Does it work on Windows? Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
When does Get URL time out?
I'm using Get URL to access a web page. Sometimes that page comes back blank. I assume it's because the request timed out before the page contents was delivered. In this case it's fine because I'm testing to see if the page is up and responding. But what determines how much time it takes before Rev returns with blank data as opposed to the contents of the web page? The docs on URL say: "All actions that refer to a URL container are blocking: that is, the handler pauses until Revolution is finished accessing the URL. Since fetching a web page may take some time due to network lag, accessing URLs may take long enough to be noticeable to the user." So if getting the URL is a blocking activity, why does Rev go on at all if nothing is returned? Is there a way to set the amount of time Rev will wait before timing out? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Constraining the pointer within a rect
This script seems to work with adequate performance: on mousemove mh,mv if the hilite of btn "constrain" is true then if mh <= the left of fld "container" then set the screenmouseloc to the globalloc of (the left of fld "container", mv) end if if mh >= the right of fld "container" then set the screenmouseloc to the globalloc of (the right of fld "container", mv) end if if mv <= the top of fld "container" then set the screenmouseloc to the globalloc of (mh,the top of fld "container") end if if mv >= the bottom of fld "container" then set the screenmouseloc to the globalloc of (mh,the bottom of fld "container") end if end if end mousemove Note two things: 1) The button "Constrain" needs to be within the field "Container" or you'll never be able to get out. :-) 2) It is possible to move the mouse out of the rect for brief moments, but then it pops back into the rectangle. I'm assuming it's a function of slipping out between a mousemove scan. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevConWest06 slideshow is on the air
On 7/8/06, AJ4 <[EMAIL PROTECTED]> wrote: You can find it here. http://www.troutfoot.com/rev/revmovie2.html Sandy Gorgeous images. Very beautiful. Thanks so much for this. -- Regards, Howard Bornstein --- www.designeq.com PS The slide show jumped around a bit under FireFox and Mac OSX ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Maximum image size
On 6/26/06, Sarah Reichelt <[EMAIL PROTECTED]> wrote: A while ago, someone (Richard?) was discussing the limits on an image size to be displayed in Rev. I have a rather crude function for deciding this, so would now like to replace it with a more exact calculation but I can't find this info in the docs or in the list archives. Does anyone know where I can find it, or does anyone still have the post? TIA, Sarah Hi Sarah, Here's a post from Scott Raney on bugzilla (bug 1859) where he talks about the image size limits on the Mac: This is a fundamental limitation in the MacOS image architecture: the rowBytes field of the PixMap image structure has a maximum value of 4000 (hex) which on a 32-bit display works out to 4096 pixels. (see http://developer.apple.com/documentation/Carbon/Reference/QuickDraw_Ref/qdref_m ain/data_type_41.html). This can be worked around but only by writing a lot of code to handle all the manipulation using local instead of OS routines, so for now I'm downgrading to an enhancement and reassigning to Tuv (since I no longer do Mac development). So 4096 X 4096 seems to be the current image size limit. But I'm sure I read somewhere that this was going to be "fixed" in an upcoming version of Rev, where this limitation (I believe it's a limitation of QuickDraw) will be removed. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Does revCopyFile delete existing files of the same name?
I'm using revCopyFile to backup some files but if the file already exists in the destination folder, revCopyFile (and revCopyFolder, it turns out) returns an execution error. Has anyone been able to make this work without using something else like a shell script? Bug 2298 says: - Additional Comment #3 From Kevin Miller 2005-06-05 16:11 --- For 2.6 now attempts to delete destination file if it exists before copying. Please verify this fixes the bug as I don't have a reproducible recipe to test against. As far as I can tell, it does NOT delete the detination file. It just returns an error message. Do I need to re-bugzilla this? (I'm currently using V2.6.5) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface?
On 3/15/06, Mark Wieder <[EMAIL PROTECTED]> wrote: > Howard- > > Tuesday, March 14, 2006, 5:56:33 PM, you wrote: > > > http://aws.amazon.com/s3 > > ...it's got a BitTorrent interface !!! > > -- > -Mark Wieder > [EMAIL PROTECTED] Even though the licensing agreement says: "4) You represent and warrant that: (i) Your S3 Content does not infringe or violate any rights of any other person or entity;", I suspect this service may end up giving the RIAA fits. Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface?
On 3/14/06, Stephen Barncard <[EMAIL PROTECTED]> wrote: > Dan -- Link, please if you have itGoogle doesn't know about his yet. Here's the press release (watch for wrap): http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=830815&highlight= and here's the service info: http://aws.amazon.com/s3 -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: send "Rawkeydown param" problem
On 2/12/06, J. Landman Gay <[EMAIL PROTECTED]> wrote: > > > > I'm in one of those black "I hate Rev" moods, based on my inability to > > find the information I need to solve my problem. > > Hopefully you are only grey now. > > -- Yes, I looked at the new docs in 2.7 and they seem much improved. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How to get a player to stop intercepting keyboard input
I've got a player object that is the same size as my stack. I want to control it from the keyboard. I'm using rawkeydown to grab keystrokes and control the player based on the keys the user presses. Unfortunately, I can't seem to keep the player object from intercepting certain keys and acting on them before my rawkeydown handler gets them (actually in this case, the handler never receives some keystrokes--the player object traps them and doesn't pass them on). And yes, I've set the traversalOn of the player to false. The keys that seem to be problematic are the arrow keys and the space bar, keys which the player uses directly. My question is, even though traversalOn is set to false, why is the player object still intercepting these keystrokes? If I make the stack a little larger than the player and click the stack (so it's the focus), all my keys are handled correctly. I've worked out a kludge to keep the focus on the stack, but it seems I shouldn't have to do any of that. Does anyone have an idea of how to keep the player from interfering with keystrokes? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: send "Rawkeydown param" problem
I solved this problem by commenting out the "pass rawkeydown" statement at the end of the handler. I'm not sure why this helped or was needed. Maybe there was a recursion issue, but since this handler was in the stack script, wouldn't the next destination in the hierarchy be the engine itself? This doesn't solve my difficulties with getting useful information out of the rev docs. I haven't looked at the 2.7 version yet but I hope there are improvements in this regard. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: send "Rawkeydown param" problem
On 2/12/06, Phil Davis <[EMAIL PROTECTED]> wrote: > Hi Howard, > You could try displaying 'the executionContexts' in an 'errorDialog' > handler of your stack script - maybe that will give you some clues as to > what's happening. > > Phil Davis Where did you find information about "the executionContexts"? I couldn't find any reference to it in the docs so I don't know how to interpret the results. It gave: stack "/Users/howard/Projects/LandyVision/LandyPlayer.rev",errorDialog,198 What does 198 refer to? For that matter, there doesn't seem to be complete info about the errorDialog message. It says line one contains "Information about the statement that caused the error." In my case, line 1 shows: 573,10,1,rawkeydown Well, I know it's telling me that the rawkeydown handler caused the error, but what does 573,10,1 mean? In addition, the errorDialog dictionary entry refers to the cErrorsList property of the stack "revErrorDisplay" as having useful info. This property contains (on my system) 631 error entries. I have no idea what they are, if they're simply a list of errors or if they're pertinent to my situation, etc. Again, there is no other reference to this property anywhere in the Rev documentation that I could find. I'm in one of those black "I hate Rev" moods, based on my inability to find the information I need to solve my problem. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
send "Rawkeydown param" problem
This is weird. I occasionally need to stuff my rawkeydown handler with a parameter from another script. The rawkeydown handler is in the stack script. When I use a command like it works but also sends up a "can't find handler" error. It obviously finds the handler since it works as expected. Any idea why this error is getting generated? The error will be ignored in my standalone, but I'd like to know why this is happening. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Image Jigsaw
On 10/24/05, Alex Tweedly <[EMAIL PROTECTED]> wrote: > > I've put the (very early) version of my jigsaw game up on RevOnline, and > on www.tweedly.net/RunRev http://www.tweedly.net/RunRev/Image%20Jigsaw.rev -- File Not Found -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: anomaly in dictionary entry explained in use-rev long ago; bug in uploading web notes?
On 10/13/05, Dick Kriesel <[EMAIL PROTECTED]> wrote: > That seems like a worthy comment to add to the dictionary entries for the > backgroundNames property and the remove command. Unfortunately, the "Upload > web note" button appears not to work, even though a dialog box reports > "Upload complete." At least, I can't see the note I uploaded for the > backgroundNames property. Can anyone else see newly uploaded web notes? > > -- Dick I'm not seeing it here. Maybe try to upload it once more. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revDocWiki
On 10/2/05, Russell Martin <[EMAIL PROTECTED]> wrote: > So, I've set up a wiki at http://revdocwiki.wikispaces.org/ . Nice start. Just a note, that I found the wiki extremely slow. Often >30 seconds to load a page. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FMODforRev Internet Streaming
On 9/23/05, Trevor DeVore <[EMAIL PROTECTED]> wrote: > > Howard, > > Do you have any streaming urls you can provide that are giving you > problems. I've tested the Apple streaming files on Mac OS X and > Windows XP and if I set the playRate the streaming works flawlessly > every time. > > Perhaps if you could provide an example that doesn't work then we can > figure out what is going on. Hi Trevor, I was very puzzled why you seemed to not have problems when using "set the playrate" and I did. After further testing I found that I ran into the dreaded -5401 Bad State error if I set the currenttime of the player to 0. Then, even if I use the set playrate, it it generates this error. I'm trying to work around this by finding another way to tell when the stream has stopped (I can't rely on the currenttime apparently because it keeps incrementing even if the stream has stopped). I was just going to test out the Enhanced QT External to try to read the error messages, hoping that will work. BTW, I'd appreciate it if you could confirm this problem with setting the currenttime to 0. After setting a player to an appropriate URL I use these handlers in Start and Stop buttons: Start Button: on mouseup set the playrate of player "stream" to 1 end mouseup Stop button: on mouseup set the playrate of player "stream" to 0 set the currenttime of player "stream" to 0 -- this one causes the error message end mouseup If I delete the last line of the Stop button handler, it works fine. If it's there, the next time I click Start, I get a "-5401: Bad State" error. This is on Mac OSX. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FMODforRev Internet Streaming
My apologies to the list. This was meant to be a private message to William. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FMODforRev Internet Streaming
On Nov 2, 2003, at 12:29 PM, WIlliam Griffin wrote: Hey folks, I suspected that we could do streaming files from the net with FMODforRev external. But didn't get a chance to test it until the other night. Here's how I made a field and put the URL in it and did on return in field but of course you could do buttons or a list of URLS and mouseUp handle or such. I put a new button in the FMOD Example stack so everything was already set to go, as far as setting up the external goes.. You will need to add you own to the one you downloaded today on mouseUp put 1 into TheChannelNum --- here's the URL i used you could of course replace with your own choice of streaming music URL put "http://205.188.234.65:8006"; into theSoundPath -- philosomatika my favorite internet radio trance set the curSndChan of me to FfROpenAndPlayStream(theSoundPath,-1) end mouseUp Shaaazam! music over the internet. As before the FMODforRev stack and external are available here: Mac Version: http://www.igame3d.com/FMODforRev.sit PC Version: http://www.igame3d.com/FMODforRev.zip Just remember to COPY the FMODforRev external to the Revolution application path, before opening your stack. William Griffin & Tobias Opfermann. [EMAIL PROTECTED] Hi William, I've been working to write a streaming audio player for our Fire and Rescue Department to stream the radio dispatch over the internet. Rev has basic capabilities built in, but there seems to be some bugs in its implementation. I recently came across this post but the external is no longer at that URL. I was hoping it might overcome some of the problems I've run into with Rev. Is this stack and external still available? Thanks in advance. Regards, Howard Bornstein --- D E S I G N E Q www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: preOpenStack Weirdness
On 9/9/05, David Burgun <[EMAIL PROTECTED]> wrote: > Hi, > > I have a stack that has a preOpenStack handler in the Stack Script. > When I try to do the following I get a error: > > start using stack "/Documents/RunRev/Stacks/Main.rev" > > This statement causes an error saying that the Stack Cannot be found > but I know's is there and if I run this script in a mouseUp handler > or in the openStack handler it works ok. > > Why doesn't this work as expected?? > Does it work if you put the preOpenStack handler in the script of the first card? Also "/Documents/RunRev/Stacks/Main.rev" is not a fully qualified path (unless your root directory starts with Documents). Could this be part of the problem? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with streaming audio
On 9/13/05, Mark Talluto <[EMAIL PROTECTED]> wrote: > > Are you able to play the video with the same rtsp address in QT > itself? Maybe the address or the server is the problem. > Well, I don't know for certain that it's using rtsp, but yes, I can play the stream in QT, iTunes, RealPlayer, etc. I can also play it fine in Rev if I click the play control on the player controller. It's only when using the start player or the set playrate commands that it doesn't work (and in the case of set playrate, hangs up Rev). I'm still puzzled why I'm having problems under Windows while you're not. I'm going to download your test stack related to bug 1239 and see what I get with that. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with streaming audio
On 9/12/05, Brian Yennie <[EMAIL PROTECTED]> wrote: > Howard, > > I believe the difference is that you need to avoid the "start player" > command altogether. If you use playRate and only the playRate to start > and stop the player, you may get better results... once you use "start" > the damage may be done. > > Or are you restarting Rev in between trying "start" and "playRate"? > > HTH > > - Brian > This happens when I start Rev from scratch and try to execute the script line "set the playrate of player "stream" to 1". When it hits that line, Rev completely hangs and I have to force-quit. Another strange anomoly is if I click to the pointer tool, the player control bar starts shimmying (visually--it doesn't actually move) like crazy and won't stop until I leave Rev, click into another application, and then return to Rev. All in all, very strange. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with streaming audio
On 9/12/05, Mark Talluto <[EMAIL PROTECTED]> wrote: > > On Sep 12, 2005, at 11:31 AM, Trevor DeVore wrote: > > > Mark, > > > > Have you tried controlling streaming movies by setting playRate? > > This has worked reliably in my tests and it fixed a problem that > > one person had been having for 6 months. Just don't use start/stop > > player. > > Trevor, > > I just tested using playRate and it works well. I could not > replicate the problems with players that are created and set to play > automatically. Thanks for the tip! I will update Bugzilla with this > info. > > If you have a player with the controller visible, and the player is > not started with the playRate command, then the problem returns. I > supposed a frontscript could catch the clicking of the mouseUp on the > controller's play button. I tied putting a mouseUp in the player > itself. If you click on the movie portion, it works. If you click > on the player button in the controller, it gives an error of: 5401 > Bad State. > > This is a viable workaround for now though. Thanks! > Unfortunately, this is not working for me. When I tested on Windows 2000 with Rev 2.6, the Start Player command did not work, even though your tests showed it works under Windows. I get the same response as on the Mac--the player tries to connect and never does. Then, when I try using set the playRate to 1, Rev completely hangs and I have to force-quit. This was completely repeatable. Why would I be getting such different results as you? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with streaming audio
On 9/11/05, Trevor DeVore <[EMAIL PROTECTED]> wrote: > > Set the playRate to 1 rather than using . I'm not sure > what is doing under the hood but it has problems with > streaming movies. By setting the playRate you are directly accessing > a QuickTime property and everything works as it is supposed to. When I set the playrate to 1, I get the error message "-5401:Bad State". If I quit the stack and reload it, the first time I use playrate it works. If I stop the stream and start it again with playrate, I get the same error message again. Any idea about this? > > There isn't a way to get this information about a movie in Revolution > right now. Something like this could be added to the EnhancedQT > external though. It is just a matter of adding a couple of > additional if statements to a function that already exists. I think > that adding this would actually solve issues 2 and 3. I just browsed > the docs and it seams that there is a status string that tells you > the streaming status and also one that reports errors. Perhaps an > error is reported when the streaming server goes down. Please Please Please! Thanks for your help! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with streaming audio
On 9/11/05, Mark Talluto <[EMAIL PROTECTED]> wrote: > > It only happens with true streaming content. You could > get around this by posting the audio files to a web server and have > your player check the server for new content. Then have them > download the audio file and play it. That would be a very reliable > solution. > > > Mark Talluto Unfortunately, the dispatch information streams in real-time and members need to hear it in real-time. So I'm not saving, and it wouldn't make sense to save, audio files for later posting. It's not clear to me from your comments and from bug 1239 whether your problems streaming in Rev were that you couldn't hear the stream at all or whether the start player command didn't work. I can receive a stream apparently with no problem but I can't seem to do it using Transcript control. Can you comment on this? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Problems with streaming audio
I'm a member of Woodstock Fire Department in upstate New York. Some of our members have trouble hearing Fire Dispatch through their pagers (audio radios) because the area is heavily wooded. So I've been streaming the Fire Dispatch audio over the internet so members with bad radio reception can still hear the dispatch. They use whatever media player they want for their platform--iTunes, Windows Media Player, RealPlayer, etc. They all seem to work fine, but there is a problem with all of them. If I have to take the server down for any reason, the media playes promptly switch from play mode to stop mode. Unless the fire and rescue members look at the transport controls of their player, they won't know that it's changed from play to stop, since the radio dispatch occurs infrequently. Unlike streaming music, which is immediately noticeable when it stops, dispatch goes for long periods of time with no transmissions. To deal with this, I decided to build a cross-platform media player in Rev which would detect when the server was down and restart the player. Unfortunately, I'm having a few problems I didn't anticipate. (so far testing only in Mac OS 10.4) 1) I want to use my own controls to start and stop the player, rather than use the Quicktime controller. At first this worked fine. For some reason now it's not working at all. If I use the command the player says "connecting" but never does. However, if I click the start button on the controller, it connects fine. Why doesn't the start command work? (Is this related to bug 1239?) 2) In order to determine if the server is down, I need to tell if the player is receiving an audio stream. I've been using the currenttime to test this. I check to see if the currenttime changes over a 1 second interval. If it's the same, I assume the server has stopped. Sometimes, however, audio will stop playing while the currenttime goes on its merry way. I need a *reliable* way to tell if the player is receiving data from the stream. Does anyone have a suggestion for this? 3) Finally, the player seems to generate certain messages right in the player bar--things like "connecting", "negotiating", "connection failed", etc. Is there a way I can intercept these messages in Rev? Any help would be appreciated. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] StackRunner 1.0
On 9/6/05, Ken Ray <[EMAIL PROTECTED]> wrote: > Just a quick note to let you all know that I have uploaded a standalone > application called "StackRunner" which is similar to the DreamCard Player in > that it will "play" your MetaCard or Revolution stacks, but it is much > simpler and doesn't present any user-interface elements so it runs > "cleaner". > Very nice. One thing you might consider is if a user plays a stack fron the "answer file" dialog (i.e. not using main.rev or a config file), after the stack closes, put up the answer file dialog again, so the user can choose a different stack to run. Right now, if you open a stack this way and then close it, StackRunner stays open but you can't do anything in it. if you want to open another stack, you have to quit SR and then restart it. Otherwise, very clean and elegant! :-) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Little Diversion - Happy Trails
On 9/6/05, Scott Rossi <[EMAIL PROTECTED]> wrote: > I posted a little image experiment I found on my drive from a while ago. > Enter the following in your message box: > > go url "http://www.tactilemedia.com/download/happy_trails.rev"; > Very cool demo, Scott. And very simple script. Nice! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Text Menu--what happened to size?
On 9/5/05, J. Landman Gay <[EMAIL PROTECTED]> wrote: > Howard Bornstein wrote: > > > Apparently Rev has a limit to how many fonts it will allow and when it > > exceeds that number it truncates the rest of the Text menu items. > > I suspect the limit isn't in Rev, but rather in the number of items any > given menu can display. In other words, an OS limitation. > I dont think so. I've got several other programs that display the fonts in font menu and work fine. They display all (x)hundred fonts without difficulty. I've only ever seen this problem occur in Rev. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Text Menu--what happened to size?
Thank you Jeanne and Sarah! It seems like these have been missing for a while. I don't remember when or what may have happened to cause this to occur. However, I think I found the cause. I had many hundred fonts installed on my system. When I turned off a lot of them, suddenly the other Text menu items returned. Apparently Rev has a limit to how many fonts it will allow and when it exceeds that number it truncates the rest of the Text menu items. This seems like an inherent bug in Rev because I found this condition would occur even back in Rev 2.2.1. I didn't find anything in Bugzilla about it so I've entered bug 3109 to report it. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Text Menu--what happened to size?
It could be that my brain has finally given up the ghost, but I was sure that the Text menu in Rev used to have both Size and Align menu items. Currently, when I check the text menu it shows: plain bold italic underline strikeout box 3d box -- link -- subscript superscript -- Font Did I just make these other items up? I'm sure I've used them before in formatting text within fields. Does anyone else remember these items in the Text menu? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: difficulties with StandAlone
On 8/22/05, Jon <[EMAIL PROTECTED]> wrote: > Every time I try to create a StandAlone (SA), I have to select a > directory into which the SA will be created, starting at My Computer. I > don't mind selecting the directory the first time I do this for an > application, but is it necessary that I do this every time? And if I > have to do it every time, could it start from the most recently selected > location, rather than from My Computer? Drilling down into the > directory structure over and over again seems needlessly tedious to me. > > Am I missing something here? Does it work this way for everyone? > > :) > > Jon On the Mac (OSX) it remembers where I saved my last standalone and opens that directory again. Not sure why this doesn't work the same way on Windows. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Animated gif for OSX progress
On 8/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > And Howard, you are not actually stopping the animation which continues in > the background. As in the original posting and repeated when uploaded to ssBk > Online, set the repeatCount of the image ID to -1 to start the animation and > 0 to stop it. > Right. I realize that. How much of a performance hit do you think we take for keeping that little animation running all the time? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list [EMAIL PROTECTED] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Animated gif for OSX progress
On 8/21/05, Joel Guillod <[EMAIL PROTECTED]> wrote: > Thanks for the nice 16x16 24-frame animated gif ! > > I wonder to know if there is a way in Revolution that animated gif > are going to be automatically animated during the execution of a > script. When I tested it, the animation ran automatically whenever the gif was showing. So to use the "busy" indicator, I just set a transparent button to the icon of the gif to show it and set the icon to 0 to stop it. -- toggle the wait indicator if the icon of btn "wait" is 0 then set the icon of btn "wait" to 1004 -- the id of the gif else set the icon of btn "wait" to 0 end if -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list [EMAIL PROTECTED] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Drag & Drop of lines within fields
On 8/3/05, Scott Rossi <[EMAIL PROTECTED]> wrote: > Recently, Ton Kuypers wrote: > > > I seem to recall that someone created a very nice example of drag & > > drop of lines in listfields, but I cans seem to find it anymore... I > > just need to rearrange lines in a field by drag & drop... > > > > Could anyone please point me in the right direction or to an example > > script? > Scott's solution is very elegant. Wilhelm Sanke also came up with a fairly simple solution that I find I use frequently for this purpose. His script is below. on mouseDown put word 2 of the clickLine into cl set the textstyle of line cl of me to bold put item 2 of the mouseLoc into starty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - starty > (th/2) then lock screen put cr & line cl of me after line cl + 1 of me delete line cl of me add 1 to cl set the textstyle of line cl of me to bold add th to starty unlock screen else if starty - item 2 of the mouseLoc > (th/2) then lock screen put line cl of me & cr before line cl - 1 of me delete line cl + 1 of me subtract 1 from cl set the textstyle of line cl of me to bold subtract th from starty unlock screen end if end repeat set the textstyle of line cl of me to plain end mouseDown -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Full text justification plug-in
On 8/3/05, Yves COPPE <[EMAIL PROTECTED]> wrote: > > > > > That's easy. First save the file to your drive. Then drag the file > > to the Plug-in folder inside the folder with your current version > > of Run Rev. From this point on it will appear among your plug-ins > > under the Development menu when you start up. > > > > Jim > > Hi Jim > > that's my problem, I cannot save, the "save" menuItem is dimmed ! > Yves, You can't save it because it's currently a palette. What I did is type this command into the message box: toplevel stack "justifyTextPlugin" This turns it back into a stack. Now you can save it normally. HTH. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting the type code of a file under OSX
Thanks for all the nice refinements to the basic algorithm. I originally used a script like the one Dave Cragg mentioned. But doesn't it strike everyone that this is cumbersome for such a simple request. Perhaps I should enter a BZ enhancement for a function: getFileAttributes(filepath) that returns one detailed line รก la long files. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help, what am I doing wrong???
On 7/30/05, Dennis Brown <[EMAIL PROTECTED]> wrote: > I have the following script (much simplified from original). > In the form shown, it generates results and saves them into the > following variable names: > openSAW > openSAWW > openSAWWW > openSA > openSAW > openSW > > This is not what I intended! > However if I make a small change to the script as shown in the > comments it works fine and fills the globals with the results. > > Can anyone tell me what I am doing wrong with the original script? > > Dennis > > > global > typSAPW,openSAPW,lowSAPW,highSAPW,closeSAPW,dVol7WEMAW,volP50EMAW,volP50 > EMA5W,IIV50W > -- > ON mouseUp > local inNames1,fileText1 > put > "OpenSAP,LowSAP,HighSAP,CloseSAP,TypSAP,DVol7WEMA,VolP50EMA,VolP50EMA5,I > IV50," into inNames1 > put "123"&cr&"456"&cr&"789"&cr into fileText1 > REPEAT for each item inName1 in inNames1 --replace inName1 with > n1 and uncomment next line to make this work > -- put n1 into inName1 > put "W" after inName1 > do "put fileText1 into "&inName1 > do "split "&inName1&" with cr" > END repeat > get it > END mouseUp Weird! Interestingly, if you manually step through your script in debug mode (or run in trace mode) it works fine. It only exhibits this strange behavior if you let it rip at full speed. (???) Also, try this: put a breakpoint at the line "put "W" after inName1". Run the script and click "step into" after you hit the breakpoint and watch the value of inName1 change in the variable watcher. Very strange! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Files function or Tiger bug?
On 7/30/05, Eric Chatonet <[EMAIL PROTECTED]> wrote: > Hi all, > > Mac OS X issue (Tiger) > When working on the "Getting the type code of a file under OSX" > thread, I noticed that the long files function return an empty > filetype for TextEdit files (raw text or RTF). > FileBuddy reports correctly, Rev not. > Could you confirm? > > Best Regards from Paris, > > Eric Chatonet. > > So Smart Software Hi Eric, I had no problem here with regards to the long files function correctly identifying text files. By raw text I assume you mean a type code of TEXT, right? Long files correctly finds this. When I checked a number of .rtf files created by TextEdit, they came up blank because, apparently, TextEdit only uses the file extension to specify a .rtf file and the long files correctly reports the type as empty (the long description ends with a comma). -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Getting the type code of a file under OSX
I wanted to check to see if I'm missing something obvious. I want to be able to get the type code of a specific file under OSX. As far as I've been able to find, there is only one way to get the type code-- with the files function. The detailed files includes the type and creator codes. However, this gets the entire list of files in the default folder. Unless there's something I'm missing, the sequence would be something like this: 1) Get the full path of the file you want the type code for 2) Extract the folder it's in 3) Set the default folder to that folder 4) Get the detailed files 5) Compare the file name with item one of every line in the files 6) When you find a match, extract the last item from the detailed file description which is the type/creator code. This seems like a lot of work, just to get an attribute of a file. We have the filetype property, where we can set the type of a file. Isn't there a simple way to *get* the type of a file? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [Slightly OT] Ransomware as a Model for Rev Toolmaking?
On 7/19/05, Dan Shafer <[EMAIL PROTECTED]> wrote: > A friend of mine pointed me to an intriguing business concept called > "RansomWare" I had never heard of the term RansomWare before this thread. Interestingly, in this month's Wired Magazine (Aug. 2005), under Jargon Watch, there is another definition of RansomWare: "Internet extortion software that, when downloaded, encrypts the contents of your hard drive. The parties responsible demand payment to decrypt your data." Ouch! -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: linecolor
On 7/7/05, Muaadh Salih <[EMAIL PROTECTED]> wrote: > How can one write a line script to set line color? > We can set the linesize to a number but it seems > we don't have such a property for line color > any help ? > If you're talking about setting the color of a text line, you can easily do this by: set the color of line 2 of fld "yourField" to "green" -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Note to self: ALWAYS apply script changes
On 6/27/05, Ron Noice <[EMAIL PROTECTED]> wrote: > I've run into a problem in 2.6 that caused me to lose everything since the= > previous save. Twice! Which just goes to show ya -- it takes repetition to= > teach an old dog new tricks. Very likely I'm the only twit who would= > actually follow the sequence of events I'll outline here, but just in case= > someone else does, don't! The end result is that I get myself into a= > position where I try to Save but instead, Rev immediately quits without= > saving anything. Don't know if this can be classed as a bug or just as= > something stupid not to do. But the problem can be reproduced with the= > following clever steps (BTW, I'm using Windows XP - which should have been= > punishment enough - and Rev 2.6): Ron, Since you've found a repeatable recipe, it would be a good idea to Bugzilla this. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: color properties of an image object
On 6/18/05, J. Landman Gay <[EMAIL PROTECTED]> wrote: > On 6/17/05 8:23 AM, Howard Bornstein wrote: > > > But more importantly, the > > images color properties don't seem to work. That's what I'm really > > trying to find out about. > > > > I was told by Scott Raney that you can't set the colors of an image > object to anything other than those actually contained within the image. > The image object itself uses the same color palette as its contents. > > Thanks Jacque, It's strange though. It makes sense that things like the foreground and background color are set by the image contents. But what about the border? You can create a border on an image like any other object. You can make it 3D. But the border always defaults to black. The top and bottom colors always default to white and grey. Since these display like any other object, why not give them the same color attributes as any other object? Strangely, you can also set the shadow property and the focusborder color for an image object even though they don't do anything. At the least, the documentation should be updated. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: color properties of an image object
On 6/16/05, John Ridge <[EMAIL PROTECTED]> wrote: > on 15/6/05 9:08 pm, Howard Bornstein wrote : > > However, if you hold the mouse over the icons, > the tooltips do properly identify them. So first question: why are > these not labeled properly? > > ** > > On this specific point, I recall Ruslan making the same complaint some time > ago on this list. The suggestion made to him was to go to Preferences, and > in the first (general) pane, select "property labels are Name of Transcript > property". I'm not raising this as a tooltips issue. Compare the Colors and Patterns pane of the Property Inspector for images and for buttons. Buttons label properly all the 8 color options while images don't. This is irrespective of their tooltips. But more importantly, the images color properties don't seem to work. That's what I'm really trying to find out about. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
color properties of an image object
I was working with an image object and wanted to set its border to a specific color. Well, the image object doesn't seem to obey the normal laws that other objects do. First, the official word: "Each Revolution object has eight color "slots", eight properties of the object that together specify the color of all the object's parts. These properties are: foregroundColor: the color of text in the object backgroundColor: the color the object is filled with borderColor: the color of the object's borders if its threeD property is false topColor: the color of a 3-D object's raised edge bottomColor: the color of a 3-D object's lowered edge shadowColor: the color of an object's drop shadow hiliteColor: the color of highlighted objects and of text selections focusColor: the color of the outline around the object when it has the focus" However, when you go to the colors pane of the Properties Inspector for an image object, you're presented with a list of 8 icons labeled "first color", "second color", etc. instead of foregroundColor, backgroundColor, etc. However, if you hold the mouse over the icons, the tooltips do properly identify them. So first question: why are these not labeled properly? Secondly, they don't seem to do anything. Setting any of them produces no noticeable results. Why? Third, if you color in an image object, that color appears in the first color icon (where it should really appear in the second color icon, which corresponds to background color). If you click the icon to change it, the icon will display the color you chose, but the image doesn't change. When you come back to that pane in the PI, the icon has reverted to the actual color of the image object. So I have two actual questions: 1) what is up with the PI for colors for the image object, and 2) do all 8 colors actually work with the image object? In particular, I want to set the border color to something other than black. I can't seem to do it, even though it has a border. Anybody know? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Is there a better way of scanning this list ?
On 6/14/05, Mikey <[EMAIL PROTECTED]> wrote: > I really like using gmail for handling mailing lists. I've also been using gmail for this list. I have all the messages go to my personal account but are redirected to my gmail account and I view them there. It's the best tool I've found for reading threaded messages and for content which I often need to search. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beachball of death
On 6/12/05, Jon <[EMAIL PROTECTED]> wrote: > > >Right now I'm having my own weird situation where every time I launch > >Rev and click in the menu bar (immediately after launching), Rev > >quits. It started only doing this in 2.5.1 after I installed 2.6. Now > >2.6 is doing it also. Go figure. > > > > Something like that happened to me. After I cleared out all of the > breakpoints that no longer pointed to code (clear all breakpoints), > things improved. I'm running under Windows and using 2.5.1 > I recently had the same thing with an old stack I started working on. I BZ'ed it because I thought it was a problem with 2.6. But then I saw some comments about the breakpoint problem, I cleared the breakpoints, and the program stopped quitting. However, my current situation happens as soon as I launch Rev. I don't open any stacks. I just launch Rev, go to the menu bar, click, and Rev quits. Not just 2.6, but 2.5.1 also. I'm wondering if there are some preference or system files that get written when Rev is installed (OS X 10.4.1) outside of the Rev folder that could be causing this. Because it still happens when I reinstall Rev from scratch. It's got to be some interaction with something else, because if I switch to a different user account and run Rev (from the same Application's folder) it works fine. So far I'm stumpped. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beachball of death
On 6/11/05, Timothy Miller <[EMAIL PROTECTED]> wrote: > Lately, things got worse. Like I open the stack, I get empty error > messages, or an unresponsive error window, I can't edit the stack > script, or background script, or I can edit it, but then I can't save > and close the script. I try to edit one script, but then another > script pops open instead. I tried to trace the bg script, and it > actually froze the debugger! When The Beachball spins, I can move to > the finder, use other applications, and so on, but Rev is either > unresponsive, or responds erratically. Sometimes there's an > unresponsive "do you want to save your changes?" dialog box. At other > time the glowing red "close" button is unresponsive, though I can > always minimize with the yellow button, or bring the window back from > the dock. At times I somehow manage to close all the stacks, by > clicking around somewhat randomly, but Rev still won't quit. Rev > continues to use about 30% of the CPU's capacity at these times. I can't tell you the cause, but I have seen similar behavior from Rev. It seems to go in cycles. Sometimes it does this frequently, and then things calm down and I don't see any problems for a long time. Right now I'm having my own weird situation where every time I launch Rev and click in the menu bar (immediately after launching), Rev quits. It started only doing this in 2.5.1 after I installed 2.6. Now 2.6 is doing it also. Go figure. I've never been able to find a cause or cure for the problems you've described. I just wanted to mention that it's not an isolated occurance. Have a nice vacation. :-) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slide Show on OS X
On 6/11/05, Dar Scott <[EMAIL PROTECTED]> wrote: > > setting the stack to the screenrect and hiding the menubar (and > > taskbar in windows). there's a "hide menubar" that will hide that > > stuff. > > hide menubar > > That's what I could not remember. > For these kinds of apps I put in a mousemove handler that checks to see if the cursor is near the top of the screen, and if so, shows the menubar again. That way you have access when you need it but it stays hidden otherwise. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with Rev and Apple's Bluetooth wireless keyboard (??)
On 6/10/05, Jim MacConnell <[EMAIL PROTECTED]> wrote: > All, > > I have a 17" PB with a Bluetooth keyboard and shift, option and > control key downs work just fine in mouse up handlers. So it > isn't a generic problem. It's true that some? bluetooth devices won't > wake a Mac up if its asleep (as it has to be alert to listen) but > other than that it shouldn't matter. > > Jim Jim, Thanks for that report. I wonder what's going on with mine then. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with Rev and Apple's Bluetooth wireless keyboard (??)
On 6/10/05, Lynch, Jonathan <[EMAIL PROTECTED]> wrote: > Perhaps the other programs are working in a different way? > > If you have the shiftkey down, and press a key, that would send a > different raw character number than if you have the shiftkey up. Right. The rawkeydown handler shows this difference. It just doesn't show anything (nor does "if the shiftkey is down") when I'm only pressing the shiftkey and no other key. > > The other programs that work with the shiftkey on your keyboard might be > detecting the raw character number that is sent when they shiftkey is > down while you press a standard key, rather than detecting whether or > not the shiftkey is actually down. > iPhoto reacts when the option key is pressed with no other keys being pressed. That's what I want to be able to do in Rev (and can do with any other keyboard). While I don't need a raw character number, I do need to be able to respond to "if the optionkey is down", which I can with a regular keyboard but which no longer works on the wireless one. :-( -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with Rev and Apple's Bluetooth wireless keyboard (??)
On 6/10/05, Scott Rossi <[EMAIL PROTECTED]> wrote: > > I empathize with you. Did you try investigating rawKeyDown to see if *any* > messages are sent? Hopefully you will find a workaround. Per the TD for rawkeydown: "On Mac OS systems, no message is sent when a modifier key (Shift, Option, Control, or Command) is pressed, unless another key is pressed along with the modifier key." When I press another key, of course, the shiftkey works as expected (SEE!) > > I recently endured some significant headaches (and subsequent embarrassment) > from a client demo that refused to work on Windows. Had to get everything > working on a Mac at the last minute and apologize to the client for the > apparent lack of functionality in Rev. After many hours of testing/hair > pulling, the issue turned out to be a malfunctioning keyboard that I only > thought to check on a whim, after much help from this list. I remember that. Ugh. > > When faced with issues like these, the "Reasons You're A Software Developer" > offer little comfort. It just goes to show that whatever you build will > *never* work on every system out there and there is no substitute for, as > Klaus Major says, "Test, test, test". Agreed. It was lucky I found this by accident. Maybe I'll find the solution by accident also. :-) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with Rev and Apple's Bluetooth wireless keyboard (??)
On 6/10/05, Alex Tweedly <[EMAIL PROTECTED]> wrote: > I would bet the Bluetooth keyboard is saving power by not transmitting > any info to let the machine know when "unimportant" keys such as shift, > option, etc. are depressed and released. It probably only sends that > info when a "real" key - i.e. one which represents a character - is > pressed. Ugh. This would be bad. I often use a "if the shiftkey is down" or an "if the optionkey is down" in a mouseup handler to provide special features. If you're right, this will no longer work for wireless keyboard users. > There *might* (if you're very lucky) be an option setting in > the keyboard or keyboard driver to control that - but I'd bet against it. I have no idea how to access the keyboard driver. :-( Here's a thought. iPhoto uses the option-down key to change the rotation icon from left to right. I just tried it and pressing the optionkey by itself does, in fact, cause the button to change. So the keyboard is obviously sending out the code. Why doesn't Revolution get it? Any other ideas? -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Problems with Rev and Apple's Bluetooth wireless keyboard (??)
This is very strange. I recently bought a new Mac and ordered Apple's wireless bluetooth keyboard. I've been very happy with it and it has worked flawlessly...until I started working on a Rev application I had previously developed. Then I noticed a very strange thing. Suddenly a handler that used "if the shiftkey is down" didn't work anymore. Of course I thought it was a bug that was introduced in V2.6 but then I checked it in 2.5.1 (where the app was developed) and it didn't work there! So I did some testing. On a different Mac (with a different keyboard) I put this in the message box: put the shiftkey When it was down, it printed out "down". When it was up, it printed out "up". Duh! However, on my bluetooth keyboard, it never recognized the down state. It turns out it has the same problem for the optionkey and the controlkey! Obviously, my keyboard can type in CAPITALS, so it's not a hardware problem. In fact, the only place I've noticed this is in Rev. So... if anyone out there has an Apple wireless keyboard, would you please try the above test and let me know the results. Anybody have any clue why this would be happening? Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution