From janschenkel at yahoo.com Tue Jul 1 00:31:43 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 30 Jun 2008 21:31:43 -0700 (PDT) Subject: Is Revolution build on top of Cocoa or Carbon? In-Reply-To: <48694E75.5080708@codebykevin.com> Message-ID: <31519.9415.qm@web65412.mail.ac4.yahoo.com> --- Kevin Walzer wrote: > Evaluating Revolution on OS X 10.5.2, and wondering > if its Mac engine is > built on top of Carbon or Cocoa. Carbon's days seem > limited (no 64-bit > support, even Adobe is rewriting Photoshop in > Cocoa), so I'm wondering > if Revolution will follow suit. Anyone know? > You don't particularly need 64-bit for regular applications - this is only needed for extremely memory-hungry processes such as database servers and audio/video editors. And frankly, I wouldn't build those in Revolution to begin with. Now I'm pretty sure that Revolution is built on Carbon for Mac-specific features - though the bulk of the code is cross-platform C++ which they could layer Cocoa on top of - this is how other cross-platform application vendors such as Adobe do it. So I wouldn't particularly worry about this Carbon vs Cocoa non-debate. Apple is not going to drop the Carbon API in Snow Leopard, even if it was decided not to make Carbon 64-bit. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From wow at together.net Tue Jul 1 03:27:12 2008 From: wow at together.net (Richard Miller) Date: Tue, 1 Jul 2008 03:27:12 -0400 Subject: OSX Authentication box In-Reply-To: References: Message-ID: Ken, What I am doing is turning file sharing on and off on a Mac. The standard shell script one might use to do this doesn't seem to work when the file sharing control panel is in its "locked" state. > do shell script "/usr/sbin/AppleFileServer" password "x" with > administrator > privileges > > Turning off with: > do shell script "/usr/bin/killall AppleFileServer" password "x" with > administrator privileges When it is locked, I was using Applescript to unlock it. But that requires putting in the password and then closing the dialog box. That's where the problem is coming from. Thanks. Richard On Jun 30, 2008, at 5:41 PM, Ken Ray wrote: >> Is there some other way I can have Rev close that dialog box after >> it's used Applescript to insert the password? > > Just curious - what is it that you're doing that brings up the > authentication dialog? The reason I ask, is that if it can be done > using > shell() there's a way to pass the authentication in the command so > you don't > get the dialog... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From palcibiades-first at yahoo.co.uk Tue Jul 1 03:56:06 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 1 Jul 2008 08:56:06 +0100 Subject: alternative desktops in Linux Message-ID: <200807010856.06431.palcibiades-first@yahoo.co.uk> http://beginlinux.com/index.php/desktop_training/ubuntuhardyheron_cat/112-ubuntu804/1035-ubuntu-804-desktop-options Basic article, but might be of interest to anyone who has never tried alternative desktops in Linux - maybe just used the Gnome that comes standard with Ubuntu. Its written by a Ubuntu user but of course any desktop works with any distro. The resource consumption data is quite interesting. My impression is that KDE (not listed obviously) is more resource intensive than Gnome, but I haven't seen this documented. Peter From scott at tactilemedia.com Tue Jul 1 05:46:57 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 01 Jul 2008 02:46:57 -0700 Subject: alternative desktops in Linux In-Reply-To: <200807010856.06431.palcibiades-first@yahoo.co.uk> Message-ID: Recently, Peter Alcibiades wrote: > Basic article, but might be of interest to anyone who has never tried > alternative desktops in Linux - maybe just used the Gnome that comes standard > with Ubuntu. Its written by a Ubuntu user but of course any desktop works > with any distro. If one is really interested in alternative Linux desktops, this video shows off beryl, one of the cooler packages for Ubuntu (pitted against Windows Vista). http://youtube.com/watch?v=xC5uEe5OzNQ I don't have a Linux system myself, but the video makes me want one just for the pure fun of it. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From andres at bakno.com Tue Jul 1 07:33:41 2008 From: andres at bakno.com (Andres Martinez) Date: Tue, 1 Jul 2008 07:33:41 -0400 Subject: Background Color Message-ID: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> Hello When the main stack's background color is changed, the color of any new answer dialog window is also changed. I am having a problem when that color is black because the letters on the dialog window are black and they become invisible. Is it possible to have different background colors for the main stack and the dialog windows? Thank you, Andres Martinez www.baKno.com From m.schonewille at economy-x-talk.com Tue Jul 1 07:42:38 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 1 Jul 2008 13:42:38 +0200 Subject: Background Color In-Reply-To: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> References: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> Message-ID: <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> Hi Andres, set the backgroundColor of stack "Ask Dialog" to white But another solution might be: answer warning "

Hell World!

" with "Okay" Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 1-jul-2008, om 13:33 heeft Andres Martinez het volgende geschreven: > Hello > > When the main stack's background color is changed, the color of any > new answer dialog window is also changed. > > I am having a problem when that color is black because the letters > on the dialog window are black and they become invisible. > > Is it possible to have different background colors for the main > stack and the dialog windows? > > Thank you, > Andres Martinez > www.baKno.com > From shoreagent at gmail.com Tue Jul 1 08:13:10 2008 From: shoreagent at gmail.com (william humphrey) Date: Tue, 1 Jul 2008 08:13:10 -0400 Subject: concatenate fields In-Reply-To: References: <459b22a90806301944g7bf04907n4e9ba03dd228ce2c@mail.gmail.com> Message-ID: <459b22a90807010513v3e7899a0yd33e24e0ab596b50@mail.gmail.com> Thanks Sarah. I thought I'd have to do it like that with a bunch of "if's" but I'm always reading these amazing solutions here so I'm beginning to think that there is some magic beyond ordinary mortals. It is a relief to know that sometimes the mundane answer is correct. From mikeythek at gmail.com Tue Jul 1 08:57:56 2008 From: mikeythek at gmail.com (Mikey) Date: Tue, 1 Jul 2008 08:57:56 -0400 Subject: Background Color In-Reply-To: <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> References: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> Message-ID: <9b408d8e0807010557s7b8dcb97veb662e829000648e@mail.gmail.com> Huh. On XP, it is still grey for me. -- Diogenes - "What I like to drink most is wine that belongs to others." From mikeythek at gmail.com Tue Jul 1 09:02:44 2008 From: mikeythek at gmail.com (Mikey) Date: Tue, 1 Jul 2008 09:02:44 -0400 Subject: Getting Custom Colors To Be Persistent In A Project Message-ID: <9b408d8e0807010602m33f90983u12582f6a27ef08d7@mail.gmail.com> XP So I created a couple of custom colors to match a theme for a project. However when I closed the project and came back in, they're gone. What's a good way to store these so they appear in the color palette when I come back in? -- Ronald Reagan - "Recession is when a neighbour loses his job. Depression is when you lose yours." From FlexibleLearning at tiscali.co.uk Tue Jul 1 09:08:32 2008 From: FlexibleLearning at tiscali.co.uk (Hugh Senior) Date: Tue, 1 Jul 2008 14:08:32 +0100 Subject: How broke is the Player? References: <20080619144148.A3152489C71@mail.runrev.com> Message-ID: <382353782BF345508308BA19E089EF6A@Oscar> Under Windows in Rev 2.9.610... - Player doesn't handle images. - Player plays .wmv in a stack but not a standAlone (mc cannot reference them at all). - Player is unable to display a controller in non-QT videoClips. - Player start/stop/pause commands are inconsistenly operational. - Player callbacks only work when using the controller, but not when controlling a clip programmatically. Are all these known issues, is it me, or has the Player been inadvertantly compromised in the latest release version? I don't recall having these problems before and cannot find anything in the bug database. Insights welcomed. The 'functionally-disadvantaged' player object on my set-up is currently blocking a project. /H From andres at bakno.com Tue Jul 1 09:14:19 2008 From: andres at bakno.com (Andres Martinez) Date: Tue, 1 Jul 2008 09:14:19 -0400 Subject: Background Color In-Reply-To: <9b408d8e0807010557s7b8dcb97veb662e829000648e@mail.gmail.com> References: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> <9b408d8e0807010557s7b8dcb97veb662e829000648e@mail.gmail.com> Message-ID: Hello Mikey Sorry, I forgot to mention... on the development environment the color is not changed, only on the compiled application. Regards, Andres Martinez www.baKno.com On Jul 1, 2008, at 8:57 AM, Mikey wrote: > Huh. On XP, it is still grey for me. > > -- > Diogenes - "What I like to drink most is wine that belongs to > others." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andres at bakno.com Tue Jul 1 09:18:29 2008 From: andres at bakno.com (Andres Martinez) Date: Tue, 1 Jul 2008 09:18:29 -0400 Subject: Background Color In-Reply-To: <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> References: <2046351C-48BC-4E05-A982-3E17CCAC0A8B@bakno.com> <434B0A6D-C073-4BEE-9143-837D396E2EED@economy-x-talk.com> Message-ID: Thanks Mark Your first suggestion works perfectly. Thank you, Andres Martinez www.baKno.com On Jul 1, 2008, at 7:42 AM, Mark Schonewille wrote: > Hi Andres, > > set the backgroundColor of stack "Ask Dialog" to white > > But another solution might be: > > answer warning "

Hell World!

" with > "Okay" > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 1-jul-2008, om 13:33 heeft Andres Martinez het volgende geschreven: > >> Hello >> >> When the main stack's background color is changed, the color of any >> new answer dialog window is also changed. >> >> I am having a problem when that color is black because the letters >> on the dialog window are black and they become invisible. >> >> Is it possible to have different background colors for the main >> stack and the dialog windows? >> >> Thank you, >> Andres Martinez >> www.baKno.com >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Tue Jul 1 09:33:12 2008 From: mikeythek at gmail.com (Mikey) Date: Tue, 1 Jul 2008 09:33:12 -0400 Subject: Copying Property Profiles From One Object To Another Message-ID: <9b408d8e0807010633j9bb7ad6r48a66e22b122744a@mail.gmail.com> 1) It appears that I can't have master property profiles that I have inherited for an entire stack. Is that correct? 2) If 1 is true, then what's an easy way to copy property profiles from one object to another (objects of the same type) -- Diogenes - "What I like to drink most is wine that belongs to others." From sims at ezpzapps.com Tue Jul 1 09:48:07 2008 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 1 Jul 2008 15:48:07 +0200 Subject: How broke is the Player? In-Reply-To: <382353782BF345508308BA19E089EF6A@Oscar> References: <20080619144148.A3152489C71@mail.runrev.com> <382353782BF345508308BA19E089EF6A@Oscar> Message-ID: <72BDC7A4-BFA8-4F3D-AEC0-D86AB2DC98AA@ezpzapps.com> On Jul 1, 2008, at 3:08 PM, Hugh Senior wrote: > Under Windows in Rev 2.9.610... > - Player plays .wmv in a stack but not a standAlone (mc cannot > reference them at all). > Insights welcomed. The 'functionally-disadvantaged' player object on > my set-up is currently blocking a project. I think that I sent you a 2.9 standalone which did play WMV files, yes? It would have been a Rev version. sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.einspine.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From sims at ezpzapps.com Tue Jul 1 09:50:12 2008 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 1 Jul 2008 15:50:12 +0200 Subject: How broke is the Player? In-Reply-To: <72BDC7A4-BFA8-4F3D-AEC0-D86AB2DC98AA@ezpzapps.com> References: <20080619144148.A3152489C71@mail.runrev.com> <382353782BF345508308BA19E089EF6A@Oscar> <72BDC7A4-BFA8-4F3D-AEC0-D86AB2DC98AA@ezpzapps.com> Message-ID: <42D410E6-0F5E-44F8-B91F-1B6694734DA3@ezpzapps.com> On Jul 1, 2008, at 3:48 PM, Jim Sims wrote: > I think that I sent you a 2.9 standalone which did play WMV files, > yes? It would > have been a Rev version. It did have some of the controller issues you mention, but it did play WMV (handicapped as it was). sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.einspine.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From sandrah9 at comcast.net Tue Jul 1 10:33:42 2008 From: sandrah9 at comcast.net (sandrah9 at comcast.net) Date: Tue, 01 Jul 2008 14:33:42 +0000 Subject: Subject: Custom colored scrollbars for fields BETA Message-ID: <070120081433.29843.486A4046000C51C0000074932200762302C7080E9D0B020E9C@comcast.net> I am using Mac 10.5.3 and so far it seems to work fine! This is a neat little plug-in. Good work. Sandy From sundown at pacifier.com Tue Jul 1 10:39:31 2008 From: sundown at pacifier.com (-= JB =-) Date: Tue, 1 Jul 2008 07:39:31 -0700 Subject: Externals API calls Message-ID: <526D6E6E-8A20-485B-870F-8A8D051412CE@pacifier.com> Where can I find a list of all Revolution Externals API calls so I can see what all can be used in externals for Rev? -=>JB<=- From lists at mangomultimedia.com Tue Jul 1 10:46:27 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Jul 2008 10:46:27 -0400 Subject: Externals API calls In-Reply-To: <526D6E6E-8A20-485B-870F-8A8D051412CE@pacifier.com> References: <526D6E6E-8A20-485B-870F-8A8D051412CE@pacifier.com> Message-ID: On Jul 1, 2008, at 10:39 AM, -= JB =- wrote: > Where can I find a list of all Revolution Externals API calls so I can > see what all can be used in externals for Rev? In the root directory where you create your externals (assuming you used "External Creator X.rev") there is a folder called libexternal. Look in the src directory and you will find external.c and external.h. Take a look at external.h. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jacque at hyperactivesw.com Tue Jul 1 11:39:21 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jul 2008 10:39:21 -0500 Subject: OSX Authentication box In-Reply-To: References: Message-ID: <486A4FA9.7050204@hyperactivesw.com> Richard Miller wrote: > Ken, > > What I am doing is turning file sharing on and off on a Mac. The > standard shell script one might use to do this doesn't seem to work when > the file sharing control panel is in its "locked" state. > >> do shell script "/usr/sbin/AppleFileServer" password "x" with >> administrator >> privileges >> >> Turning off with: >> do shell script "/usr/bin/killall AppleFileServer" password "x" with >> administrator privileges > > When it is locked, I was using Applescript to unlock it. But that > requires putting in the password and then closing the dialog box. That's > where the problem is coming from. I tend to think that's a good thing. If an administrator has locked file sharing (or any other preference,) there's a reason. Seems to me it would be a security hole if anyone were able to unlock system prefs behind the user's back -- malware would certainly take advantage of that. I think my solution would be to see if the script succeeds, and if not, put up an error dialog informing the user of the problem. Then let them make the decision about what to do. Personally, as a user, I would avoid software that changes my preferences like that. I'm not even real comfortable with it turning file sharing on and off without my knowledge. I'd much prefer that the software tell me about its requirements and let me do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Tue Jul 1 13:33:56 2008 From: wow at together.net (Richard Miller) Date: Tue, 1 Jul 2008 13:33:56 -0400 Subject: OSX Authentication box In-Reply-To: <486A4FA9.7050204@hyperactivesw.com> References: <486A4FA9.7050204@hyperactivesw.com> Message-ID: <94A09652-8B3E-4B16-9F98-E50FAF804948@together.net> The problem here is that this is on a customer's server and my company is responsible for a remote backup of this unit late at night which requires file sharing to be turned off. The Rev/Applescript program is supposed to briefly turn off file sharing, let the system backup, then turn it back on again. It has to be an automated operation. Richard On Jul 1, 2008, at 11:39 AM, J. Landman Gay wrote: > Richard Miller wrote: >> Ken, >> What I am doing is turning file sharing on and off on a Mac. The >> standard shell script one might use to do this doesn't seem to >> work when the file sharing control panel is in its "locked" state. >>> do shell script "/usr/sbin/AppleFileServer" password "x" with >>> administrator >>> privileges >>> >>> Turning off with: >>> do shell script "/usr/bin/killall AppleFileServer" password "x" with >>> administrator privileges >> When it is locked, I was using Applescript to unlock it. But that >> requires putting in the password and then closing the dialog box. >> That's where the problem is coming from. > > I tend to think that's a good thing. If an administrator has locked > file sharing (or any other preference,) there's a reason. Seems to > me it would be a security hole if anyone were able to unlock system > prefs behind the user's back -- malware would certainly take > advantage of that. I think my solution would be to see if the > script succeeds, and if not, put up an error dialog informing the > user of the problem. Then let them make the decision about what to do. > > Personally, as a user, I would avoid software that changes my > preferences like that. I'm not even real comfortable with it > turning file sharing on and off without my knowledge. I'd much > prefer that the software tell me about its requirements and let me > do it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at tiscali.co.uk Tue Jul 1 13:40:02 2008 From: FlexibleLearning at tiscali.co.uk (Hugh Senior) Date: Tue, 1 Jul 2008 18:40:02 +0100 Subject: How broke is the Player? References: <20080701170005.226E7489069@mail.runrev.com> Message-ID: <619D06A6A047416AB20CD605B058A24D@Oscar> On Jul 1, 2008, at 3:08 PM, Hugh Senior wrote: > Under Windows in Rev 2.9.610... > The 'functionally-disadvantaged' player object on > my set-up is currently blocking a project. On Jul 1, 2008, at 3:48 PM, Jim Sims wrote: > I think that I sent you a 2.9 standalone which did play WMV files, > yes? It would have been a Rev version. > It did have some of the controller issues you mention, but > it did play WMV (handicapped as it was). You did indeed, sims, and your good offices were the sole reason that I persisted. There are, however, fundamental functional differences in ability to play, let alone ability to control, different movie formats between the RevUI, the mcUI, and a standAlone (where rev and mc obviously coincide). I have bugzilla'd this as #6672 with a checklist summary of findings at http://quality.runrev.com/qacenter/attachment.cgi?id=1344&action=view. What really surprises me is that a player object in the RevUI cannot display a JPEG whereas the mcUI has no problem, and that the RevUI is able to handle MWV (albeit handicapped without a controller) but the mcUI cannot reference such files at all. All most frustrating and not a little contradictory in delivery. /H From randall at randallreetz.com Tue Jul 1 14:13:45 2008 From: randall at randallreetz.com (Randall Reetz) Date: Tue, 1 Jul 2008 11:13:45 -0700 Subject: How broke is the Player? Message-ID: <20080701181517.NHRE7681.atlmtaow03.cingularme.com@Inbox> I dont have a penny!... You happy now? -----Original Message----- From: "Hugh Senior" To: use-revolution at lists.runrev.com Sent: 7/1/2008 10:40 AM Subject: Re: How broke is the Player? On Jul 1, 2008, at 3:08 PM, Hugh Senior wrote: > Under Windows in Rev 2.9.610... > The 'functionally-disadvantaged' player object on > my set-up is currently blocking a project. On Jul 1, 2008, at 3:48 PM, Jim Sims wrote: > I think that I sent you a 2.9 standalone which did play WMV files, > yes? It would have been a Rev version. > It did have some of the controller issues you mention, but > it did play WMV (handicapped as it was). You did indeed, sims, and your good offices were the sole reason that I persisted. There are, however, fundamental functional differences in ability to play, let alone ability to control, different movie formats between the RevUI, the mcUI, and a standAlone (where rev and mc obviously coincide). I have bugzilla'd this as #6672 with a checklist summary of findings at http://quality.runrev.com/qacenter/attachment.cgi?id=1344&action=view. What really surprises me is that a player object in the RevUI cannot display a JPEG whereas the mcUI has no problem, and that the RevUI is able to handle MWV (albeit handicapped without a controller) but the mcUI cannot reference such files at all. All most frustrating and not a little contradictory in delivery. /H _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Tue Jul 1 14:49:41 2008 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 1 Jul 2008 15:49:41 -0300 Subject: revbrowser - Account login done in background In-Reply-To: <3d8af4150806301421x62def142ud5e374f4cee0be92@mail.gmail.com> References: <3d8af4150806301421x62def142ud5e374f4cee0be92@mail.gmail.com> Message-ID: <7c87a2a10807011149l76d6f63bv2c5a82f5cd351d20@mail.gmail.com> Glen, If I remember correctly, that init call was not related to any web page login, it was there to verify that you had a valid altBrowser license. These days, you simply call RevBrowserOpen, you don't need to have a license anymore. If you want to be able to login automatically to a web site, first you need to learn how it's autentication scheme is done, if it is a http basic authentication or it is some javascript + cookies thing. It might be the case where you need some clever javascript injection and if it needs so, then, it might not be worth pursuit. If it is cookie based, you can use a simple URL call to capture the cookie and script the RevBrowser using it's htmltext property, this includes overwritting all links inside so you can trap them with RevBrowserBeforeNavigate so that you can use custom URL calls with your captured cookie, this can also be done with javascript injection where you add javascript to the html source to set the cookies on the browser and thus be able to navigate normally. Any way, I've did this sort of stuff as an experiment, I would not trust these techniques into something you intend to deploy. A single change in the web page on the server side and everything breaks. PS: If by login, you simply want to display a web page, you can use the URL property of RevBrowser to open such page. Andre On Mon, Jun 30, 2008 at 6:21 PM, Glen Bojsza wrote: > Hello, > > There used to be XBrowser_Init "myUsername", "myPassword" that support > altBrowser but it is no longer supported with revBrowser. > > I would like to automatically be able to login to a known web site with the > push of a button. Is there a way to do this using revBrowser? > > thanks, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Tue Jul 1 15:41:14 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jul 2008 14:41:14 -0500 Subject: OSX Authentication box In-Reply-To: <94A09652-8B3E-4B16-9F98-E50FAF804948@together.net> References: <486A4FA9.7050204@hyperactivesw.com> <94A09652-8B3E-4B16-9F98-E50FAF804948@together.net> Message-ID: <486A885A.2010000@hyperactivesw.com> Richard Miller wrote: > The problem here is that this is on a customer's server and my company > is responsible for a remote backup of this unit late at night which > requires file sharing to be turned off. The Rev/Applescript program is > supposed to briefly turn off file sharing, let the system backup, then > turn it back on again. It has to be an automated operation. Oh. Well then, that's different. I'm afraid I don't know the answer though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at mac.com Tue Jul 1 16:11:27 2008 From: slylabs13 at mac.com (Robert Sneidar) Date: Tue, 01 Jul 2008 10:11:27 -1000 Subject: WPAD and DHCP Servers In-Reply-To: References: <5970887F-B087-405E-A623-1DDA895E28B8@mac.com> Message-ID: Hi Trevor. Are you trying to set the TCP stack on the local machine to use DHCP or are you trying to make an actual DHCP server IN Revolution? To set the TCP stack on Macs in a terminal session you would use: networksetup -setdhcp networksetup -setdnsservers # (the empty is for automatic DNS from the DHCP server) Replace with the name of the device such as "Built-in Ethnernet" or "AirPort". Note that these services are cASE sENSITIVE. If there are spaces enclose in quotes. I usually just use quotes all the time. Can't screw it up that way. I think you may have trouble though if the current user is not an Admin, in which case you will have to use sudo networksetup -setdhcp and it will probably want the password the first time you use sudo in that session. for PC's in a command window use: netsh interface ip set address name= source=dhcp Again, you have to be logged in as an administrator. I am not sure what the DNS command is, but you can use netsh interface ip /? to get more info. Sorry if I am missing what you are trying to do. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Jun 30, 2008, at 3:30 AM, Trevor DeVore wrote: > On Jun 29, 2008, at 2:59 PM, Robert Sneidar wrote: > >> Hi Trevor. See http://www.comptechdoc.org/independent/networking/guide/netdhcp.html >> for a basic treatment of the issue. >> >> You use the global broadcast address for DHCP which is >> 255.255.255.255 as the source and 0.0.0.0 as the destination. (I >> have seen some DHCP servers use the subnet broadcast address which >> would be 255.255.0.0 for a class B subnet, but it proved to be >> problematic.) >> >> DHCP is a broadcast protocol, given the fact that you don't >> actually have an address on the subnet yet. You would issue a >> DHCPREQUEST on destination port number 67 using 68 as the source >> port. Clients always use 67 and servers always use 68. >> ... > > Thanks for the info Bob. Very helpful. > > Now I just need to figure out how to make these requests from Rev... > Anyone know how to do this? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Jul 1 16:59:53 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Jul 2008 16:59:53 -0400 Subject: WPAD and DHCP Servers In-Reply-To: References: <5970887F-B087-405E-A623-1DDA895E28B8@mac.com> Message-ID: <986DAEC1-2DCE-494F-BF47-1678B7578CB5@mangomultimedia.com> On Jul 1, 2008, at 4:11 PM, Robert Sneidar wrote: > Hi Trevor. > > Are you trying to set the TCP stack on the local machine to use DHCP > or are you trying to make an actual DHCP server IN Revolution? > > ... > > Sorry if I am missing what you are trying to do. Hi Bob, I'm trying to implement the DHCP discovery portion of the WPAD protocol from within Revolution. On a network where the WPAD protocol is implemented the network administrator can have the DHCP server respond to "option 252" communicated using the DHCPInform message. The response from the DHCP server is the url where the PAC file is that should be used for determining the proxy server IP address that should be used for outgoing connections. Currently on networks that use WPAD Revolution applications cannot connect to the internet. Thanks, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From sundown at pacifier.com Tue Jul 1 19:05:29 2008 From: sundown at pacifier.com (-= JB =-) Date: Tue, 1 Jul 2008 16:05:29 -0700 Subject: Externals API calls In-Reply-To: References: <526D6E6E-8A20-485B-870F-8A8D051412CE@pacifier.com> Message-ID: Thanks for the info Trevor -=>JB<=- On Jul 1, 2008, at 7:46 AM, Trevor DeVore wrote: > On Jul 1, 2008, at 10:39 AM, -= JB =- wrote: > >> Where can I find a list of all Revolution Externals API calls so I >> can >> see what all can be used in externals for Rev? > > In the root directory where you create your externals (assuming you > used "External Creator X.rev") there is a folder called > libexternal. Look in the src directory and you will find external.c > and external.h. Take a look at external.h. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Jul 1 21:41:55 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Jul 2008 09:41:55 +0800 Subject: OSX Authentication box In-Reply-To: <6396FF19-21CB-4C21-B793-8BF2DE83E2CB@together.net> References: <5970887F-B087-405E-A623-1DDA895E28B8@mac.com> <6396FF19-21CB-4C21-B793-8BF2DE83E2CB@together.net> Message-ID: On Mon, Jun 30, 2008 at 10:14 PM, Richard Miller wrote: > This works fine on my older MacBook using 10.4.11, but for whatever reason, > it doesn't work on a newer desktop Mac (also using 10.4.11). It just ignores > the Applescript "return" command and leaves the Authentication dialog box > open. ("Enable Access for Assistive Devices" is turned on.) > > I just tried this on a Intel MacBook Pro with 10.5.3 and it works fine. There must be another reason why the 'new' mac is not recognising the return, unfortunately I can't provide any suggestion :-( I assume the mac you need this to run is the one that isn't recognising the keystroke? From lan.kc.macmail at gmail.com Tue Jul 1 22:29:11 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Jul 2008 10:29:11 +0800 Subject: OSX Authentication box In-Reply-To: <6396FF19-21CB-4C21-B793-8BF2DE83E2CB@together.net> References: <5970887F-B087-405E-A623-1DDA895E28B8@mac.com> <6396FF19-21CB-4C21-B793-8BF2DE83E2CB@together.net> Message-ID: On Mon, Jun 30, 2008 at 10:14 PM, Richard Miller wrote: > > This works fine on my older MacBook using 10.4.11, but for whatever reason, > it doesn't work on a newer desktop Mac (also using 10.4.11). I forgot to ask. Does it work if you run in AppleScript Editor? ie outside of Rev. From sundown at pacifier.com Tue Jul 1 23:25:28 2008 From: sundown at pacifier.com (-= JB =-) Date: Tue, 1 Jul 2008 20:25:28 -0700 Subject: the standard C++ library Message-ID: <60FA75BA-1206-41DC-B31C-B31EC5ECF353@pacifier.com> In the FAQ section of lesson-1 it mentions we can use the standard C+ + library. I have a pre OSX version of Codewarrior which includes some good doc files. What is a good resource for C and C++ for OS X. Is there a big difference with comparison to the pre OSX Codewarrior docs. Can just about anything be done from within an Rev external or what are the limitations? -=>JB<=- From sundown at pacifier.com Wed Jul 2 02:55:15 2008 From: sundown at pacifier.com (-= JB =-) Date: Tue, 1 Jul 2008 23:55:15 -0700 Subject: the standard C++ library In-Reply-To: <60FA75BA-1206-41DC-B31C-B31EC5ECF353@pacifier.com> References: <60FA75BA-1206-41DC-B31C-B31EC5ECF353@pacifier.com> Message-ID: <9EBA76E5-99C2-4BE4-9A7A-1E505541CA2F@pacifier.com> When I said Lesson-1 it was in reference to Writing Externals Lesson-1 from the Rev news article. I am wondering what limitations there are to using the full power of C++ within an external and where I can get the most updated library & docs that will help me include the C++ library within a OS X Rev external. -=>JB<=- On Jul 1, 2008, at 8:25 PM, -= JB =- wrote: > In the FAQ section of lesson-1 it mentions we can use the standard C > ++ library. > I have a pre OSX version of Codewarrior which includes some good > doc files. > What is a good resource for C and C++ for OS X. Is there a big > difference with > comparison to the pre OSX Codewarrior docs. > > Can just about anything be done from within an Rev external or what > are the > limitations? > > -=>JB<=- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Wed Jul 2 03:43:23 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 09:43:23 +0200 Subject: How to keep dir structure when building standalone? Message-ID: <000d01c8dc17$4f214c80$18b2a8c0@TiemoPC2> Hello, I have a db, which is located in a folder one level deeper as my app (myfolder/mydb). In the standalone app settings I located and added mydb and when building the standalone it takes also mydb in the standalone package. So far so good. BUT the standalone builder doesn't keeps the directory structure, it just puts mydb in the same folder/level as my app with the consequence that my path to mydb doesn't fit any more. So when creating my CD-ROM, I have to put mydb again by hand one level deeper in myfolder/mydb. Is this the way how you should work, or am I doing something wrong with building the standalone? Thank you for any hints Tiemo From toolbook at kestner.de Wed Jul 2 03:53:25 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 09:53:25 +0200 Subject: AW: How to keep dir structure when building standalone? In-Reply-To: <000d01c8dc17$4f214c80$18b2a8c0@TiemoPC2> Message-ID: <001201c8dc18$b5d1cad0$18b2a8c0@TiemoPC2> Sorry I am just a little puzzled. I just let the structure as the builder build it and my app is now running, though mydb is not at the location, where I expected it to be (in the folder myfolder). ??? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Mittwoch, 2. Juli 2008 09:43 > An: Revlist > Betreff: How to keep dir structure when building standalone? > > Hello, > > I have a db, which is located in a folder one level deeper as my app > (myfolder/mydb). In the standalone app settings I located and added mydb > and > when building the standalone it takes also mydb in the standalone package. > So far so good. > > BUT the standalone builder doesn't keeps the directory structure, it just > puts mydb in the same folder/level as my app with the consequence that my > path to mydb doesn't fit any more. So when creating my CD-ROM, I have to > put > mydb again by hand one level deeper in myfolder/mydb. Is this the way how > you should work, or am I doing something wrong with building the > standalone? > > > > Thank you for any hints > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Wed Jul 2 05:04:36 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 11:04:36 +0200 Subject: AW: How to keep dir structure when building standalone? In-Reply-To: <001201c8dc18$b5d1cad0$18b2a8c0@TiemoPC2> Message-ID: <001b01c8dc22$a7922230$18b2a8c0@TiemoPC2> Sorry no, I was wrong again, it doesn't work. What I have to say is, that I develop on Win XP, Rev 2.9, where I can see the path structure of my mac standalone. I try to get it to run on Mac, where I don't see the path structure within the app package. For Windows standalone I just can add the folder in the standalone and shift the db into that folder (what the standalone builder hasn't done, why?). That works. But when I create on my windows machine the dbfolder in the Mac standalone package and shift the db into this folder, my app doesn't find the db, when testing on the Mac Hmmm, still missing some basics of Mac app structure. Any help? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Mittwoch, 2. Juli 2008 09:53 > An: 'How to use Revolution' > Betreff: AW: How to keep dir structure when building standalone? > > Sorry I am just a little puzzled. I just let the structure as the builder > build it and my app is now running, though mydb is not at the location, > where I expected it to be (in the folder myfolder). > ??? > Tiemo From runrev at animabit.de Wed Jul 2 06:13:30 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Wed, 2 Jul 2008 10:13:30 +0000 Subject: how to for making a commercial library for runrev (barcode analysis) Message-ID: Hello colleagues, I have made a program in runrev which gets the jpg data of 5 scanservers with scanned labels and analyses the 2 to 4 barcodes 39. After a testing phase with permanent improvement it now works 8 hours a day connecting to 3-5 scanservers stable. The project was part of quality assurance in an industrial environment. In another project (an older one) a runrev prog looks permanently to a directory where scanned images are stored by a scanner, and moves and analyses and comments on these images. The barcode analysis is completely programmed in transcript (500-700 msec per scan with 4 to 30 captures of subareas of the image - black/white conversions with different filters and barcode analysis). The quality of the jpgs is 150 dpi (normally 300 dpi is the starting point of doing barcode scans ...) where one small barcode line (one modul) is about one pixel - hard task, but there are millions of those jpgs a month and storage over years should not explode ... A test for 128 barcode (possible only with higher resolution starting about 200 dpi) had been successful, but was not finally needed for this project and must be improved for final application. Now I think about making a commercial barcode analysis library for runrev. Does there exist any standards how to make commercial libraries in runrev? How to spread a password protected library stack in the community? Regards, Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From toolbook at kestner.de Wed Jul 2 06:16:13 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 12:16:13 +0200 Subject: AW: how to for making a commercial library for runrev (barcode analysis) In-Reply-To: Message-ID: <001c01c8dc2c$a86433b0$18b2a8c0@TiemoPC2> Hi Franz, nice to hear from you again! Sophisticated things you are doing :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von runrev at animabit.de > Gesendet: Mittwoch, 2. Juli 2008 12:14 > An: use-revolution at lists.runrev.com > Betreff: how to for making a commercial library for runrev (barcode > analysis) > > Hello colleagues, > > I have made a program in runrev which gets the jpg data of 5 scanservers > with scanned labels and analyses the 2 to 4 barcodes 39. After a testing > phase with permanent improvement it now works 8 hours a day connecting to > 3-5 scanservers stable. The project was part of quality assurance in an > industrial environment. > In another project (an older one) a runrev prog looks permanently to a > directory where scanned images are stored by a scanner, and moves and > analyses and comments on these images. > The barcode analysis is completely programmed in transcript (500-700 msec > per scan with 4 to 30 captures of subareas of the image - black/white > conversions with different filters and barcode analysis). The quality of > the jpgs is 150 dpi (normally 300 dpi is the starting point of doing > barcode scans ...) where one small barcode line (one modul) is about one > pixel - hard task, but there are millions of those jpgs a month and > storage over years should not explode ... > A test for 128 barcode (possible only with higher resolution starting > about 200 dpi) had been successful, but was not finally needed for this > project and must be improved for final application. > > Now I think about making a commercial barcode analysis library for runrev. > > Does there exist any standards how to make commercial libraries in runrev? > How to spread a password protected library stack in the community? > > > Regards, > Mit freundlichen Gr??en > Franz B?hmisch > > boehmisch at animabit.de > http://www.animabit.de > GF Animabit Multimedia Software GmbH > Am Sonnenhang 22 > D-94136 Thyrnau > Tel +49 (0)8501-8538 > Fax +49 (0)8501-8537 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wow at together.net Wed Jul 2 06:57:13 2008 From: wow at together.net (Richard Miller) Date: Wed, 2 Jul 2008 06:57:13 -0400 Subject: OSX Authentication box In-Reply-To: References: <5970887F-B087-405E-A623-1DDA895E28B8@mac.com> <6396FF19-21CB-4C21-B793-8BF2DE83E2CB@together.net> Message-ID: Kay, It doesn't work in the Editor either... not on the desktop unit. The Editor inserts the password, but won't generate a return that is acceptable to the Authentication box. But I've resolved this issue a different way. Thanks for your help. Richard On Jul 1, 2008, at 10:29 PM, Kay C Lan wrote: > On Mon, Jun 30, 2008 at 10:14 PM, Richard Miller > wrote: > >> >> This works fine on my older MacBook using 10.4.11, but for >> whatever reason, >> it doesn't work on a newer desktop Mac (also using 10.4.11). > > > I forgot to ask. Does it work if you run in AppleScript Editor? ie > outside > of Rev. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Wed Jul 2 07:26:22 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 2 Jul 2008 20:26:22 +0900 Subject: the Rev Kagi-KRM? In-Reply-To: <485DA61A.5070900@hyperactivesw.com> References: <1e91b2b70806182019u36e47562u81ce1a2fa0d7aa24@mail.gmail.com> <54096D3D-1BD4-4B0F-B69C-94AA3323FFCB@kagi.com> <1e91b2b70806211620i540e1436u5d68805ea577e265@mail.gmail.com> <485DA61A.5070900@hyperactivesw.com> Message-ID: <1e91b2b70807020426q16b126cmcf73a4d39dc8d4ad@mail.gmail.com> > We made it for both Windows and Mac. We're coordinating with Kee now, I've > sent him the name of my client. By the way, the person who did the magic > external was Brian Yennie, a very talented guy. Still hoping this is still in the works... or, better yet, completed? -- Nicolas Cueto From janschenkel at yahoo.com Wed Jul 2 09:22:33 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 2 Jul 2008 06:22:33 -0700 (PDT) Subject: how to for making a commercial library for runrev (barcode analysis) In-Reply-To: Message-ID: <187949.20402.qm@web65407.mail.ac4.yahoo.com> --- "runrev at animabit.de" wrote: > Hello colleagues, > > I have made a program in runrev which gets the jpg > data of 5 scanservers with scanned labels and > analyses the 2 to 4 barcodes 39. After a testing > phase with permanent improvement it now works 8 > hours a day connecting to 3-5 scanservers stable. > The project was part of quality assurance in an > industrial environment. > In another project (an older one) a runrev prog > looks permanently to a directory where scanned > images are stored by a scanner, and moves and > analyses and comments on these images. > The barcode analysis is completely programmed in > transcript (500-700 msec per scan with 4 to 30 > captures of subareas of the image - black/white > conversions with different filters and barcode > analysis). The quality of the jpgs is 150 dpi > (normally 300 dpi is the starting point of doing > barcode scans ...) where one small barcode line (one > modul) is about one pixel - hard task, but there are > millions of those jpgs a month and storage over > years should not explode ... > A test for 128 barcode (possible only with higher > resolution starting about 200 dpi) had been > successful, but was not finally needed for this > project and must be improved for final application. > > Now I think about making a commercial barcode > analysis library for runrev. > > Does there exist any standards how to make > commercial libraries in runrev? > How to spread a password protected library stack in > the community? > > > Regards, > Mit freundlichen Gr??en > Franz B?hmisch > Hi Franz, As a provider of Revolution add-ons, I'd advise you to: - contact Heather Nagey for more information about the RevSelect program - join the RevInterop group to find out more about packaging and metadata Generally, I ship my libraries as a self-contained stack that people can 'start using' and then initialize with their license key before they can actually use the commands and functions. For instance, the PDF library has the API help built-in as a substack, as well as a separate substack with demo scripts. When you open the library stack, it has the copyright information and buttons to take you to the demo and documentation substacks. By the way, congratulations with your project: I can't help but thinking of how one could use this with Revolution to create a cross-platform alternative to the excellent Mac-only Delicious Library. Anyway, I hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From mikeythek at gmail.com Wed Jul 2 10:12:44 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 2 Jul 2008 10:12:44 -0400 Subject: Intercepting new card Message-ID: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> Hmm. Well, back in HC, if I wanted to intercept a new card being created, I had an on doMenu handler. When I put in an on menuPick handler in RR and hit ctrl-n, my handler doesn't get hit, and a new card is created. So if this handler should not go in the current stack where should I put it? -- Ronald Reagan - "Recession is when a neighbour loses his job. Depression is when you lose yours." From cmsheffield at gmail.com Wed Jul 2 10:20:16 2008 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 2 Jul 2008 08:20:16 -0600 Subject: Intercepting new card In-Reply-To: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> Message-ID: <4A8FD214-E535-499E-B76E-8F9E69FE8EBF@gmail.com> Unless I'm misunderstanding, I believe you want the newCard message, placed in your stack script. On Jul 2, 2008, at 8:12 AM, Mikey wrote: > Hmm. Well, back in HC, if I wanted to intercept a new card being > created, I > had an on doMenu handler. When I put in an on menuPick handler in > RR and > hit ctrl-n, my handler doesn't get hit, and a new card is created. > So if > this handler should not go in the current stack where should I put it? > > -- > Ronald Reagan - "Recession is when a neighbour loses his job. > Depression is > when you lose yours." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From mikeythek at gmail.com Wed Jul 2 10:35:16 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 2 Jul 2008 10:35:16 -0400 Subject: Intercepting new card In-Reply-To: <4A8FD214-E535-499E-B76E-8F9E69FE8EBF@gmail.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> <4A8FD214-E535-499E-B76E-8F9E69FE8EBF@gmail.com> Message-ID: <9b408d8e0807020735s5753160cp3d00ed6327c531b3@mail.gmail.com> Chris, Thanks for that, but for curiosity sake, what is necessary to intercept the menuPick, or is this one of those cases where you can't because RR is directly executing a RR command? -- Diogenes - "What I like to drink most is wine that belongs to others." From cmsheffield at gmail.com Wed Jul 2 10:39:11 2008 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 2 Jul 2008 08:39:11 -0600 Subject: Intercepting new card In-Reply-To: <9b408d8e0807020735s5753160cp3d00ed6327c531b3@mail.gmail.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> <4A8FD214-E535-499E-B76E-8F9E69FE8EBF@gmail.com> <9b408d8e0807020735s5753160cp3d00ed6327c531b3@mail.gmail.com> Message-ID: <0EA710E8-7EA9-427A-A490-E991F8126C09@gmail.com> If I'm not mistaken, you could certainly do it with a front script. Just be sure to pass it, or none of the menus in the IDE will work. So put a menuPick handler in a button or some other object, then "insert the script of into front". On Jul 2, 2008, at 8:35 AM, Mikey wrote: > Chris, > Thanks for that, but for curiosity sake, what is necessary to > intercept the > menuPick, or is this one of those cases where you can't because RR is > directly executing a RR command? > > > -- > Diogenes - "What I like to drink most is wine that belongs to > others." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From toolbook at kestner.de Wed Jul 2 10:44:38 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 16:44:38 +0200 Subject: AW: How to keep dir structure when building standalone? In-Reply-To: <000d01c8dc17$4f214c80$18b2a8c0@TiemoPC2> Message-ID: <002001c8dc52$27b03ef0$18b2a8c0@TiemoPC2> I don't know if I am completely confused, is it a bug or just wrong implementation? I still have troubles with getting the right path for my DB, developing with 2.9 on Win XP, testing on Mac. Testing on Win, everything works fine. I'll try to describe my problem again. In my development environment my DB is located in a subfolder /db/ To access my DB in my program I tried two ways to set the path: A: relative "/db/" B: absolute "/users/.../db/" 1. When creating the standalone, my DB is put into the same folder as my program: myApp.app/Contents/MacOS (and not as expected in a subfolder: myApp.app/Contents/MacOS/db) Why? 2. The DB file, which is copied into the standalone package has 0 kb. Why? I copied manually the DB file into the package and replaced the 0 kb file. 3. Now I copied the whole package to a Mac and tested, but my program doesn't find the DB in the expected path /db/ neither with method A nor B 4. Only when creating a folder "db" with the DB on the Mac in the same folder as my App, my program finds the DB. But this can't be the way, because now the folder with the DB is outside of the app.package. Where is my fault? Thanks for any help for a runaway :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Mittwoch, 2. Juli 2008 09:43 > An: Revlist > Betreff: How to keep dir structure when building standalone? > > Hello, > > I have a db, which is located in a folder one level deeper as my app > (myfolder/mydb). In the standalone app settings I located and added mydb > and > when building the standalone it takes also mydb in the standalone package. > So far so good. > > BUT the standalone builder doesn't keeps the directory structure, it just > puts mydb in the same folder/level as my app with the consequence that my > path to mydb doesn't fit any more. So when creating my CD-ROM, I have to > put > mydb again by hand one level deeper in myfolder/mydb. Is this the way how > you should work, or am I doing something wrong with building the > standalone? > > > > Thank you for any hints > > Tiemo > From mikeythek at gmail.com Wed Jul 2 10:59:40 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 2 Jul 2008 10:59:40 -0400 Subject: Intercepting new card In-Reply-To: <0EA710E8-7EA9-427A-A490-E991F8126C09@gmail.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> <4A8FD214-E535-499E-B76E-8F9E69FE8EBF@gmail.com> <9b408d8e0807020735s5753160cp3d00ed6327c531b3@mail.gmail.com> <0EA710E8-7EA9-427A-A490-E991F8126C09@gmail.com> Message-ID: <9b408d8e0807020759p5c1ae144t52336ceb19075ce9@mail.gmail.com> as it turns out, it appears that intercepting newCard isn't what I wanted, either, since I don't get the message until after the card is created. I want to do some work ahead of time. -- Bob Hope - "Middle age is when your age starts to show around your middle." From devin_asay at byu.edu Wed Jul 2 12:03:33 2008 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 2 Jul 2008 10:03:33 -0600 Subject: AW: How to keep dir structure when building standalone? In-Reply-To: <002001c8dc52$27b03ef0$18b2a8c0@TiemoPC2> References: <002001c8dc52$27b03ef0$18b2a8c0@TiemoPC2> Message-ID: <6E3D97B2-8279-40AD-A330-7110481BB3BE@byu.edu> Hi Tiemo, On Jul 2, 2008, at 8:44 AM, Tiemo Hollmann TB wrote: > I don't know if I am completely confused, is it a bug or just wrong > implementation? > I still have troubles with getting the right path for my DB, > developing with > 2.9 on Win XP, testing on Mac. Testing on Win, everything works > fine. I'll > try to describe my problem again. > In my development environment my DB is located in a subfolder /db/ > To access my DB in my program I tried two ways to set the path: > A: relative "/db/" > B: absolute "/users/.../db/" > 1. When creating the standalone, my DB is put into the same folder > as my > program: myApp.app/Contents/MacOS (and not as expected in a subfolder: > myApp.app/Contents/MacOS/db) Why? > 2. The DB file, which is copied into the standalone package has 0 > kb. Why? > I copied manually the DB file into the package and replaced the 0 > kb file. > 3. Now I copied the whole package to a Mac and tested, but my program > doesn't find the DB in the expected path /db/ neither with method A > nor B > 4. Only when creating a folder "db" with the DB on the Mac in the same > folder as my App, my program finds the DB. But this can't be the way, > because now the folder with the DB is outside of the app.package. > > Where is my fault? > Thanks for any help for a runaway :) I might not be understanding your problem exactly, but this explanation of how Rev in Mac OS X handles the defaultFolder situation might be helpful. Condition 1: You never explicitly set the defaultFolder in your stack. In the development environment the defaultFolder points to the folder containing the Revolution executable, usually something like / Applications/Revolution Enterprise/2.9.0-gm-1. In the standalone environment the defaultFolder is the folder containing your application bundle--the .app file. Therefore in this case all relative paths will be relative to this folder. So if you distribute your standalone in its own folder, myAppStuff, the defaultFolder would be something like /Applications/myAppStuff. Condition 2: You explicitly set the defaultFolder in your stack to the folder containing your stack. In the development environment the defaultFolder points to the folder containing your stack. In the standalone environment the defaultFolder points to the MacOS folder inside the myApp.app bundle. That would be something like / Applications/myApp.app/Contents/MacOS. Therefore all relative paths will be relative to this folder. To deal with the difference between the IDE and standalone in Mac OS X, I often include the scripting similar to this in my mainstack's stack script: on preOpenStack # set the root folder for all resources if the environment is "development" then set the defaultFolder to enclosingFolder(the name of me) end if ## Do this for local data and media files. set the baseDir of me to the defaultFolder & "/" & "resources" end preOpenStack function enclosingFolder pStName get the filename of pStName set the itemDelimiter to "/" return item 1 to -2 of it end enclosingFolder Hope this helps. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Wed Jul 2 13:01:11 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jul 2008 12:01:11 -0500 Subject: Intercepting new card In-Reply-To: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> Message-ID: <486BB457.70102@hyperactivesw.com> Mikey wrote: > Hmm. Well, back in HC, if I wanted to intercept a new card being created, I > had an on doMenu handler. When I put in an on menuPick handler in RR and > hit ctrl-n, my handler doesn't get hit, and a new card is created. So if > this handler should not go in the current stack where should I put it? > How is your menupick handler set up? In general, I use only a reference to a handler in the menupick, and then put the actual working handler in the message path (card or stack, depending.) So, I'd have something like this: on menupick pWhich case "New card" doNewCard break case end menupick And then in the card or stack: on doNewCard create card end doNewCard That should work. If it doesn't, then the doNewCard handler isn't in the message path and you'd need to figure out why. Often, if you are testing in the IDE, it is Revolution's menus that will get the message, not yours. Rev will make a new card and your own menupick will never fire. (You can test whether this is the case by setting a breakpoint in your menupick handler. If it doesn't break, your menu isn't getting the command.) To make sure you are really triggering own menus on Mac, set editmenus to false so that your menu bar is in the system menu. Or if editmenus is true, specifically choose the New Card item from your menu using the mouse. On Windows and Linux, use the mouse to make sure you are triggering your own menu and not Rev's. Or you can try suspending the development environment to see how it will work in a standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Wed Jul 2 14:27:16 2008 From: mark at maseurope.net (Mark Smith) Date: Wed, 2 Jul 2008 19:27:16 +0100 Subject: Iconify Stack Message-ID: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Is this property broken? I'm using 2.9 on mac 10.4.11, and the following line seems to do nothing at all: set the iconic of this stack to true Am I right in thinking that it should send the stack swooping off to the dock? Best, Mark Smith From toolbook at kestner.de Wed Jul 2 14:33:42 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 20:33:42 +0200 Subject: AW: AW: How to keep dir structure when building standalone? In-Reply-To: <6E3D97B2-8279-40AD-A330-7110481BB3BE@byu.edu> Message-ID: <003501c8dc72$284370b0$18b2a8c0@TiemoPC2> Hi Devin, thank you for your explanation, I think I got the setting of the path correct. (I also tried your function, which is similar to mine) My problem is building the standalone bundle for the Mac on a Win PC. In the development environment my file.db is in "the defaultfolder/resources" (in your example). In the standalone settings I pointed to the file.db to be taken in the standalone. 1. Now, when building the standalone, the builder puts my DBfile in the MacOS folder (what is the defaultfolder) and not in a subfolder "/resources". Why? 2. the DBfile, which the standalonebuilder has put in the MacOS folder has 0 kbWhy ? 3. When creating the /resources/file.db (with a correct file.db) in the standalone MacOS folder after having build the standalone and testing it on a Mac, he doesn't find my file.db though my resource path is correct (tested) 4. Only when creating on the Mac a /resources/file.db folder and file "outside" of the Mac prog.app in the same folder as the prog.app, my prog finds the file.db. Is my problem located in the building of the standalone, where you can't push manually folder and files into, after having created? But why does the standalone finds my file in a folder outside of the prog.app in the same root as prog.app: "/resources/file.db" ? The answer must be so easy, but I don't see it Thank you Tiemo > I might not be understanding your problem exactly, but this > explanation of how Rev in Mac OS X handles the defaultFolder > situation might be helpful. > > Condition 1: You never explicitly set the defaultFolder in your stack. > In the development environment the defaultFolder points to the folder > containing the Revolution executable, usually something like / > Applications/Revolution Enterprise/2.9.0-gm-1. > In the standalone environment the defaultFolder is the folder > containing your application bundle--the .app file. Therefore in this > case all relative paths will be relative to this folder. So if you > distribute your standalone in its own folder, myAppStuff, the > defaultFolder would be something like /Applications/myAppStuff. > > Condition 2: You explicitly set the defaultFolder in your stack to > the folder containing your stack. > In the development environment the defaultFolder points to the folder > containing your stack. > In the standalone environment the defaultFolder points to the MacOS > folder inside the myApp.app bundle. That would be something like / > Applications/myApp.app/Contents/MacOS. Therefore all relative paths > will be relative to this folder. > > To deal with the difference between the IDE and standalone in Mac OS > X, I often include the scripting similar to this in my mainstack's > stack script: > > on preOpenStack > # set the root folder for all resources > if the environment is "development" then > set the defaultFolder to enclosingFolder(the name of me) > end if > > ## Do this for local data and media files. > set the baseDir of me to the defaultFolder & "/" & "resources" > end preOpenStack > > function enclosingFolder pStName > get the filename of pStName > set the itemDelimiter to "/" > return item 1 to -2 of it > end enclosingFolder > > Hope this helps. > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Wed Jul 2 14:39:49 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 2 Jul 2008 14:39:49 -0400 Subject: Intercepting new card In-Reply-To: <486BB457.70102@hyperactivesw.com> References: <9b408d8e0807020712x79eb7ae8pad73302c1a18eeeb@mail.gmail.com> <486BB457.70102@hyperactivesw.com> Message-ID: <9b408d8e0807021139u2ce34413w2387df6f326ceaad@mail.gmail.com> Originally my menuPick handler was in the stack script, but as I found out, that didn't work so I inserted the stub into the frontScripts to call the custom handler in the stack. The problem with that was that when the custom handler fired it was trying to act on revMenubar, so I had to set the defaultStack to the topStack first. What a wasted morning. I think it all works now. From toolbook at kestner.de Wed Jul 2 15:06:17 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 2 Jul 2008 21:06:17 +0200 Subject: AW: AW: How to keep dir structure when building standalone? In-Reply-To: <003501c8dc72$284370b0$18b2a8c0@TiemoPC2> Message-ID: <003901c8dc76$b5602d90$18b2a8c0@TiemoPC2> Hmmm I am really not beeing used to the Mac bundle structure. When asking the path for my file.db it shows me: /Users/Tiemo/Desktop/Testfolder/resources/file.db What explains why my prog finds the file, when the resources folder is located outside of the prog.app in my Testfolder on the same level as the prog.app What I would have expected - and where I put the file.db in the standalone package on my Win Pc is: /Users/Tiemo/Desktop/Testfolder/myApp.app/Contents/MacOS/resources/file.db But at this location it can't find my file.db when the path is: /Users/Tiemo/Desktop/Testfolder/resources/file.db Where is my wrong thinking? Thanks for any help :) Tiemo > But why does the standalone finds my file in a folder outside of the > prog.app in the same root as prog.app: "/resources/file.db" ? > The answer must be so easy, but I don't see it > Thank you > Tiemo From FlexibleLearning at tiscali.co.uk Wed Jul 2 16:04:19 2008 From: FlexibleLearning at tiscali.co.uk (Hugh Senior) Date: Wed, 2 Jul 2008 21:04:19 +0100 Subject: How broke is the Player? References: <20080702170004.ED979489D1A@mail.runrev.com> Message-ID: Dear Randall, Thank you for your reply; sort and to the point. Unfortunately I am unsure of what point you are in fact making, nor whether my well-being has any influence on either development environment. Nevertheless, your financial impecuniosity regarding the issue is taken in spirit and your concern for my personal state of mind is similarly heart-warming, if not entirely productive. /H -----Original Message----- Date: Tue, 1 Jul 2008 11:13:45 -0700 From: Randall Reetz Subject: RE: How broke is the Player? I dont have a penny!... You happy now? From jacque at hyperactivesw.com Wed Jul 2 16:25:14 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jul 2008 15:25:14 -0500 Subject: How broke is the Player? In-Reply-To: References: <20080702170004.ED979489D1A@mail.runrev.com> Message-ID: <486BE42A.70209@hyperactivesw.com> Hugh Senior wrote: >> I dont have a penny!... You happy now? > Dear Randall, > > Thank you for your reply; sort and to the point. > > Unfortunately I am unsure of what point you are in fact making, nor > whether my well-being has any influence on either development > environment. Nevertheless, your financial impecuniosity regarding the > issue is taken in spirit and your concern for my personal state of mind > is similarly heart-warming, if not entirely productive. LOL! This is pretty funny. I suspect the original poster had downloaded the trial, didn't know he was subscribed to the list, and was responding to one of RR's auto-emails regarding a purchase offer. He probably didn't even know he was replying to the list. Your response really did make me laugh out loud though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 2 16:27:35 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jul 2008 15:27:35 -0500 Subject: the Rev Kagi-KRM? In-Reply-To: <1e91b2b70807020426q16b126cmcf73a4d39dc8d4ad@mail.gmail.com> References: <1e91b2b70806182019u36e47562u81ce1a2fa0d7aa24@mail.gmail.com> <54096D3D-1BD4-4B0F-B69C-94AA3323FFCB@kagi.com> <1e91b2b70806211620i540e1436u5d68805ea577e265@mail.gmail.com> <485DA61A.5070900@hyperactivesw.com> <1e91b2b70807020426q16b126cmcf73a4d39dc8d4ad@mail.gmail.com> Message-ID: <486BE4B7.7010502@hyperactivesw.com> Nicolas Cueto wrote: >> We made it for both Windows and Mac. We're coordinating with Kee now, I've >> sent him the name of my client. By the way, the person who did the magic >> external was Brian Yennie, a very talented guy. > > Still hoping this is still in the works... > or, better yet, completed? I don't know, I connected Kagi and my client and it is up to them now. You could write to Kagi and see if there has been any progress. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Jul 2 16:27:35 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 3 Jul 2008 06:27:35 +1000 Subject: Iconify Stack In-Reply-To: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> References: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Message-ID: On Thu, Jul 3, 2008 at 4:27 AM, Mark Smith wrote: > Is this property broken? I'm using 2.9 on mac 10.4.11, and the following > line seems to do nothing at all: > > set the iconic of this stack to true > > Am I right in thinking that it should send the stack swooping off to the > dock? Yes, it should and it does here with Rev 2.9 and Mac OS X 10.5.4 but only if the stack's mode is topLevel or modeless. Cheers, Sarah From randall at randallreetz.com Wed Jul 2 16:35:56 2008 From: randall at randallreetz.com (Randall Reetz) Date: Wed, 2 Jul 2008 13:35:56 -0700 Subject: How broke is the Player? Message-ID: <20080702203729.MNCE7681.atlmtaow03.cingularme.com@Inbox> Just a joke opportunity i couldnt let pass. I am a concious participant in this list and have used xtalk since its inception. We're, all of us, too serious. randall -----Original Message----- From: "J. Landman Gay" To: "How to use Revolution" Sent: 7/2/2008 1:25 PM Subject: Re: How broke is the Player? Hugh Senior wrote: >> I dont have a penny!... You happy now? > Dear Randall, > > Thank you for your reply; sort and to the point. > > Unfortunately I am unsure of what point you are in fact making, nor > whether my well-being has any influence on either development > environment. Nevertheless, your financial impecuniosity regarding the > issue is taken in spirit and your concern for my personal state of mind > is similarly heart-warming, if not entirely productive. LOL! This is pretty funny. I suspect the original poster had downloaded the trial, didn't know he was subscribed to the list, and was responding to one of RR's auto-emails regarding a purchase offer. He probably didn't even know he was replying to the list. Your response really did make me laugh out loud though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Jul 2 17:00:42 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jul 2008 16:00:42 -0500 Subject: How broke is the Player? In-Reply-To: <20080702203729.MNCE7681.atlmtaow03.cingularme.com@Inbox> References: <20080702203729.MNCE7681.atlmtaow03.cingularme.com@Inbox> Message-ID: <486BEC7A.1060308@hyperactivesw.com> Randall Reetz wrote: > Just a joke opportunity i couldnt let pass. I am a concious > participant in this list and have used xtalk since its inception. Whoops, I should have recognized your name. Sorry about that. Apparently while you are a conscious participant, I'm an unconscious one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jrvalent at wisc.edu Wed Jul 2 17:24:09 2008 From: jrvalent at wisc.edu (Randolph Valentine) Date: Wed, 02 Jul 2008 16:24:09 -0500 Subject: quicktime player in stackrunner and rev player with macbook air Message-ID: Hi, I?ve got a pretty complex stack that has always worked on both macs (ppc/intel) and windows computers, which utilizes a player to play mp3 snippets? I distribute this to students via Stackrunner (or the Rev player application). With my new Macbook Air, however, I notice that the quicktime player doesn?t seem to work, with either Stackrunner or the Rev Player, though the player _does_ work when I open the stack in Studio 2.9 on my MacBook Air. In Stackrunner (and the Player), there is no player visible and no audio. Is there anything I can do to make this work in Stackrunner (which I love)? Thanks. rand valentine From jrvalent at wisc.edu Wed Jul 2 17:28:50 2008 From: jrvalent at wisc.edu (Randolph Valentine) Date: Wed, 02 Jul 2008 16:28:50 -0500 Subject: stackrunner problem solved! Message-ID: sorry to take up bandwith with my inanity! but I realized that I didn?t have the audio properly linking on my macbook air, and that?s why the audio wasn?t working. Long live Stackrunner. rand valentine From devin_asay at byu.edu Wed Jul 2 18:11:37 2008 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 2 Jul 2008 16:11:37 -0600 Subject: AW: AW: How to keep dir structure when building standalone? In-Reply-To: <003901c8dc76$b5602d90$18b2a8c0@TiemoPC2> References: <003901c8dc76$b5602d90$18b2a8c0@TiemoPC2> Message-ID: On Jul 2, 2008, at 1:06 PM, Tiemo Hollmann TB wrote: > Hmmm I am really not beeing used to the Mac bundle structure. > When asking the path for my file.db it shows me: > /Users/Tiemo/Desktop/Testfolder/resources/file.db > What explains why my prog finds the file, when the resources folder is > located outside of the prog.app in my Testfolder on the same level > as the > prog.app > What I would have expected - and where I put the file.db in the > standalone > package on my Win Pc is: > /Users/Tiemo/Desktop/Testfolder/myApp.app/Contents/MacOS/resources/ > file.db > But at this location it can't find my file.db when the path is: > /Users/Tiemo/Desktop/Testfolder/resources/file.db > > Where is my wrong thinking? Tiemo, Tell me where you want it to be on your Mac OS X version, and I'll tell you how to set it up to work right. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From josh at dvcreators.net Wed Jul 2 18:39:12 2008 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 2 Jul 2008 15:39:12 -0700 Subject: How broke is the Player? In-Reply-To: <486BEC7A.1060308@hyperactivesw.com> References: <20080702203729.MNCE7681.atlmtaow03.cingularme.com@Inbox> <486BEC7A.1060308@hyperactivesw.com> Message-ID: I thought Randall had a self-image of himself as a "Player", and so took the question to be a query about his financial condition. ;-) On Jul 2, 2008, at 2:00 PM, J. Landman Gay wrote: > Randall Reetz wrote: >> Just a joke opportunity i couldnt let pass. I am a concious >> participant in this list and have used xtalk since its inception. > > Whoops, I should have recognized your name. Sorry about that. > Apparently while you are a conscious participant, I'm an unconscious > one. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at gmail.com Wed Jul 2 19:22:02 2008 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 2 Jul 2008 16:22:02 -0700 Subject: concatenate fields In-Reply-To: <20080701170004.CE73D489060@mail.runrev.com> References: <20080701170004.CE73D489060@mail.runrev.com> Message-ID: <91F14029-4096-4531-9367-2592288A5E1C@gmail.com> On Jul 1, 2008, at 10:00 AM, "william humphrey" wrote: > Thanks Sarah. I thought I'd have to do it like that with a bunch of > "if's" > but I'm always reading these amazing solutions here so I'm > beginning to > think that there is some magic beyond ordinary mortals. It is a > relief to > know that sometimes the mundane answer is correct. If you have this utility function: function sws tText -- strips white space (returns, spaces, tabs, etc) -- from tText, fore & aft return word 1 to -1 of tText end sws which I use all the time -- very handy to put in a library -- then you could do: put sws(fld "f1" & space & sws(fld "f2" & space & sws(fld "f3"))) into concatFields Peter M. Brigham pmbrig at gmail.com From mwieder at ahsoftware.net Wed Jul 2 19:45:29 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 2 Jul 2008 16:45:29 -0700 Subject: concatenate fields References: <20080701170004.CE73D489060@mail.runrev.com> <91F14029-4096-4531-9367-2592288A5E1C@gmail.com> Message-ID: Peter- > If you have this utility function: > > function sws tText > -- strips white space (returns, spaces, tabs, etc) > -- from tText, fore & aft > return word 1 to -1 of tText > end sws That's also handy for stripping the comment off the end of a line from a script... -- Mark Wieder mwieder at ahsoftware.net From randall at randallreetz.com Wed Jul 2 19:53:39 2008 From: randall at randallreetz.com (Randall Reetz) Date: Wed, 2 Jul 2008 16:53:39 -0700 Subject: How broke is the Player? Message-ID: <20080702235512.EKRW6859.atlmtaow02.cingularme.com@Inbox> Nothing funnier than a programming newsgroup subject line pun... (Or a joke that has to be explained) -----Original Message----- From: "Josh Mellicker" To: "How to use Revolution" Sent: 7/2/2008 3:39 PM Subject: Re: How broke is the Player? I thought Randall had a self-image of himself as a "Player", and so took the question to be a query about his financial condition. ;-) On Jul 2, 2008, at 2:00 PM, J. Landman Gay wrote: > Randall Reetz wrote: >> Just a joke opportunity i couldnt let pass. I am a concious >> participant in this list and have used xtalk since its inception. > > Whoops, I should have recognized your name. Sorry about that. > Apparently while you are a conscious participant, I'm an unconscious > one. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Wed Jul 2 19:53:46 2008 From: randall at randallreetz.com (Randall Reetz) Date: Wed, 2 Jul 2008 16:53:46 -0700 Subject: How broke is the Player? Message-ID: <20080702235519.EKUP6859.atlmtaow02.cingularme.com@Inbox> hilarious(?) -----Original Message----- From: "Josh Mellicker" To: "How to use Revolution" Sent: 7/2/2008 3:39 PM Subject: Re: How broke is the Player? I thought Randall had a self-image of himself as a "Player", and so took the question to be a query about his financial condition. ;-) On Jul 2, 2008, at 2:00 PM, J. Landman Gay wrote: > Randall Reetz wrote: >> Just a joke opportunity i couldnt let pass. I am a concious >> participant in this list and have used xtalk since its inception. > > Whoops, I should have recognized your name. Sorry about that. > Apparently while you are a conscious participant, I'm an unconscious > one. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Wed Jul 2 21:28:06 2008 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 02 Jul 2008 18:28:06 -0700 Subject: Path to a double-clicked document Message-ID: How do I get the path to a file that was double-clicked in the OS (Mac, Windows, and Linux) that opens my standalone? The association of the standalone to files with a particular extension is set on the Mac and Windows gives the user the ability to set up the association if I didn't set it in the registry. I want the document files for my application to live in a particular folder and not be anywhere on the drive. When the user double clicks the file on the file system or as an email attachment, I want to catch it and offer the user the ability to copy the file from where it is to where I want it to be. I assume getting the path will be the same for all the platforms and I can write the copy/move routine. Bill Vlahos From mark at maseurope.net Wed Jul 2 21:46:03 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 3 Jul 2008 02:46:03 +0100 Subject: Iconify Stack In-Reply-To: References: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Message-ID: That's weird - if I do it by script - nothing, if I click the stack's OS iconify button (the middle, yellow one on a mac) off it swoops...The stacks I've been trying it with (including a fresh new one with no other scripts) all fail to iconify by script. Thanks for checking it, though. Mark On 2 Jul 2008, at 21:27, Sarah Reichelt wrote: > On Thu, Jul 3, 2008 at 4:27 AM, Mark Smith wrote: >> Is this property broken? I'm using 2.9 on mac 10.4.11, and the >> following >> line seems to do nothing at all: >> >> set the iconic of this stack to true >> >> Am I right in thinking that it should send the stack swooping off >> to the >> dock? > > > Yes, it should and it does here with Rev 2.9 and Mac OS X 10.5.4 but > only if the stack's mode is topLevel or modeless. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Wed Jul 2 21:53:29 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 2 Jul 2008 21:53:29 -0400 Subject: Path to a double-clicked document In-Reply-To: References: Message-ID: <787E882B-92C7-4935-B00F-1FA14075E383@mangomultimedia.com> On Jul 2, 2008, at 9:28 PM, Bill Vlahos wrote: > How do I get the path to a file that was double-clicked in the OS > (Mac, Windows, and Linux) that opens my standalone? > > The association of the standalone to files with a particular > extension is set on the Mac and Windows gives the user the ability > to set up the association if I didn't set it in the registry. > > I want the document files for my application to live in a particular > folder and not be anywhere on the drive. When the user double clicks > the file on the file system or as an email attachment, I want to > catch it and offer the user the ability to copy the file from where > it is to where I want it to be. > > I assume getting the path will be the same for all the platforms and > I can write the copy/move routine. Hey Bill, Mac: Here is some appleEvent code you should put in the message path. Since you use the splash stack design I would put it in a library stack so that it catches the message regardless of which stack is frontmost. Note that you may need to check that your application has finished loading in the appleEvent. If double-clicking on the file causes the OS to launch your application then the appleEvent might be received before all of your application stacks have opened. on appleEvent pClass, pID, pSender if pClass is "aevt" and pID is "odoc" then request appleEvent data put it into theFiles ## files OS is requesting your application opens. if theFiles is not "not found" then if theFiles is not empty then ## DON'T PASS, CRASHES CAN OCCUR (TESTING UNDER 2.8) else pass appleEvent end if else pass appleEvent end if else pass appleEvent end if end appleEvent Windows: If your application is not running yet then the file paths will be passed in the command line arguments - $1, $2, etc. Revolution 2.9 added $# which tells you how many command line arguments were passed to the application so the following code will create a return delimited list of argument passed to your application at launch. It is up to you to verify the params are paths to one of your files. repeat with i = 1 to $# put value("$" & i) into theValue put theValue & cr after theFiles end repeat If your application is already running then you need to handle the 'relaunch' command in the stack you use to create the executable. Again, you should check that your application has finished loading before doing anything as the relaunch command could be sent before your application has completely loaded (you are using splash stack technique). on relaunch repeat with theCounter = 1 to the paramcount put param(theCounter) & cr after theFiles end repeat end relaunch Linux: No idea, sorry. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From jacque at hyperactivesw.com Wed Jul 2 22:09:10 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jul 2008 21:09:10 -0500 Subject: Iconify Stack In-Reply-To: References: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Message-ID: <486C34C6.50000@hyperactivesw.com> Mark Smith wrote: > That's weird - if I do it by script - nothing, if I click the stack's OS > iconify button (the middle, yellow one on a mac) off it swoops...The > stacks I've been trying it with (including a fresh new one with no other > scripts) all fail to iconify by script. Works here too, Rev 2.9, Mac OS 10.4.11. Do you have any frontscripts? Plugins? Does it work if you suspend the development environment? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Jul 2 22:15:46 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 3 Jul 2008 12:15:46 +1000 Subject: Iconify Stack In-Reply-To: References: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Message-ID: On Thu, Jul 3, 2008 at 11:46 AM, Mark Smith wrote: > That's weird - if I do it by script - nothing, if I click the stack's OS > iconify button (the middle, yellow one on a mac) off it swoops...The stacks > I've been trying it with (including a fresh new one with no other scripts) > all fail to iconify by script. I tested using the message box, but I just put the script in a button and that worked fine too. Sarah From mark at maseurope.net Wed Jul 2 22:38:53 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 3 Jul 2008 03:38:53 +0100 Subject: Iconify Stack In-Reply-To: References: <716B7121-2292-48CA-A618-20503D79818C@maseurope.net> Message-ID: <8DD65E72-5C2B-4A73-8558-F4806EE2C48E@maseurope.net> Got it...I was in too much of a hurry - it work in a 'virgin' stack - the problem is that I've been experimenting with doing my own stack decorations, and it seems like if the OS title bar buttons are missing, then you simply can't iconify, which is a pain, but makes some kind of sense... Thanks again Sarah and Jaque for checking, though. Mark On 3 Jul 2008, at 03:15, Sarah Reichelt wrote: > On Thu, Jul 3, 2008 at 11:46 AM, Mark Smith > wrote: >> That's weird - if I do it by script - nothing, if I click the >> stack's OS >> iconify button (the middle, yellow one on a mac) off it >> swoops...The stacks >> I've been trying it with (including a fresh new one with no other >> scripts) >> all fail to iconify by script. > > I tested using the message box, but I just put the script in a button > and that worked fine too. > > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Wed Jul 2 23:56:50 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 2 Jul 2008 23:56:50 -0400 Subject: Little Transcript Help Over Here, Please Message-ID: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> If I do the following in a script: put "north" into theButton global status put the hilite of bg button theButton into status and check status, I get the value I expect, namely the hilite of the bg button North. However, if I if the hilite of bg button theButton then OR if (the hilite of bg button theButton) then I get a message execution error: Error Description: Chunk: no such object. So if I combine both of these, status gets the value I would expect, but I still get the error. So what's wrong with my code, please? -- Diogenes - "What I like to drink most is wine that belongs to others." From sarah.reichelt at gmail.com Thu Jul 3 00:26:37 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 3 Jul 2008 14:26:37 +1000 Subject: Little Transcript Help Over Here, Please In-Reply-To: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> References: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> Message-ID: On Thu, Jul 3, 2008 at 1:56 PM, Mikey wrote: > If I do the following in a script: > put "north" into theButton > global status > put the hilite of bg button theButton into status > > and check status, I get the value I expect, namely the hilite of the bg > button North. > > However, if I > if the hilite of bg button theButton then > > OR > > if (the hilite of bg button theButton) then > > I get a message execution error: Error Description: Chunk: no such > object. > Unless you are using a stack that has been imported from Hypercard, HC addressing should be off and there would be no need to include the "bg". However while I can see how this would confuse the engine (unless your North button is in the first background or group on the card), I can't see why it works the first way. Anyhow, try removing all the "bg" references and seeing if that fixes it. Cheers, Sarah From sundown at pacifier.com Thu Jul 3 01:08:47 2008 From: sundown at pacifier.com (-= JB =-) Date: Wed, 2 Jul 2008 22:08:47 -0700 Subject: Little Transcript Help Over Here, Please In-Reply-To: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> References: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> Message-ID: <66EB0AEB-110D-4925-8382-AC4916D97FC7@pacifier.com> How about if you try one of the below: if the hilite of bg button theButton = true then if the hilite of bg button theButton ? true then if the hilite of bg button theButton = false then if the hilite of bg button theButton ? false then -=>JB<=- On Jul 2, 2008, at 8:56 PM, Mikey wrote: > If I do the following in a script: > put "north" into theButton > global status > put the hilite of bg button theButton into status > > and check status, I get the value I expect, namely the hilite of > the bg > button North. > > However, if I > if the hilite of bg button theButton then > > OR > > if (the hilite of bg button theButton) then > > I get a message execution error: Error Description: Chunk: no such > object. > > So if I combine both of these, status gets the value I would > expect, but I > still get the error. > > So what's wrong with my code, please? > -- > Diogenes - "What I like to drink most is wine that belongs to > others." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From slylabs13 at mac.com Thu Jul 3 01:11:55 2008 From: slylabs13 at mac.com (Robert Sneidar) Date: Wed, 02 Jul 2008 19:11:55 -1000 Subject: Little Transcript Help Over Here, Please In-Reply-To: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> References: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> Message-ID: <9926E0AA-C119-4233-ABD5-25959493114A@mac.com> You seem to be declaring a global inside a handler and then trying to access the global outside the handler without declaring the global. Common practice is to declare global at the top of the script, and then it is accessible to any handler in that script. Ex. -- stack script Global bobtest On openstack put "hey" into bobtest End openstack On revealbobtest put bobtest -- the message box End revealbobtest The above works because the scope of the global is the stack script itself, NOT the handler, whose scope expires with the termination of the handler. Hope this helps Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Jul 2, 2008, at 17:56, Mikey wrote: > If I do the following in a script: > put "north" into theButton > global status > put the hilite of bg button theButton into status > > and check status, I get the value I expect, namely the hilite of the > bg > button North. > > However, if I > if the hilite of bg button theButton then > > OR > > if (the hilite of bg button theButton) then > > I get a message execution error: Error Description: Chunk: no such > object. > > So if I combine both of these, status gets the value I would expect, > but I > still get the error. > > So what's wrong with my code, please? > -- > Diogenes - "What I like to drink most is wine that belongs to > others." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Thu Jul 3 01:45:12 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 3 Jul 2008 07:45:12 +0200 Subject: Little Transcript Help Over Here, Please In-Reply-To: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> References: <9b408d8e0807022056r6f0a6bc6l36d797e8648de166@mail.gmail.com> Message-ID: <4EA0D3B4-DF03-4CA3-8DA2-6BEFC68456E6@economy-x-talk.com> Hi Mikey, As Sarah writes, you may have to remove "bg". Are you sure that the variable theButton contains "north" and are you sure that the button is on the current card when you execute the script? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 jul 2008, at 05:56, Mikey wrote: > If I do the following in a script: > put "north" into theButton > global status > put the hilite of bg button theButton into status > > and check status, I get the value I expect, namely the hilite of the > bg > button North. > > However, if I > if the hilite of bg button theButton then > > OR > > if (the hilite of bg button theButton) then > > I get a message execution error: Error Description: Chunk: no such > object. > > So if I combine both of these, status gets the value I would expect, > but I > still get the error. > > So what's wrong with my code, please? From toolbook at kestner.de Thu Jul 3 03:00:44 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 3 Jul 2008 09:00:44 +0200 Subject: AW: AW: AW: How to keep dir structure when building standalone? In-Reply-To: Message-ID: <000301c8dcda$853ce180$18b2a8c0@TiemoPC2> Hi Devin, thank you for your offer! The issue with the path to my resources I could solve (I was just puzzled with the following issue). But the initial question keeps open for me: In the standalone settings of my stack I put the resources/file.db in the "copy files" section. After building the standalone (on a Win XP) the file.db is copied into the standalone, BUT: 1. with 0 kb (empty file) 2. in the root directory of my app and not in resources/file.db I have to delete this corrupted file at the "wrong" place and copy manually the file.db (512kb) in a manually created folder /resources/ in the standalone package and now everything runs fine. Is my approach to package resource files wrong, am I missing some options or is this a bug? Thank you Tiemo > > Tiemo, > > Tell me where you want it to be on your Mac OS X version, and I'll > tell you how to set it up to work right. > > Devin > From r.venzl-schubert at macbay.de Thu Jul 3 03:25:18 2008 From: r.venzl-schubert at macbay.de (Reinhold Venzl-Schubert) Date: Thu, 3 Jul 2008 09:25:18 +0200 Subject: How to change the size of a stack or card by a script In-Reply-To: <20080629170005.40C5C489B50@mail.runrev.com> References: <20080629170005.40C5C489B50@mail.runrev.com> Message-ID: <872D6EA9-9858-4A0F-8D88-6E66568FB6BF@macbay.de> Hi Mikey! > set the width of this stack to newWidth > set the height of this stack to newHeight > > you can also modify the rect of the stack. The rect is a four-item > property > in the order top,left,bottom,right In this way it works Thanks Reinhold From runrev at animabit.de Thu Jul 3 04:51:23 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Thu, 3 Jul 2008 08:51:23 +0000 Subject: Windows Remote Desktop Support (in 2.9. really fine) + Question: Citrix Message-ID: Hello, I am glad about the improvement of runrev 2.9 for Windows Remote Desktop Support. In previous versions the GUI (runrev IDE and standalone) had some errors (black areas) when used by remote access which is perfectly solvecd now in 2.9. When a runrev prog works in Germany, Czechia or Mexico and you sit somewhere between it is really important to log into the remote windows PC and can work with the runrev program (testing etc.). This even works in Windows Terminal Server (tested) which is very important for some companies. I did not test it, but because the Windows Terminal Server technique is somehow connected with Citrix I think that runrev would work in Citrix environments also (not tested). Question: Did anyone test a runrev 2.9 prog in a Citrix environment? Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From dgirard at dam-pro.com Thu Jul 3 04:54:26 2008 From: dgirard at dam-pro.com (Girard Damien) Date: Thu, 03 Jul 2008 10:54:26 +0200 Subject: [ANN] NativeSpeak 1.0.1 Message-ID: <486C93C2.4050108@dam-pro.com> Dear Revolution User, Dam-pro NativeSpeak has been updated to 1.0.1. This release brings few enhancement and bug fixes. - NativeSpeak Library: Now can launch the localization engine on only an object list. (And not the entire stack). - NativeSpeak Create: Now NativeSpeak Create by default apply directly modification to the objects when you modify their translation property. - NativeSpeak Translate: Now translation entries that does not have a text are not shown anymore by default. The documentation has been also updated to reflect new enhancements. ------------------------------------------------------ About NativeSpeak ------------------------------------------------------ Dam-pro NativeSpeak is the localization manager for Runtime Revolution, if you want to expand your market to other country, it is the must have tool! More information at http://www.dam-pro.com ------------------------------------------------------ Regards, -- Damien Girard Dam-pro CEO. http://www.dam-pro.com From johan.orgel at post.tele.dk Thu Jul 3 06:40:30 2008 From: johan.orgel at post.tele.dk (Johan Michaelsen) Date: Thu, 3 Jul 2008 12:40:30 +0200 Subject: system date format problem Message-ID: <56617725-D674-407D-9BA0-20652EEA8934@post.tele.dk> Since I updated to Rev Studio 2.9 (mac) I had to alter a lot of scripts involving date formats to get them working. In Denmark we use the date format (dd/mm/yyyy) and until recently I had no problems with converting dates. Now it seems that when I try to convert to e.g. the abbrev system date, the function misses a space. It should be like "tor 03. jul 2008" but it returns "tor03. jul 2008" I've checked my system prefs several times, that I didn't forget the space in the system prefs, but it seems that it is Revolution that skips the space from the date. It is also when I convert to long system date, that this occurs. Anybody having the same problems? best regards Johan From lists at paris-saigon.com Thu Jul 3 09:25:58 2008 From: lists at paris-saigon.com (Steve Paris) Date: Thu, 03 Jul 2008 20:25:58 +0700 Subject: Windows Remote Desktop Support (in 2.9. really fine) + Question: Citrix In-Reply-To: References: Message-ID: <486CD366.6080607@paris-saigon.com> Question: Did anyone test a runrev 2.9 prog in a Citrix environment? Franz, I have a client/server system (a university student records system) where the database server is in Saigon and usually around 10 to 15 users at the Hanoi campus. Most of these users make use of Citrix, where the Rev client app runs on a Citrix server in Saigon. Others run the client as a desktop app with the db connection to Saigon via a vpn. In fact Rev 2.8.1 also worked OK with Citrix, except for blending. Also using Windows Terminal Services now to manage a Rev app running in our server room. Very happy to have that bug fixed in 2.9. Steve Paris From shoreagent at gmail.com Thu Jul 3 10:39:30 2008 From: shoreagent at gmail.com (william humphrey) Date: Thu, 3 Jul 2008 10:39:30 -0400 Subject: concatenate fields In-Reply-To: References: <20080701170004.CE73D489060@mail.runrev.com> <91F14029-4096-4531-9367-2592288A5E1C@gmail.com> Message-ID: <459b22a90807030739i591af759mcdca4d10aea0c047@mail.gmail.com> Nice -- Where do I get sws tText? On Wed, Jul 2, 2008 at 7:45 PM, Mark Wieder wrote: > Peter- > > > If you have this utility function: > > > > function sws tText > > -- strips white space (returns, spaces, tabs, etc) > > -- from tText, fore & aft > > return word 1 to -1 of tText > > end sws > > That's also handy for stripping the comment off the end of a line from a > script... > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From devin_asay at byu.edu Thu Jul 3 11:28:41 2008 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Jul 2008 09:28:41 -0600 Subject: AW: AW: AW: How to keep dir structure when building standalone? In-Reply-To: <000301c8dcda$853ce180$18b2a8c0@TiemoPC2> References: <000301c8dcda$853ce180$18b2a8c0@TiemoPC2> Message-ID: On Jul 3, 2008, at 1:00 AM, Tiemo Hollmann TB wrote: > Hi Devin, thank you for your offer! > The issue with the path to my resources I could solve (I was just > puzzled > with the following issue). But the initial question keeps open for me: > In the standalone settings of my stack I put the resources/file.db > in the > "copy files" section. After building the standalone (on a Win XP) the > file.db is copied into the standalone, BUT: > 1. with 0 kb (empty file) > 2. in the root directory of my app and not in resources/file.db > I have to delete this corrupted file at the "wrong" place and copy > manually > the file.db (512kb) in a manually created folder /resources/ in the > standalone package and now everything runs fine. > Is my approach to package resource files wrong, am I missing some > options or > is this a bug? I never use the standalone builder's Copy files section. I just always open the standalone package and copy them in manually. I know of several other Rev developers who do the same. So it's possible that the Copy Files section is just buggy. I never found it helpful, so have never used it. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From toolbook at kestner.de Thu Jul 3 11:49:29 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 3 Jul 2008 17:49:29 +0200 Subject: AW: AW: AW: AW: How to keep dir structure when building standalone? In-Reply-To: Message-ID: <002f01c8dd24$61892c40$18b2a8c0@TiemoPC2> Ok, thank you for your experience Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Devin Asay > Gesendet: Donnerstag, 3. Juli 2008 17:29 > An: How to use Revolution > Betreff: Re: AW: AW: AW: How to keep dir structure when building > standalone? > > > On Jul 3, 2008, at 1:00 AM, Tiemo Hollmann TB wrote: > > > Hi Devin, thank you for your offer! > > The issue with the path to my resources I could solve (I was just > > puzzled > > with the following issue). But the initial question keeps open for me: > > In the standalone settings of my stack I put the resources/file.db > > in the > > "copy files" section. After building the standalone (on a Win XP) the > > file.db is copied into the standalone, BUT: > > 1. with 0 kb (empty file) > > 2. in the root directory of my app and not in resources/file.db > > I have to delete this corrupted file at the "wrong" place and copy > > manually > > the file.db (512kb) in a manually created folder /resources/ in the > > standalone package and now everything runs fine. > > Is my approach to package resource files wrong, am I missing some > > options or > > is this a bug? > > I never use the standalone builder's Copy files section. I just > always open the standalone package and copy them in manually. I know > of several other Rev developers who do the same. So it's possible > that the Copy Files section is just buggy. I never found it helpful, > so have never used it. > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Thu Jul 3 14:10:53 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 3 Jul 2008 11:10:53 -0700 (PDT) Subject: How to keep dir structure when building standalone? In-Reply-To: Message-ID: <627725.66042.qm@web65416.mail.ac4.yahoo.com> --- Devin Asay wrote: > > On Jul 3, 2008, at 1:00 AM, Tiemo Hollmann TB wrote: > > > Hi Devin, thank you for your offer! > > The issue with the path to my resources I could > solve (I was just > > puzzled > > with the following issue). But the initial > question keeps open for me: > > In the standalone settings of my stack I put the > resources/file.db > > in the > > "copy files" section. After building the > standalone (on a Win XP) the > > file.db is copied into the standalone, BUT: > > 1. with 0 kb (empty file) > > 2. in the root directory of my app and not in > resources/file.db > > I have to delete this corrupted file at the > "wrong" place and copy > > manually > > the file.db (512kb) in a manually created folder > /resources/ in the > > standalone package and now everything runs fine. > > Is my approach to package resource files wrong, am > I missing some > > options or > > is this a bug? > > I never use the standalone builder's Copy files > section. I just > always open the standalone package and copy them in > manually. I know > of several other Rev developers who do the same. So > it's possible > that the Copy Files section is just buggy. I never > found it helpful, > so have never used it. > > Devin > There is a message that the standalone builder sends to your project's mainstack after the app has been built: 'standaloneSaved' You can trap that in your stack script to copy any remaining files, rather than having to manually copy everything over. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From scott at tactilemedia.com Thu Jul 3 14:16:21 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 03 Jul 2008 11:16:21 -0700 Subject: Enhancement 6375 Message-ID: Here's another reason to vote for the ability to reference image data contained in custom properties: custom cursors. I'm building a scaling image control for a client which uses a grabber hand cursor for dragging the scaled image. And I now have to figure out where to hide the custom cursor in the control so the control is portable. I shouldn't have to do this; I should be able to place the image data of the cursor image into a custom property of the control so I can avoid having extra image objects to manage. Thanks for voting: http://quality.runrev.com/qacenter/show_bug.cgi?id=6375 Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From devin_asay at byu.edu Thu Jul 3 14:35:00 2008 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Jul 2008 12:35:00 -0600 Subject: How to keep dir structure when building standalone? In-Reply-To: <627725.66042.qm@web65416.mail.ac4.yahoo.com> References: <627725.66042.qm@web65416.mail.ac4.yahoo.com> Message-ID: On Jul 3, 2008, at 12:10 PM, Jan Schenkel wrote: > --- Devin Asay wrote: >> I never use the standalone builder's Copy files >> section. I just >> always open the standalone package and copy them in >> manually. I know >> of several other Rev developers who do the same. So >> it's possible >> that the Copy Files section is just buggy. I never >> found it helpful, >> so have never used it. >> >> Devin >> > > There is a message that the standalone builder sends > to your project's mainstack after the app has been > built: 'standaloneSaved' > You can trap that in your stack script to copy any > remaining files, rather than having to manually copy > everything over. I realize that it can be automated. I just don't find it that helpful to do so. Moving it by hand takes 2 seconds and I know it's done right. My $.02. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From stephenREVOLUTION2 at barncard.com Thu Jul 3 15:17:59 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 3 Jul 2008 12:17:59 -0700 Subject: How to keep dir structure when building standalone? In-Reply-To: References: <627725.66042.qm@web65416.mail.ac4.yahoo.com> Message-ID: Don't forget that (at least on Mac OSX and using the splash screen method) one can edit stacks that exist in the standalone, and one doesn't have to compile the splash stack every time, or even quite the IDE for that matter. I have multistack projects and I only recompile with new engine changes. > >I realize that it can be automated. I just don't find it that >helpful to do so. Moving it by hand takes 2 seconds and I know it's >done right. > >My $.02. > >Devin > >Devin Asay -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From geradamas at yahoo.com Thu Jul 3 15:30:28 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 3 Jul 2008 12:30:28 -0700 (PDT) Subject: [OT] Richmond shouts his mouth off elsewhere. Message-ID: <636652.55872.qm@web37502.mail.mud.yahoo.com> No, surely not? I don't see why I should be the only one to have such fun! Go there, join in, let's here your voice: http://discuss.itwire.com/index.php sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Thu Jul 3 15:34:23 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 3 Jul 2008 12:34:23 -0700 (PDT) Subject: Bad Spelling. Message-ID: <93506.30649.qm@web37507.mail.mud.yahoo.com> Sorry; in my last post I spelt the word that should be "hear", "here"; please put it down to a "right bu**er of a day" teaching the tinies. As I have to display impeccable "British"spelling in class, I find that when I am tired everything often gets mixt up; and thats no oniewhiles tae dae wi the Lallans :) sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From mikeythek at gmail.com Thu Jul 3 16:04:40 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 3 Jul 2008 16:04:40 -0400 Subject: Problem with field references Message-ID: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> This is a little weird. I have two stacks. we'll call them mainstack and substack. In substack I want to build a fieldname from user input and check to see if it exists on mainstack. The result of this is a variable fieldname that contains "Dept 14" of card "Dept Personnel" of stack "mainstack" if I execute "if there is a field fieldname then" However, RR doesn't recognize the existence of field fieldname. Next try, put "field" on the front, so we have field "Dept 14" of card "Dept Personnel" of stack "mainstack" and execute "if there is a fieldname" which returns true. Great! Uh, maybe not. Now I have to extract the contents of this field obviously put field fieldname into somevariable doesn't work. since fieldname evaluates to "field...", resulting in put field field... So instead I tried deleting the first word of fieldname, but RR can't find the field again. So what newfangled way of doing remote field references should I be using instead of the old-timers HC way? -- Rita Rudner - "When I eventually met Mr. Right I had no idea that his first name was Always." From niggemann at uni-wh.de Thu Jul 3 16:34:20 2008 From: niggemann at uni-wh.de (BNig) Date: Thu, 3 Jul 2008 13:34:20 -0700 (PDT) Subject: Problem with field references In-Reply-To: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> Message-ID: <18267722.post@talk.nabble.com> Hi Mikey-3 put the value of tcompleteReferenceVariable into field "xyz" puts the content of the referenced field into field "xyz" hth Bernd Mikey-3 wrote: > > This is a little weird. > > > > Next try, put "field" on the front, so we have > field "Dept 14" of card "Dept Personnel" of stack "mainstack" > > and execute "if there is a fieldname" > which returns true. Great! Uh, maybe not. Now I have to extract the > contents of this field > obviously put field fieldname into somevariable doesn't work. since > fieldname evaluates to "field...", resulting in put field field... > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Problem-with-field-references-tp18267262p18267722.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikeythek at gmail.com Thu Jul 3 16:52:19 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 3 Jul 2008 16:52:19 -0400 Subject: Problem with field references In-Reply-To: <18267722.post@talk.nabble.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> <18267722.post@talk.nabble.com> Message-ID: <9b408d8e0807031352k458ee16agaa5433232d4e2641@mail.gmail.com> nope. that didn't do it either. in addition, if I do a put field fieldname I get the error, but of I do "put field"&&fieldname, it works. -- Bob Hope - "Middle age is when your age starts to show around your middle." From mikeythek at gmail.com Thu Jul 3 16:55:57 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 3 Jul 2008 16:55:57 -0400 Subject: Problem with field references In-Reply-To: <9b408d8e0807031352k458ee16agaa5433232d4e2641@mail.gmail.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> <18267722.post@talk.nabble.com> <9b408d8e0807031352k458ee16agaa5433232d4e2641@mail.gmail.com> Message-ID: <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> GAH! OK, if I put field fieldname or put (there is a field fieldname) I get a failure. However if I do "put field "&&fieldname or do "put there is a field"&&fieldname I get success. -- Will Rogers - "I don't make jokes. I just watch the government and report the facts." From devin_asay at byu.edu Thu Jul 3 16:59:36 2008 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Jul 2008 14:59:36 -0600 Subject: How to keep dir structure when building standalone? In-Reply-To: References: <627725.66042.qm@web65416.mail.ac4.yahoo.com> Message-ID: <91E8811E-6B3F-4F5C-8308-5576B022D6C6@byu.edu> On Jul 3, 2008, at 1:17 PM, Stephen Barncard wrote: > Don't forget that (at least on Mac OSX and using the splash screen > method) one can edit stacks that exist in the standalone, and one > doesn't have to compile the splash stack every time, or even quite > the IDE for that matter. I have multistack projects and I only > recompile with new engine changes. Exactly my strategy. I rarely compile new versions of executables nowadays, unless I need a particular feature or fix in the newest version of Rev. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From niggemann at uni-wh.de Thu Jul 3 17:08:28 2008 From: niggemann at uni-wh.de (BNig) Date: Thu, 3 Jul 2008 14:08:28 -0700 (PDT) Subject: Problem with field references In-Reply-To: <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> <18267722.post@talk.nabble.com> <9b408d8e0807031352k458ee16agaa5433232d4e2641@mail.gmail.com> <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> Message-ID: <18268246.post@talk.nabble.com> Mikey, I have a stack with a field "f1" with some text in it and a substack of this stack with a field "f2" and a button the script of the button is ----------- on mouseUp put "field "& quote & "f1" & quote & "of card 1 of stack " & quote & "s1" & quote into tcompleteReferenceVariable if there is tcompleteReferenceVariable then put "true" & return into field "f2" put the value of tcompleteReferenceVariable after field "f2" end mouseUp ---------------- this works for me I thought it was something like that you were trying to do however, whatever works.... regards bernd Mikey-3 wrote: > > GAH! OK, if I > put field fieldname > > or put (there is a field fieldname) I get a failure. > > However if I > do "put field "&&fieldname > or > do "put there is a field"&&fieldname > > I get success. > > -- > Will Rogers - "I don't make jokes. I just watch the government and report > the facts." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Problem-with-field-references-tp18267262p18268246.html Sent from the Revolution - User mailing list archive at Nabble.com. From JimAultWins at yahoo.com Thu Jul 3 17:14:07 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 03 Jul 2008 14:14:07 -0700 Subject: Problem with field references In-Reply-To: <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> Message-ID: Mikey, do you understand why Rev gave errors for... put field fieldname put (there is a field fieldname) with the way you constructed the variable fieldname? Jim Ault Las Vegas On 7/3/08 1:55 PM, "Mikey" wrote: > GAH! OK, if I > put field fieldname > > or put (there is a field fieldname) I get a failure. > > However if I > do "put field "&&fieldname > or > do "put there is a field"&&fieldname > > I get success. From m.schonewille at economy-x-talk.com Thu Jul 3 17:24:12 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 3 Jul 2008 23:24:12 +0200 Subject: Problem with field references In-Reply-To: <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> <18267722.post@talk.nabble.com> <9b408d8e0807031352k458ee16agaa5433232d4e2641@mail.gmail.com> <9b408d8e0807031355w648ee198ne13bacf13dcbeb6@mail.gmail.com> Message-ID: Mikey, Try this: put the long name of field "Field Name" into myFld put the text of myFld While running this syntax, make sure that you are aware of what is in the variable myFld, e.g. by changing the last line into put myFld & cr & the text of myFld Good luck with this. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 jul 2008, at 22:55, Mikey wrote: > GAH! OK, if I > put field fieldname > > or put (there is a field fieldname) I get a failure. > > However if I > do "put field "&&fieldname > or > do "put there is a field"&&fieldname > > I get success. > From sarah.reichelt at gmail.com Thu Jul 3 17:51:48 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 4 Jul 2008 07:51:48 +1000 Subject: system date format problem In-Reply-To: <56617725-D674-407D-9BA0-20652EEA8934@post.tele.dk> References: <56617725-D674-407D-9BA0-20652EEA8934@post.tele.dk> Message-ID: On Thu, Jul 3, 2008 at 8:40 PM, Johan Michaelsen wrote: > Since I updated to Rev Studio 2.9 (mac) I had to alter a lot of scripts > involving date formats to get them working. > > In Denmark we use the date format (dd/mm/yyyy) and until recently I had no > problems with converting dates. > Now it seems that when I try to convert to e.g. the abbrev system date, the > function misses a space. > > It should be like "tor 03. jul 2008" but it returns "tor03. jul 2008" > I've checked my system prefs several times, that I didn't forget the space > in the system prefs, but it seems that it is Revolution that skips the space > from the date. > > It is also when I convert to long system date, that this occurs. > In 2.9, there were a lot of changes to try and make the system date & time formats reflect the actual system settings more accurately. It sounds like there is a problem with your particular date formats, possibly because there are 2 different separation characters. I suggest you make a bug report. Cheers, Sarah From jacque at hyperactivesw.com Thu Jul 3 23:40:54 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Jul 2008 22:40:54 -0500 Subject: Problem with field references In-Reply-To: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> Message-ID: <486D9BC6.70007@hyperactivesw.com> Mikey wrote: > Next try, put "field" on the front, so we have > field "Dept 14" of card "Dept Personnel" of stack "mainstack" > > and execute "if there is a fieldname" > which returns true. Great! Uh, maybe not. Now I have to extract the > contents of this field put there is a fieldname get the text of fieldname -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Fri Jul 4 00:12:03 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 3 Jul 2008 21:12:03 -0700 (PDT) Subject: Problem with field references In-Reply-To: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> Message-ID: <337859.56589.qm@web65408.mail.ac4.yahoo.com> --- Mikey wrote: > This is a little weird. > > I have two stacks. we'll call them mainstack and > substack. > > In substack I want to build a fieldname from user > input and check to see if > it exists on mainstack. > > The result of this is a variable fieldname that > contains > "Dept 14" of card "Dept Personnel" of stack > "mainstack" > > if I execute "if there is a field fieldname then" > However, RR doesn't recognize the existence of field > fieldname. > > [snip] > > So what newfangled way of doing remote field > references should I be using > instead of the old-timers HC way? > -- > The problem here is that the word 'field' just in front of your variable name, makes Revolution interpret that variable as a field name, not a complete reference. So it effectively goes out to look for a field with the name ["Dept 14" of card "Dept Personnel" of stack "mainstack"]. Just prepend 'field' to your variable and use [there is a] as your unary operator. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From janschenkel at yahoo.com Fri Jul 4 00:15:56 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 3 Jul 2008 21:15:56 -0700 (PDT) Subject: How to keep dir structure when building standalone? In-Reply-To: Message-ID: <650883.59052.qm@web65413.mail.ac4.yahoo.com> --- Devin Asay wrote: > > On Jul 3, 2008, at 12:10 PM, Jan Schenkel wrote: > > > There is a message that the standalone builder > sends > > to your project's mainstack after the app has been > > built: 'standaloneSaved' > > You can trap that in your stack script to copy any > > remaining files, rather than having to manually > copy > > everything over. > > I realize that it can be automated. I just don't > find it that helpful > to do so. Moving it by hand takes 2 seconds and I > know it's done right. > > My $.02. > > Devin > Oh, believe me, I used to do it manually as well - but a mistake is easily made when you're tired. I believe some people have used this feature to completely automate deployment this way, including installer generating and uploading to the website. But you're right, if there's only one folder to copy, it wouldn't save that much time... Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From kee at kagi.com Fri Jul 4 06:00:45 2008 From: kee at kagi.com (Kee Nethery) Date: Fri, 4 Jul 2008 03:00:45 -0700 Subject: the Rev Kagi-KRM? In-Reply-To: <1e91b2b70807020426q16b126cmcf73a4d39dc8d4ad@mail.gmail.com> References: <1e91b2b70806182019u36e47562u81ce1a2fa0d7aa24@mail.gmail.com> <54096D3D-1BD4-4B0F-B69C-94AA3323FFCB@kagi.com> <1e91b2b70806211620i540e1436u5d68805ea577e265@mail.gmail.com> <485DA61A.5070900@hyperactivesw.com> <1e91b2b70807020426q16b126cmcf73a4d39dc8d4ad@mail.gmail.com> Message-ID: <6AFC72A4-200B-4BBB-8E70-0CE61C1FD286@kagi.com> The guy at Kagi to get in touch with about the Kagi-KRM is Adam Bolivar adamb at kagi.com Once we get the details finalized with Brian Yennie, he'll be the one to manage the distribution process. Kee Nethery Kagi From bdrunrev at gmail.com Fri Jul 4 06:48:01 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 4 Jul 2008 11:48:01 +0100 Subject: Rev Navigator/Geoff Canyon Message-ID: Hi I tried to contact Geoff at info at inspiredlogic.com (the address on his site), but the email came back. I wanted to to register my copy but I couldn' see how to pay for it, and wanted to suggest a user forum for Rev Navigator. Does anyone have an alternative address for him. If so, please forward this email to him and also please say you've done it on this list (to stop 20 people from emailing him). Thanks, Bernard From toolbook at kestner.de Fri Jul 4 08:53:53 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 4 Jul 2008 14:53:53 +0200 Subject: How to click with the brush tool? Message-ID: <001601c8ddd5$04591a60$18b2a8c0@TiemoPC2> Hi all, when changing the browse tool to the brush tool to paint on an image, no button is clickable any more :-( What do I have to do to click on a button with the brush tool. At least I have to click anywhere to change back to the browse tool !? Thanks for any hint Tiemo From m.schonewille at economy-x-talk.com Fri Jul 4 11:07:33 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Jul 2008 17:07:33 +0200 Subject: How to click with the brush tool? In-Reply-To: <001601c8ddd5$04591a60$18b2a8c0@TiemoPC2> References: <001601c8ddd5$04591a60$18b2a8c0@TiemoPC2> Message-ID: <7BF50139-6A20-46C3-AF51-398AFCABEFE0@economy-x-talk.com> Hi Tiemo, Create a tools *palette* with a button that sets the tool to browse. This is the easiest and most straightforward way. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 4 jul 2008, at 14:53, Tiemo Hollmann TB wrote: > Hi all, > > when changing the browse tool to the brush tool to paint on an > image, no > button is clickable any more :-( > > What do I have to do to click on a button with the brush tool. At > least I > have to click anywhere to change back to the browse tool !? > > Thanks for any hint > > Tiemo From bvlahos at mac.com Fri Jul 4 11:13:40 2008 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 04 Jul 2008 08:13:40 -0700 Subject: Rev Navigator/Geoff Canyon In-Reply-To: References: Message-ID: <05A82233-DC4D-4BE4-B2C1-33E182152BF2@mac.com> I'll forward it to him. Bill Vlahos On Jul 4, 2008, at 3:48 AM, Bernard Devlin wrote: > Hi > > I tried to contact Geoff at info at inspiredlogic.com (the address on his > site), but the email came back. I wanted to to register my copy but I > couldn' see how to pay for it, and wanted to suggest a user forum > for Rev > Navigator. Does anyone have an alternative address for him. If > so, please > forward this email to him and also please say you've done it on > this list > (to stop 20 people from emailing him). > > Thanks, > > Bernard > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Fri Jul 4 11:43:10 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 4 Jul 2008 17:43:10 +0200 Subject: AW: How to click with the brush tool? In-Reply-To: <7BF50139-6A20-46C3-AF51-398AFCABEFE0@economy-x-talk.com> Message-ID: <001b01c8ddec$a9e5f720$18b2a8c0@TiemoPC2> Thanks Mark, have a nice WE Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Freitag, 4. Juli 2008 17:08 > An: How to use Revolution > Betreff: Re: How to click with the brush tool? > > Hi Tiemo, > > Create a tools *palette* with a button that sets the tool to browse. > This is the easiest and most straightforward way. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x- > talk.com/server.html > for more info. > > On 4 jul 2008, at 14:53, Tiemo Hollmann TB wrote: > > > Hi all, > > > > when changing the browse tool to the brush tool to paint on an > > image, no > > button is clickable any more :-( > > > > What do I have to do to click on a button with the brush tool. At > > least I > > have to click anywhere to change back to the browse tool !? > > > > Thanks for any hint > > > > Tiemo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Fri Jul 4 22:20:48 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 5 Jul 2008 10:20:48 +0800 Subject: How to click with the brush tool? In-Reply-To: <7BF50139-6A20-46C3-AF51-398AFCABEFE0@economy-x-talk.com> References: <001601c8ddd5$04591a60$18b2a8c0@TiemoPC2> <7BF50139-6A20-46C3-AF51-398AFCABEFE0@economy-x-talk.com> Message-ID: On Fri, Jul 4, 2008 at 11:07 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > > Create a tools *palette* with a button that sets the tool to browse. This > is the easiest and most straightforward way. > Another option, depending on your set up, if you have a specific area where you do your painting, and all your buttons are outside this area, you can then group your buttons and use mouseEnter and mouseLeave to change from browse to pointer - I think this is how the Rev Tools palette works; when you select the pointer tool it remains an arrow (browse) whilst in the Tools palette, but only when you enter your own stacks does it actually change to the pointer (arrow with cross hairs). HTH From shoreagent at gmail.com Sat Jul 5 07:08:15 2008 From: shoreagent at gmail.com (william humphrey) Date: Sat, 5 Jul 2008 07:08:15 -0400 Subject: New RunRev demo of MySQL and SQLite Message-ID: <459b22a90807050408k6ab898f5la8d8391130e6f9c3@mail.gmail.com> I downloaded the new RunRev demo because I was re-installing it and that put me on RunRev's mailing list which every week sends out a new advice for using RunRev. It's pretty good. This week it sent me an excellent database demo. As far as I can tell this new demo is not available anywhere to find for download if you search for it and is not in the User spaces on RunRev's site. I think it should be. This demo also is only for MySQL and SQLite and does not include Valentina which I think is also an oversite. Anyway it is an excellent demo and uses a SQL for update that is interesting and very hard to figure out. It is: revExecuteSQL sDatabaseId, "UPDATE Example SET firstname = :1, lastname = :2, email = :3, description = :4, icon = :5 WHERE id = :6", \ "tFirstname", "tLastname", "tEmail", "tDescription", "*btIcon", "pRecordId" There is no info on who wrote the demo. It is called "Exploring Revolution: Work with Databases" *go stack URL "http://www.runrev.com/ws/databases.rev"* Or you can get it by downloading it from: http://www.runrev.com/ws/databases.zip I tried to add the feature of this demo also working with Valentina but that is beyond my present ability. I don't like how the demo updates each field individually instead of in one call like "update panes" in the Valentina RunRev database demo. Updating each fld individually would be useless for most people to copy in their projects as most databases have hundreds of fields. In any case the demo is cool and well worth exploring. Let me know what you think. From shoreagent at gmail.com Sat Jul 5 07:11:02 2008 From: shoreagent at gmail.com (william humphrey) Date: Sat, 5 Jul 2008 07:11:02 -0400 Subject: New RunRev demo of MySQL and SQLite In-Reply-To: <459b22a90807050408k6ab898f5la8d8391130e6f9c3@mail.gmail.com> References: <459b22a90807050408k6ab898f5la8d8391130e6f9c3@mail.gmail.com> Message-ID: <459b22a90807050411l364ddc28pa00df9eacfd6a7ea@mail.gmail.com> You can go to http://www.runrev.com/ws/ and see the other tutorials. It appears they were all made May and June last year. From shoreagent at gmail.com Sat Jul 5 07:14:05 2008 From: shoreagent at gmail.com (william humphrey) Date: Sat, 5 Jul 2008 07:14:05 -0400 Subject: New RunRev demo of MySQL and SQLite In-Reply-To: <459b22a90807050411l364ddc28pa00df9eacfd6a7ea@mail.gmail.com> References: <459b22a90807050408k6ab898f5la8d8391130e6f9c3@mail.gmail.com> <459b22a90807050411l364ddc28pa00df9eacfd6a7ea@mail.gmail.com> Message-ID: <459b22a90807050414o6a3c62e3p3c74505f5a433d5e@mail.gmail.com> Sorry to keep adding to this thread but on that same download area of RunRev there is also a really cool rev_quickref.pdf that everyone should know about. From pmbrig at gmail.com Sat Jul 5 09:58:56 2008 From: pmbrig at gmail.com (Peter Brigham) Date: Sat, 5 Jul 2008 09:58:56 -0400 Subject: concatenate fields In-Reply-To: <20080703170004.191D94897CF@mail.runrev.com> References: <20080703170004.191D94897CF@mail.runrev.com> Message-ID: <08D3145C-4315-4F2E-9236-CC2216A5E6FB@gmail.com> On Jul 3, 2008, at 1:00 PM, "william humphrey" wrote: > Nice -- Where do I get sws tText? Not sure what you are asking. The function handler should be placed sufficiently high in the message path so it is available wherever you might need it. Usually this will be in your mainstack stack script, or in a library stack script that is in use. > On Wed, Jul 2, 2008 at 7:45 PM, Mark Wieder > wrote: > >> Peter- >> >>> If you have this utility function: >>> >>> function sws tText >>> -- strips white space (returns, spaces, tabs, etc) >>> -- from tText, fore & aft >>> return word 1 to -1 of tText >>> end sws >> >> That's also handy for stripping the comment off the end of a line >> from a >> script... I don't see how that would work. Trying put sws("on sws tText -- strips white space ") gives me "on sws tText -- strips white space" since the last word of the string is "space". AFAICS, this function will never strip anything but white space. Peter M. Brigham pmbrig at gmail.com From shoreagent at gmail.com Sat Jul 5 10:13:36 2008 From: shoreagent at gmail.com (william humphrey) Date: Sat, 5 Jul 2008 10:13:36 -0400 Subject: concatenate fields In-Reply-To: <08D3145C-4315-4F2E-9236-CC2216A5E6FB@gmail.com> References: <20080703170004.191D94897CF@mail.runrev.com> <08D3145C-4315-4F2E-9236-CC2216A5E6FB@gmail.com> Message-ID: <459b22a90807050713o6b46ac72obe3eba307e8cc96f@mail.gmail.com> I was thinking that it just wasn't the complete sws function. From toolbook at kestner.de Sat Jul 5 14:28:55 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 5 Jul 2008 20:28:55 +0200 Subject: AW: How to click with the brush tool? In-Reply-To: Message-ID: <000001c8decc$fc7a3060$18b2a8c0@TiemoPC2> Thanks Kay,always good to learn options :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Kay C Lan > Gesendet: Samstag, 5. Juli 2008 04:21 > An: How to use Revolution > Betreff: Re: How to click with the brush tool? > > On Fri, Jul 4, 2008 at 11:07 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > > > Create a tools *palette* with a button that sets the tool to browse. > This > > is the easiest and most straightforward way. > > > > Another option, depending on your set up, if you have a specific area > where > you do your painting, and all your buttons are outside this area, you can > then group your buttons and use mouseEnter and mouseLeave to change from > browse to pointer - I think this is how the Rev Tools palette works; when > you select the pointer tool it remains an arrow (browse) whilst in the > Tools > palette, but only when you enter your own stacks does it actually change > to > the pointer (arrow with cross hairs). > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Sat Jul 5 14:41:32 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 5 Jul 2008 11:41:32 -0700 Subject: 4th of July Weekend: Get a Free Copy of Revolution Media Message-ID: <001d01c8dece$bffb8420$6501a8c0@GATEWAY> Hello all, Mirye is running a promotion with selected partners for the 4th of July weekend - any order $50 or over comes with a free copy of Revolution Media. One copy per customer. This applies to products purchased through these venues Mirye Online Store (http://www.miryestore.com) Paradigma Online Store (http://www.paradigmasoft.com) Revolution Orders via Academic Superstore, Programmers Paradise, Content Paradise, Renderosity Meshbox Design or Meshbox 2D (http://www.meshbox.com or http://www.meshbox2d.com) Content Paradise and Mirye also are offering $100 off new licenses of Studio, and $200 off new licenses of Enterprise. To participate in this offer, you must place your order before July 8, 12:01 AM. Because of how sourcing works on Revolution manuals, we havent gotten them into our main store yet. If you'd like to order a manual and use this offer, just send me a note off list. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From bvlahos at mac.com Sat Jul 5 19:25:08 2008 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 05 Jul 2008 16:25:08 -0700 Subject: App restart after update In-Reply-To: References: <37931152-0A58-4453-976D-779BC60B01F2@mac.com> <7589721C-E4BA-4189-9A87-E59C17BEB373@mangomultimedia.com> <8C6D7EB4-E53F-4FD7-9247-989E06AB9246@mac.com> Message-ID: <2EEF483E-D117-4446-9C3C-765B278AE504@mac.com> I am using a splash screen but it don't actually start using this template stack. I touch it to get version info. I tried deleting it as suggested and I also tried stop using it and neither seem to work. The revert command seems to be for the main stack and I'm not sure how I would actually use it in this situation. I'm missing something. Bill On Jun 17, 2008, at 9:56 PM, Trevor DeVore wrote: > On Jun 18, 2008, at 12:44 AM, Bill Vlahos wrote: > >> Most of the time I only update the stacks. What is the command to >> unload the stacks? After I unload the stacks how do I reinitialize >> the standalone stack? > > I'm assuming you used the splash stack technique and you don't have > to update any stacks that were used to build the standalone. If the > stacks are not stack files then this won't work. If they are then > proceed. > > You can unload your application stacks using: > > delete stack NAME_OF_MAINSTACK > > This will remove the stack from memory. After removing the > application stacks from memory just call whatever handler in the > stack used to create the executable initializes and launches your > application. Perhaps startup or preopenStack. That could should > already take care of loading your application stacks into memory > and launching the application. > > There is also the 'revert' command which will reload the stack from > disk. I haven't used this technique myself though. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From RevList at CreaTECHSol.com Sat Jul 5 20:55:43 2008 From: RevList at CreaTECHSol.com (RevList) Date: Sat, 05 Jul 2008 17:55:43 -0700 Subject: Script Inspector Message-ID: I have started to build a little utility that will allow me to inspect scripts from other Rev stacks by clicking on a stack , card or control name to display the script in a separate pane. I want to do this in a hierarchical view that allows me to drill down from the stack down to a particular control to show the script of the selected object, whether it be a stack, card or control. I am also planning to do an entire dump of all scripts into another field so that I can get a complete code report of the entire solution. Before I go much farther on this, I thought that I would first ask if there is already something like this available. In another environment that I work in a lot, I built a similar utility so that I could inspect the code of other applications that I have developed without leaving the current project. Stewart. -------------------------------------------------------------------------------------------------------------------- Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. -------------------------------------------------------------------------------------------------------------------- From ambassador at fourthworld.com Sat Jul 5 22:04:38 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 05 Jul 2008 19:04:38 -0700 Subject: Script Inspector Message-ID: <48702836.8000007@fourthworld.com> CreaTECHSol wrote: > I have started to build a little utility that will allow me to inspect > scripts from other Rev stacks by clicking on a stack , card or control > name to display the script in a separate pane. I want to do this in a > hierarchical view that allows me to drill down from the stack down to a > particular control to show the script of the selected object, whether it > be a stack, card or control. > > I am also planning to do an entire dump of all scripts into another field > so that I can get a complete code report of the entire solution. > > Before I go much farther on this, I thought that I would first ask if > there is already something like this available. There's a Browser in devolution which lets you do some of that in a three-pane list a la the Finder's NeXT view; it's shown at the top of this screen shot: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From katir at hindu.org Sat Jul 5 23:19:47 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 05 Jul 2008 17:19:47 -1000 Subject: Using Rev CGI for Giant POST action Message-ID: <487039D3.1000304@hindu.org> We want to set up a protected web page where users can browse their drive for a movie file(s) and upload via http. Like YouTube does it. I presume this is just POST with a CGI on the back end that is robust enough to receive it. Right now the only CGI language that I know is Revolution. Easy enough to test of course, and one answer is "just try it..." What exactly are we looking at? well, a typical upload (recently done by someone who has FTP access ... ) was four .avi files, 1 at 83 megs, 1 at 45 megs, 1 at 32 megs and 1 at 15 megs... And of course it might also be just any big file (like a huge PDF or Photoshop file) But I was wondering if anyone has any experience with this and aware of any issues that we should be on the look out for? Thanks Sivakatirswami From RevList at CreaTECHSol.com Sat Jul 5 23:19:53 2008 From: RevList at CreaTECHSol.com (RevList) Date: Sat, 05 Jul 2008 20:19:53 -0700 Subject: Rev Icons Message-ID: When I was browsing through some stacks made by others, I am discovering some ICON ids that are used and as far as I can see, are not images that are within the stack itself, but must be standard REV icons. For example, ID 2800082 is an icon image of a couple of cards stacked on top of each other. When I go to the property of a button that has this image, I see the Icon ID but when I click on the magic wand beside it to select from the picker, the icon is not visible in any of the selection lists. How can I discover what all of these hidden icons are and there corresponding IDs? Thanks in advance Stewart. -------------------------------------------------------------------------------------------------------------------- Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. -------------------------------------------------------------------------------------------------------------------- From sundown at pacifier.com Sun Jul 6 00:30:18 2008 From: sundown at pacifier.com (-= JB =-) Date: Sat, 5 Jul 2008 21:30:18 -0700 Subject: Call too all one-liners ! In-Reply-To: References: <7A27EC45-FFBA-4CE4-B32F-683D1A3585FE@wanadoo.fr> Message-ID: To sharpen dull scissors fold a piece of aluminum foil about 7 times and cut through it. -=>JB<=- From JimAultWins at yahoo.com Sun Jul 6 00:42:23 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 05 Jul 2008 21:42:23 -0700 Subject: Using Rev CGI for Giant POST action In-Reply-To: <487039D3.1000304@hindu.org> Message-ID: I know little about the CGI, but file uploading is part of the world-wide standard for HTML. No need for javascript or other server technology. This, however, may not address all your security concerns without going to HTTPS, or other. Go to w3schools.com and check out their HTML lessons Hope this helps you on a holiday weekend in the US. Jim Ault Las Vegas On 7/5/08 8:19 PM, "Sivakatirswami" wrote: > We want to set up a protected web page where users can browse their > drive for a movie file(s) and upload via http. Like YouTube does it. I > presume this is just POST with a CGI on the back end that is robust > enough to receive it. > > Right now the only CGI language that I know is Revolution. Easy enough > to test of course, and one answer is "just try it..." What exactly are > we looking at? well, a typical upload (recently done by someone who has > FTP access ... ) was four .avi files, 1 at 83 megs, 1 at 45 megs, 1 at > 32 megs and 1 at 15 megs... > > And of course it might also be just any big file (like a huge PDF or > Photoshop file) > > But I was wondering if anyone has any experience with this and aware of > any issues that we should be on the look out for? > > Thanks > Sivakatirswami From shoreagent at gmail.com Sun Jul 6 07:54:02 2008 From: shoreagent at gmail.com (william humphrey) Date: Sun, 6 Jul 2008 07:54:02 -0400 Subject: Rev Icons In-Reply-To: References: Message-ID: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> When you import an image into the stack it also becomes selectable as an icon (you probably know this already) but then there must be someway to convert that imported image to one of the ones like you see in those lists of metacard icons and others. I don't know how to do this so when I import an image to use as an icon I just "hide" it. From shoreagent at gmail.com Sun Jul 6 11:37:20 2008 From: shoreagent at gmail.com (william humphrey) Date: Sun, 6 Jul 2008 11:37:20 -0400 Subject: Rev Icons In-Reply-To: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> References: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> Message-ID: <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> I was wondering. In the apple interface (many Apple programs) often fields are named by having a grayed out text in the field when it is empty like: "first name" in a slightly larger bold version of the font that is screened gray like 40%. Is it best to do this in RunRev by making an icon for each fld with the grayed text for that fld which shows when the fld is empty Or is it better (and I don't know how to do this) to choose a gray larger font somehow actually written in the fld when it is empty? From shoreagent at gmail.com Sun Jul 6 12:56:39 2008 From: shoreagent at gmail.com (william humphrey) Date: Sun, 6 Jul 2008 12:56:39 -0400 Subject: Rev Icons In-Reply-To: <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> References: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> Message-ID: <459b22a90807060956l30deecbaxb42151a9af37787c@mail.gmail.com> Scratch that -- the label is gray when fld is told to be disabled. From shoreagent at gmail.com Sun Jul 6 13:06:02 2008 From: shoreagent at gmail.com (william humphrey) Date: Sun, 6 Jul 2008 13:06:02 -0400 Subject: Rev Icons In-Reply-To: <459b22a90807060956l30deecbaxb42151a9af37787c@mail.gmail.com> References: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> <459b22a90807060956l30deecbaxb42151a9af37787c@mail.gmail.com> Message-ID: <459b22a90807061006w5016797es48b7c62e47a1fc7d@mail.gmail.com> Of course when the enabled of a field is set to false then it doesn't respond to any mouseenter, mousedown etc. So how do you make it magically erase the label inside it and become enabled when a mouse clicks in it? From jacque at hyperactivesw.com Sun Jul 6 13:44:59 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Jul 2008 12:44:59 -0500 Subject: Rev Icons In-Reply-To: References: Message-ID: <4871049B.80805@hyperactivesw.com> RevList wrote: > When I was browsing through some stacks made by others, I am discovering > some ICON ids that are used and as far as I can see, are not images that > are within the stack itself, but must be standard REV icons. > > For example, ID 2800082 is an icon image of a couple of cards stacked on > top of each other. > > When I go to the property of a button that has this image, I see the Icon > ID but when I click on the magic wand beside it to select from the picker, > the icon is not visible in any of the selection lists. > > How can I discover what all of these hidden icons are and there > corresponding IDs? The ID number is too high for it to be a native Rev icon, so it must be somewhere in the stack. Or if the stack is a substack, it may be in the mainstack. One typical place to store icon images is in an unplaced group, so see if any of the cards have one of those. The Application Browser is an easy way to see that. Rev's icon picker will display images that appear in the current stack if you choose "This Stack" from the popup menu. But (if I remember right) it won't display images in any other stacks, even if they are in the message hierarchy. You need to make a stack the current one to see what images it contains. The icon you are describing sounds a little like an old HyperCard icon. If so, the stack may have been imported from an original HC stack. All the icons in imported HC stacks are stored in an unplaced group called "HC Icons", so you may want to look for that. One easy way to do that is to pull down the Objects/Place Group menu item to see if that group is available. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jul 6 13:51:52 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Jul 2008 12:51:52 -0500 Subject: Rev Icons In-Reply-To: <459b22a90807061006w5016797es48b7c62e47a1fc7d@mail.gmail.com> References: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> <459b22a90807060956l30deecbaxb42151a9af37787c@mail.gmail.com> <459b22a90807061006w5016797es48b7c62e47a1fc7d@mail.gmail.com> Message-ID: <48710638.7080501@hyperactivesw.com> william humphrey wrote: > Of course when the enabled of a field is set to false then it doesn't > respond to any mouseenter, mousedown etc. > > So how do you make it magically erase the label inside it and become enabled > when a mouse clicks in it? What I usually do is place a text string into the field and set the textcolor of the field to a medium gray. On openfield, remove the text and set the textcolor of the field to empty. On closefield and exitfield, see if the field is empty and if so, set the textcolor back to gray and re-insert your original string. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shoreagent at gmail.com Sun Jul 6 13:55:25 2008 From: shoreagent at gmail.com (william humphrey) Date: Sun, 6 Jul 2008 13:55:25 -0400 Subject: Rev Icons In-Reply-To: <48710638.7080501@hyperactivesw.com> References: <459b22a90807060454k54c1d1d4w807c60e5d2749408@mail.gmail.com> <459b22a90807060837j40a792c1j42cd7bb22ac99c27@mail.gmail.com> <459b22a90807060956l30deecbaxb42151a9af37787c@mail.gmail.com> <459b22a90807061006w5016797es48b7c62e47a1fc7d@mail.gmail.com> <48710638.7080501@hyperactivesw.com> Message-ID: <459b22a90807061055q5b7981d2r75d8098f14f6f92c@mail.gmail.com> Thanks (as always) for the help with the field labeling gray thing and also the info on where we should store our imported icons. From RevList at CreaTECHSol.com Sun Jul 6 14:07:56 2008 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 06 Jul 2008 11:07:56 -0700 Subject: Rev Icons In-Reply-To: <4871049B.80805@hyperactivesw.com> References: <,> <4871049B.80805@hyperactivesw.com> Message-ID: How to use Revolution on July 6, 2008 at 10:44 AM -0700 wrote: >The ID number is too high for it to be a native Rev icon, so it must be >somewhere in the stack. Or if the stack is a substack, it may be in the >mainstack. One typical place to store icon images is in an unplaced >group, so see if any of the cards have one of those. The Application >Browser is an easy way to see that. Actually, all of the icons I was looking for are in the revIcons.rev stack that is in the tools folder. I found them all. Now, if I am going to build a runtime solution, will these icons be included, or will I have to add the images and set the corresponding Icon ID in my own stack before building the runtime. Stewart -------------------------------------------------------------------------------------------------------------------- Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. -------------------------------------------------------------------------------------------------------------------- From RevList at CreaTECHSol.com Sun Jul 6 14:21:15 2008 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 06 Jul 2008 11:21:15 -0700 Subject: Add field content to a script Message-ID: I have a field called ItemPath on a card that displays the path to a particular card or control in another stack For example in one instance, the field is displaying. button id 1016 of card id 1002 of stack "/Users/slynch/Desktop/Sample Stack.rev" Now I want to be able to display the script of that item in another field. Essentially, I want to do is create the following script and use the literal information in my ItemPath field as part of my script Put the script of button id 1016 of card id 1002 of stack "/Users/slynch/Desktop/Sample Stack.rev" into fld "Script" How can I do that? Stewart -------------------------------------------------------------------------------------------------------------------- Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. -------------------------------------------------------------------------------------------------------------------- From kray at sonsothunder.com Sun Jul 6 15:25:46 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 06 Jul 2008 14:25:46 -0500 Subject: Add field content to a script In-Reply-To: Message-ID: On 7/6/08 1:21 PM, "RevList" wrote: > I have a field called ItemPath on a card that displays the path to a > particular card or control in another stack > > For example in one instance, the field is displaying. > button id 1016 of card id 1002 of stack "/Users/slynch/Desktop/Sample > Stack.rev" > > Now I want to be able to display the script of that item in another field. > > Essentially, I want to do is create the following script and use the > literal information in my ItemPath field as part of my script > > Put the script of button id 1016 of card id 1002 of stack > "/Users/slynch/Desktop/Sample Stack.rev" into fld "Script" > > How can I do that? Assuming that the field (I'll call it "ObjectRef" for this example) contains a long identifier to an object and not a short name, you can do this: put fld "ObjectRef" into tObj put the script of tObj into fld "Script" Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From katir at hindu.org Sun Jul 6 15:58:10 2008 From: katir at hindu.org (Sivakatirswami) Date: Sun, 06 Jul 2008 09:58:10 -1000 Subject: Vscroll Property of a field that is scrolled to the end Message-ID: <487123D2.3090309@hindu.org> How do you get the vscroll of a field that would be scrolled all the way to the end, without actually scrolling it to the end? What I want to do is the "rolling credits" thing. This works CASE "About" put 1 into tAboutScroll REPEAT until the vscroll of fld "About" = 2714 # the 2714 here is hard coded value... # I want to get it as a property regardless of what the field contains or it's size, font etc. set the vscroll of fld "About" to tAboutScroll put tAboutScroll +1 into tAboutScroll IF the mouseclick THEN exit repeat wait 1 ticks END repeat break But you have to customize that for every field... the 2714 is hard coded. I'm trying to get generic script that I can toss around from one stack to another and they still work... put the formattedheight of fld "song"-the height of fld "song"- the vscroll of fld "song" always returns 6... so one can calculate the ending vscroll value from this, if I have the field scrolled to the very end. Is this a "solid" algorithm: on scrollsong put 1 into tSongScroll put (the formattedheight of fld "song"-the height of fld "song"- 5) into tEnd REPEAT until the vscroll of fld "Song" = tEnd set the vscroll of fld "song" to tSongScroll put tSongScroll +1 into tSongScroll IF the mouseclick THEN exit repeat wait 5 milliseconds END repeat end scrollsong it feels like a bit of a hack....when I could be use some actual property. skts From janschenkel at yahoo.com Sun Jul 6 16:09:16 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 6 Jul 2008 13:09:16 -0700 (PDT) Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <487123D2.3090309@hindu.org> Message-ID: <148911.99797.qm@web65411.mail.ac4.yahoo.com> --- Sivakatirswami wrote: > How do you get the vscroll of a field that would be > scrolled all the way > to the end, without actually scrolling it to the > end? > > What I want to do is the "rolling credits" thing. > > This works > > CASE "About" > put 1 into tAboutScroll > REPEAT until the vscroll of fld "About" = 2714 > # the 2714 here is hard coded value... > # I want to get it as a property regardless of what > the field contains > or it's size, font etc. > set the vscroll of fld "About" to tAboutScroll > put tAboutScroll +1 into tAboutScroll > IF the mouseclick THEN exit repeat > wait 1 ticks > END repeat > break > > But you have to customize that for every field... > the 2714 is hard > coded. I'm trying to get generic script that I can > toss around from one > stack to another and they still work... > > > put the formattedheight of fld "song"-the height of > fld "song"- the > vscroll of fld "song" > > always returns 6... so one can calculate the ending > vscroll value from > this, if I have the field scrolled to the very end. > Is this a > "solid" algorithm: > > on scrollsong > put 1 into tSongScroll > put (the formattedheight of fld "song"-the height > of fld "song"- 5) > into tEnd > REPEAT until the vscroll of fld "Song" = tEnd > > set the vscroll of fld "song" to tSongScroll > put tSongScroll +1 into tSongScroll > IF the mouseclick THEN exit repeat > wait 5 milliseconds > END repeat > end scrollsong > > it feels like a bit of a hack....when I could be use > some actual property. > > > skts > Hi Swami, Technically, you also have to take the margins into account to get an actual value ; so how about doing it differently? Check if scrolling the field once more has actually scrolled it? I mean, if you set the vScroll of a field to something larger than its maximum vScroll value, it will automatically 'snap' it to this maximum value. So you could repeat increasing the vScroll until it doesn't want to increase anymore, which you can check by comparing the vScroll after setting it to the value that you set it to. Just an idea, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From cszasz at mac.com Sun Jul 6 16:09:58 2008 From: cszasz at mac.com (Charles Szasz) Date: Sun, 6 Jul 2008 13:09:58 -0700 (PDT) Subject: Option Menu Message-ID: <18306013.post@talk.nabble.com> I am using option menus in my app. The label I set for each option menu is fine until the user clicks on it and then the label never returns after that. I would like for the menu label to show up for the option menu if the user clicks on it to view options but does not select any of the options. Is there any way to script this? I have tried including the option label in the option text too but did not know if that would cause any problems later on. -- View this message in context: http://www.nabble.com/Option-Menu-tp18306013p18306013.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Jul 6 16:34:13 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 6 Jul 2008 22:34:13 +0200 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <487123D2.3090309@hindu.org> References: <487123D2.3090309@hindu.org> Message-ID: Hi Sivakatirswami, I have posted this a few times already, I guess it won't hurt if I post it again. The maximum scroll equals: Code: the formattedHeight of fld x - the height of fld x - the margins of fld x - the textHeight of fld x provided that the margins are an integer and the fixedLineHeight of the field is true. If the margins are no integer, you probably need to use item 4 of the margins. If the fixedLineHeight is not true, you need to find a way to figure out the height of the last line of your field. Also, the dontWrap of your field has to be set to true. This is a nice way to do it: Code: getProp maxScroll if word 1 of the name of the target is "field" then return (the formattedHeight of the target - the height of the target - the margins of the target - the textHeight of the target) else return empty end maxScroll (untested, but should work) Now, if you have this script at stack level or in a library, you can call this property using: Code: put the maxScroll of fld x set the vScroll of fld x to the maxScroll of fld x The first line should return an integer, the second should set the scroll of a field to the largest possible value. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 6-jul-2008, om 21:58 heeft Sivakatirswami het volgende geschreven: > How do you get the vscroll of a field that would be scrolled all > the way to the end, without actually scrolling it to the end? > > What I want to do is the "rolling credits" thing. > > This works > > CASE "About" > put 1 into tAboutScroll > REPEAT until the vscroll of fld "About" = 2714 > # the 2714 here is hard coded value... > # I want to get it as a property regardless of what the field > contains or it's size, font etc. > set the vscroll of fld "About" to tAboutScroll > put tAboutScroll +1 into tAboutScroll > IF the mouseclick THEN exit repeat > wait 1 ticks > END repeat > break > > But you have to customize that for every field... the 2714 is hard > coded. I'm trying to get generic script that I can toss around from > one stack to another and they still work... > > > put the formattedheight of fld "song"-the height of fld "song"- the > vscroll of fld "song" > > always returns 6... so one can calculate the ending vscroll value > from this, if I have the field scrolled to the very end. Is this > a "solid" algorithm: > > on scrollsong > put 1 into tSongScroll > put (the formattedheight of fld "song"-the height of fld "song"- > 5) into tEnd > REPEAT until the vscroll of fld "Song" = tEnd > > set the vscroll of fld "song" to tSongScroll > put tSongScroll +1 into tSongScroll > IF the mouseclick THEN exit repeat > wait 5 milliseconds > END repeat > end scrollsong > > it feels like a bit of a hack....when I could be use some actual > property. > > > skts > From scott at tactilemedia.com Sun Jul 6 16:44:23 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 06 Jul 2008 13:44:23 -0700 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <487123D2.3090309@hindu.org> Message-ID: Recently, Sivakatirswami wrote: > How do you get the vscroll of a field that would be scrolled all the way > to the end, without actually scrolling it to the end? The formattedHeight of the field - the height of the field - the margins of the field comes very close. But for an exact number, I usually lock the screen, set the vscroll to a huge amount (100000000), get the scroll of the fld, reset the vscroll to its original value, and then unlock the screen. A bit goofy but it's fast and it works. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From eric.miclo at wanadoo.fr Sun Jul 6 16:44:38 2008 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 6 Jul 2008 22:44:38 +0200 Subject: Creating variables Message-ID: <009AE9C7-A72C-4603-B738-FA88BF7027B3@wanadoo.fr> Hello, I've 2 lists of names and want to create variables by combining the names of the 2 lists. Example: listOne is: A B C listTwo is: 1 2 and I want to create those variables: A1 A2 B1 B2 C1 C2 I did try this: repeat for each line lineListOne in listOne repeat for each line lineListTwo in listTwo put "test" into (lineListOne & lineListTwo) end repeat end repeat and this (though I was sure it didn't work): repeat for each line lineListOne in listOne repeat for each line lineListTwo in listTwo put (lineListOne & lineListTwo) into varName put "test" into varName end repeat end repeat and some other variants (using the value of...) but nothing is working. Is that possible or do I have to "manually" initialize the variables that way: put "test" into A1 put "test" into A2 ... Thanks, best, ?rIC -- My NeXT computer will Be a Mac too! -- -- My NeXT computer will Be a Mac too! -- From m.schonewille at economy-x-talk.com Sun Jul 6 16:49:56 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 6 Jul 2008 22:49:56 +0200 Subject: Creating variables In-Reply-To: <009AE9C7-A72C-4603-B738-FA88BF7027B3@wanadoo.fr> References: <009AE9C7-A72C-4603-B738-FA88BF7027B3@wanadoo.fr> Message-ID: Hi ?ric, Use the do command: do ("put" && quote & "test" & quote && "into" && varName) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 jul 2008, at 22:44, ?ric Miclo wrote: > Hello, > > I've 2 lists of names and want to create variables by combining the > names of the 2 lists. > > Example: > > > I did try this: > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put "test" into (lineListOne & lineListTwo) > end repeat > end repeat > > and this (though I was sure it didn't work): > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put (lineListOne & lineListTwo) into varName > put "test" into varName > end repeat > end repeat > > and some other variants (using the value of...) but nothing is > working. > > Is that possible or do I have to "manually" initialize the variables > that way: > > put "test" into A1 > put "test" into A2 > ... > > Thanks, best, > > ?rIC From eric.miclo at wanadoo.fr Sun Jul 6 17:03:39 2008 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 6 Jul 2008 23:03:39 +0200 Subject: Creating variables In-Reply-To: References: <009AE9C7-A72C-4603-B738-FA88BF7027B3@wanadoo.fr> Message-ID: <9CF0054E-4D12-4A78-A77E-5DA1FDEBADFD@wanadoo.fr> Hello Mark, It's workin fine! Thanks a lot!. Best regards, ?rIC Le 6 juil. 08 ? 22:49, Mark Schonewille a ?crit : > > Hi ?ric, > > Use the do command: > > do ("put" && quote & "test" & quote && "into" && varName) > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > > On 6 jul 2008, at 22:44, ?ric Miclo wrote: > >> Hello, >> >> I've 2 lists of names and want to create variables by combining the >> names of the 2 lists. >> >> Example: >> >> >> I did try this: >> >> repeat for each line lineListOne in listOne >> repeat for each line lineListTwo in listTwo >> put "test" into (lineListOne & lineListTwo) >> end repeat >> end repeat >> >> and this (though I was sure it didn't work): >> >> repeat for each line lineListOne in listOne >> repeat for each line lineListTwo in listTwo >> put (lineListOne & lineListTwo) into varName >> put "test" into varName >> end repeat >> end repeat >> >> and some other variants (using the value of...) but nothing is >> working. >> >> Is that possible or do I have to "manually" initialize the >> variables that way: >> >> put "test" into A1 >> put "test" into A2 >> ... >> >> Thanks, best, >> >> ?rIC > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From jacque at hyperactivesw.com Sun Jul 6 17:04:15 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Jul 2008 16:04:15 -0500 Subject: Rev Icons In-Reply-To: References: <, > <4871049B.80805@hyperactivesw.com> Message-ID: <4871334F.9070706@hyperactivesw.com> RevList wrote: > How to use Revolution on July 6, 2008 at > 10:44 AM -0700 wrote: >> The ID number is too high for it to be a native Rev icon, so it must be >> somewhere in the stack. Or if the stack is a substack, it may be in the >> mainstack. One typical place to store icon images is in an unplaced >> group, so see if any of the cards have one of those. The Application >> Browser is an easy way to see that. > Actually, all of the icons I was looking for are in the revIcons.rev stack > that is in the tools folder. > I found them all. Sorry to have mislead you. The docs say that rev icons are in the range of 301-1000, but now that I look again, it does say that these very high numbers are reserved for application use. > Now, if I am going to build a runtime solution, will these icons be > included, or will I have to add the images and set the corresponding Icon > ID in my own stack before building the runtime. I always copy them in and use the new ID number. But I think the standalone builder will search for the built-in icons if you allow it to scan for resources. I never do that though, so maybe someone else can confirm. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Sun Jul 6 19:28:20 2008 From: mark at maseurope.net (Mark Smith) Date: Mon, 7 Jul 2008 00:28:20 +0100 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <487123D2.3090309@hindu.org> References: <487123D2.3090309@hindu.org> Message-ID: <325D5B24-D718-4EFA-825F-422FA8831E30@maseurope.net> This doesn't look to 'hacky' to me - maybe you could use both exit conditions in the 'until' and I'm not sure you need to to do the calculation - using just 'the formattedheight' seems to work fine: repeat until (the vscroll of fld "Song" = the formattedHeight of fld "Song") or the mouseclick though this doesn't improve the functionality at all - the fomattedHeight is a reliable property, so it seems like a good approach... Best, Mark On 6 Jul 2008, at 20:58, Sivakatirswami wrote: > > on scrollsong > put 1 into tSongScroll > put (the formattedheight of fld "song"-the height of fld "song"- > 5) into tEnd > REPEAT until the vscroll of fld "Song" = tEnd > > set the vscroll of fld "song" to tSongScroll > put tSongScroll +1 into tSongScroll > IF the mouseclick THEN exit repeat > wait 5 milliseconds > END repeat > end scrollsong > > it feels like a bit of a hack....when I could be use some actual > property. > > > skts > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sun Jul 6 19:31:15 2008 From: mark at maseurope.net (Mark Smith) Date: Mon, 7 Jul 2008 00:31:15 +0100 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <325D5B24-D718-4EFA-825F-422FA8831E30@maseurope.net> References: <487123D2.3090309@hindu.org> <325D5B24-D718-4EFA-825F-422FA8831E30@maseurope.net> Message-ID: Please ignore - I hadn't read the much better replies from Jan, Mark and Scott! best, Mark On 7 Jul 2008, at 00:28, Mark Smith wrote: > This doesn't look to 'hacky' to me - maybe you could use both exit > conditions in the 'until' and I'm not sure you need to to do the > calculation - using just 'the formattedheight' seems to work fine: > > repeat until (the vscroll of fld "Song" = the formattedHeight of > fld "Song") or the mouseclick > > though this doesn't improve the functionality at all - the > fomattedHeight is a reliable property, so it seems like a good > approach... > > > Best, > > Mark > > On 6 Jul 2008, at 20:58, Sivakatirswami wrote: >> >> on scrollsong >> put 1 into tSongScroll >> put (the formattedheight of fld "song"-the height of fld "song"- >> 5) into tEnd >> REPEAT until the vscroll of fld "Song" = tEnd >> >> set the vscroll of fld "song" to tSongScroll >> put tSongScroll +1 into tSongScroll >> IF the mouseclick THEN exit repeat >> wait 5 milliseconds >> END repeat >> end scrollsong >> >> it feels like a bit of a hack....when I could be use some actual >> property. >> >> >> skts >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Sun Jul 6 19:34:36 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 7 Jul 2008 07:34:36 +0800 Subject: Script Inspector In-Reply-To: References: Message-ID: On Sun, Jul 6, 2008 at 8:55 AM, RevList wrote: > I am also planning to do an entire dump of all scripts into another field > so that I can get a complete code report of the entire solution. > > Before I go much farther on this, I thought that I would first ask if > there is already something like this available. > > I think you'll that Richmond Mathewson has done that plus a little bit more (probably a lot more). Got to Rev Online -> User Spaces -> Browse Users -> Richmond. There is a stack called Textifier, in Richmond's words: It will now export an extremely tedious list of > properties, scripts, field contents, . . . . . . . , > ad nauseam to a text file. > It would be a simple process to divert the export from a text file to a field. With a little more work I'm sure you get divert different categories of data into different fields for better presentation. HTH From mikeythek at gmail.com Sun Jul 6 19:47:13 2008 From: mikeythek at gmail.com (Mikey) Date: Sun, 6 Jul 2008 19:47:13 -0400 Subject: Script Inspector In-Reply-To: References: Message-ID: <9b408d8e0807061647w72020391w64706c7b0a306f20@mail.gmail.com> Stewart, Just because it's been done a few times before doesn't mean it isn't worth doing. It's simple enough to do. I wrote a very crude one that generates a tab pane for each of the scripts in a stack. I originally wrote it as part of my quest to really get into the IDE. There have got to be a bunch of these, because it's a common problem. You should be able to get it to work in no time. I'd encourage you to do it yourself. You might enjoy the challenge. -- Simone de Beauvoir - "To catch a husband is an art; to hold him is a job." From lan.kc.macmail at gmail.com Sun Jul 6 20:15:14 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 7 Jul 2008 08:15:14 +0800 Subject: Option Menu In-Reply-To: <18306013.post@talk.nabble.com> References: <18306013.post@talk.nabble.com> Message-ID: On Mon, Jul 7, 2008 at 4:09 AM, Charles Szasz wrote: > I have tried including the option label in the option text too but did not > know if that would cause any problems later on. > > That is OK and will work fine. Actually you can develop some very neat tricks with this. Say you have an option menu that is labeled 'Part No'. The text of the option menu is filled with a database query and contains 100s of lines of text with the very first line being 'Part No'. In the button script, if the menuPick is 'Part No' I call up an ask dialog where the user can input a number. If the number is a match to a Part No, then all the info is displayed - much much faster than scrolling down 763 lines!! If the entered Part No is not a match a confirmation answer dialog is presented to confirm a new Part No is being added or to re-enter a correct Part No. HTH. From cszasz at mac.com Sun Jul 6 23:06:43 2008 From: cszasz at mac.com (Charles Szasz) Date: Sun, 6 Jul 2008 20:06:43 -0700 (PDT) Subject: Option Menu In-Reply-To: <18306013.post@talk.nabble.com> References: <18306013.post@talk.nabble.com> Message-ID: <18309315.post@talk.nabble.com> Kay, Thanks a lot! -- View this message in context: http://www.nabble.com/Option-Menu-tp18306013p18309315.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Mon Jul 7 00:27:37 2008 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Jul 2008 01:27:37 -0300 Subject: Using Rev CGI for Giant POST action In-Reply-To: <487039D3.1000304@hindu.org> References: <487039D3.1000304@hindu.org> Message-ID: <7c87a2a10807062127t52b348abq6143dbb8ec613ba3@mail.gmail.com> Aloha Swami, the way YouTube does it is by using flash as a middle player for the upload. You can have a flash uploader thing that will handle the file uploads. The Yahoo! User Interface javascript library (aka YUI) has a flash file uploaded utility available and ready to use. I think this is your best bet for large file uploades. I don't know how these flash uploaders save the file. I know that using plain old Revolution CGI, you'll need a mime decoder and you'll not be able to track the upload while it is going. Andre On Sun, Jul 6, 2008 at 12:19 AM, Sivakatirswami wrote: > We want to set up a protected web page where users can browse their drive > for a movie file(s) and upload via http. Like YouTube does it. I presume > this is just POST with a CGI on the back end that is robust enough to > receive it. > > Right now the only CGI language that I know is Revolution. Easy enough to > test of course, and one answer is "just try it..." What exactly are we > looking at? well, a typical upload (recently done by someone who has FTP > access ... ) was four .avi files, 1 at 83 megs, 1 at 45 megs, 1 at 32 megs > and 1 at 15 megs... > > And of course it might also be just any big file (like a huge PDF or > Photoshop file) > > But I was wondering if anyone has any experience with this and aware of any > issues that we should be on the look out for? > > Thanks > Sivakatirswami > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From toolbook at kestner.de Mon Jul 7 04:16:46 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 7 Jul 2008 10:16:46 +0200 Subject: how to store imagedata in a custom property? Message-ID: <001501c8e009$ccc74cc0$18b2a8c0@TiemoPC2> Hello, cause you can't undo actions with the paint tool, I would like to make my own "undo" for painting actions with storing different states of the image in custom properties, like: set the undo1 of img "foo" to the imagedata of img "foo" but when trying to restore the imagedata out of the custom property undo1 set the imagedata of img "foo" to the undo1 of img "foo" just nothing happens. Is this a scripting fault or how can I store imagedata in a custom property? Thanks for any help Tiemo From dave at looktowindward.com Mon Jul 7 06:22:38 2008 From: dave at looktowindward.com (Dave) Date: Mon, 7 Jul 2008 11:22:38 +0100 Subject: Problem setting password when build standalone Message-ID: <41DCA125-0D9C-4A94-8A80-891272DB409D@looktowindward.com> Hi All, I'm trying to password protect my application. The application is setup so that when it is built as a standalone, there is a small application file (.app or .exe) which holds the standalone settings, acts as a "Splash Screen" and has code triggered by the "savingStandalone" and "standaloneSaved" messages which copies files into the correct folders in the Standalone Folder structure. When the application is launched it just displays a Splash Screen and then runs .rev files that are located in a folder called "RunTime/Stacks". The RunTime folder is either inside the .app bundle on Macs or in the same folder as the .exe file on Windows. This all works fine and I just want to add password protection to the .rev files once they have been copied. To do this I use the following code, I've stepped through it and all the paths etc. seem ok and it runs without error the first time, however this code is called twice, once for Mac and once for Windows. When processing Windows I get an error saying that stack "X" is already in memory and do I want to purge it, save it or cancel. I've added code below to set the "destroyStack" property to true, but I still get the error. Anyone have any ideas of how I can get around this? All the Best Dave put kApplicationPassword into myApplicationPassword put StackFileGetFileList(myRunTimeStacksFolderPathName) into myRunTimeStackFileList set the itemDelimiter to "." repeat for each line myRunTimeStackFileName in myRunTimeStackFileList if item -1 of myRunTimeStackFileName <> "rev" then next repeat put myRunTimeStacksFolderPathName & myRunTimeStackFileName into myRunTimeStackFilePathName set the password of stack myRunTimeStackFilePathName to myApplicationPassword save stack myRunTimeStackFilePathName set the destroyStack of stack myRunTimeStackFilePathName to true close stack myRunTimeStackFilePathName end repeat From revlist at azurevision.co.uk Mon Jul 7 09:21:56 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 7 Jul 2008 14:21:56 +0100 Subject: Speed problems when cloning a group lots of times Message-ID: OS X 10.5.2 Rev Studio 2.9.0 Build 610 As part of a geotagging app, I need to generate scrolling lists of GPS coordinates, other info and 'reveal in Google Earth' buttons. Potentially the user will do this for thousands of images at once, although 50-300 at a time will be more likely. I figured the easiest way to do this would be to copy a group containing one lines-worth of controls and then paste it lots of times. Unfortunately the amount of time it takes to paste is increasing as the repeat loop goes on, AND Rev is then unresponsive for several seconds for larger (300+) numbers of lines. 100 lines = 800ms plus 1s freeze 200 lines = 3s plus 3s freeze 400 lines = 10s plus 19s freeze In a standalone, speed increases to about 1 millisecond per line and the unresponsiveness goes, but go above ~500 lines and it suddenly starts slowing down again: 100 lines = 50ms 200 lines = 120ms 400 lines = 480ms 500 lines = 870ms 600 lines = 1.5s 700 lines = 2.6s 1000 lines = 8s Any ideas, or alternative approaches? Cloning the original group makes no difference to speed, and adds in all sorts of problems with 'last group' not giving the expected result. Here's the code: on mouseUp put the milliseconds into tt put text of fld "number" into tNum lock screen if there is a grp "list scroller" then delete grp "list scroller" put 50 into tTop put 8 into tGap put 1 into tCount copy grp "list master" repeat tNum times set the cursor to busy paste put long id of last grp into tGrp set name of last grp to ("version" && tCount) set top of last grp to tTop + tGap set visible of last grp to true add height of last grp to tTop add 1 to tcount put tGrp & return after tGrpList end repeat delete last char of tGrpList put "group " into tComm repeat for each line tgrp in tGrpList put tGrp && "and " after tComm end repeat delete last word of tComm do tComm -- most reliable way of grouping the new groups put long id of second grp into tGrp select empty set name of tgrp to "list scroller" set height of tGrp to 300 set top of tGrp to 100 set width of tgrp to 16 + formattedwidth of tGrp set the vscrollbar of tgrp to true answer the milliseconds - tt end mouseUp Ian From lists at mangomultimedia.com Mon Jul 7 09:29:12 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Jul 2008 09:29:12 -0400 Subject: Speed problems when cloning a group lots of times In-Reply-To: References: Message-ID: <7E137E24-7F1E-4D13-B01C-31089404CD3D@mangomultimedia.com> On Jul 7, 2008, at 9:21 AM, Ian Wood wrote: > I figured the easiest way to do this would be to copy a group > containing one lines-worth of controls and then paste it lots of > times. Unfortunately the amount of time it takes to paste is > increasing as the repeat loop goes on, AND Rev is then unresponsive > for several seconds for larger (300+) numbers of lines. Try locking messages during the repeat loop and see if that improves performance. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From mikeythek at gmail.com Mon Jul 7 09:41:46 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 7 Jul 2008 09:41:46 -0400 Subject: Problem with field references In-Reply-To: <337859.56589.qm@web65408.mail.ac4.yahoo.com> References: <9b408d8e0807031304u4afc3842qf292f214e9cc0a76@mail.gmail.com> <337859.56589.qm@web65408.mail.ac4.yahoo.com> Message-ID: <9b408d8e0807070641g497dc3d2qb5241bbcbfd544b3@mail.gmail.com> Jan, Sorry, I didn't see your post when you made it. Yes, I can get the THERE IS A fieldname (where the first word of fieldname is the word field) to work, but I cannot then use fieldname with or without field on the front to get the contents of the field. Once I have determined that the field exists I need to get the contents. get fieldname doesn't work. -- EB White - "Be obscure clearly." From revlist at azurevision.co.uk Mon Jul 7 09:55:54 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 7 Jul 2008 14:55:54 +0100 Subject: Speed problems when cloning a group lots of times In-Reply-To: <7E137E24-7F1E-4D13-B01C-31089404CD3D@mangomultimedia.com> References: <7E137E24-7F1E-4D13-B01C-31089404CD3D@mangomultimedia.com> Message-ID: On 7 Jul 2008, at 14:29, Trevor DeVore wrote: > On Jul 7, 2008, at 9:21 AM, Ian Wood wrote: > >> I figured the easiest way to do this would be to copy a group >> containing one lines-worth of controls and then paste it lots of >> times. Unfortunately the amount of time it takes to paste is >> increasing as the repeat loop goes on, AND Rev is then unresponsive >> for several seconds for larger (300+) numbers of lines. > > Try locking messages during the repeat loop and see if that improves > performance. That appears to be doing the job in the IDE. Thanks! Ian From lists at mangomultimedia.com Mon Jul 7 10:29:47 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Jul 2008 10:29:47 -0400 Subject: App restart after update In-Reply-To: <2EEF483E-D117-4446-9C3C-765B278AE504@mac.com> References: <37931152-0A58-4453-976D-779BC60B01F2@mac.com> <7589721C-E4BA-4189-9A87-E59C17BEB373@mangomultimedia.com> <8C6D7EB4-E53F-4FD7-9247-989E06AB9246@mac.com> <2EEF483E-D117-4446-9C3C-765B278AE504@mac.com> Message-ID: On Jul 5, 2008, at 7:25 PM, Bill Vlahos wrote: > I am using a splash screen but it don't actually start using this > template stack. I touch it to get version info. OK. Whenever you touch a stack to get version info it will be loaded into memory. > I tried deleting it as suggested and I also tried stop using it and > neither seem to work. Stop using it won't do anything in regards to whether or not it is in memory but deleting a main stack will always remove it from memory. If you try to reference the stack using the full filename (i.e. trying to access version info) after you delete it, however, the stack will be loaded back into memory. Deleting a substack will just delete the substack but not to anything to the mainstack. > The revert command seems to be for the main stack and I'm not sure > how I would actually use it in this situation. If you update the stack file on disk that the main stack resides in, 'revert' will reload the mainstack (and substacks) from disk. > I'm missing something. Let me know if this helps at all. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From runrev260805 at m-r-d.de Mon Jul 7 10:49:21 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Mon, 7 Jul 2008 14:49:21 +0000 Subject: anyone purchased from the RunRev WebShop successfully with european vat id? Message-ID: <00030F35.4872490E@192.168.168.3> Hi, did anyone from europe ever puchased successfully from the RunRev webshop with her/his/their vat id to avoid paying vat? I wanted to buy AnimationEngine today. But although i enter my correct vat id, i will be charged for vat. Worldpay wants around 49 Eur from me, although Animation Engine is only 39,95 Eur ! Did i miss something? Regards, Matthias From janschenkel at yahoo.com Mon Jul 7 10:52:53 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Jul 2008 07:52:53 -0700 (PDT) Subject: Problem with field references In-Reply-To: <9b408d8e0807070641g497dc3d2qb5241bbcbfd544b3@mail.gmail.com> Message-ID: <133020.15218.qm@web65402.mail.ac4.yahoo.com> --- Mikey wrote: > Jan, > Sorry, I didn't see your post when you made it. > Yes, I can get the THERE IS > A fieldname (where the first word of fieldname is > the word field) to work, > but I cannot then use fieldname with or without > field on the front to get > the contents of the field. Once I have determined > that the field exists I > need to get the contents. > > get fieldname doesn't work. > > -- > EB White - "Be obscure clearly." > You can use the 'do' command: ## do ("get" && tFieldLongId) ## Or use the 'text' property: ## get the text of tFieldLongId ## Or even the 'value' function: ## get value(tFieldLongId) ## Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From rmicout at online.fr Mon Jul 7 10:55:59 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 7 Jul 2008 16:55:59 +0200 Subject: anyone purchased from the RunRev WebShop successfully with european vat id? In-Reply-To: <00030F35.4872490E@192.168.168.3> References: <00030F35.4872490E@192.168.168.3> Message-ID: <98DD65AF-F1B6-4EC9-B5A3-2F6BE3C42DF5@online.fr> Hello, I had made the same thing today and it was OK (from France)... Ren? Le 7 juil. 08 ? 16:49, runrev260805 at m-r-d.de a ?crit : > Hi, > > did anyone from europe ever puchased successfully from the RunRev > webshop with her/his/their vat id to avoid paying vat? > > I wanted to buy AnimationEngine today. But although i enter my > correct vat id, i will be charged for vat. Worldpay wants around 49 > Eur from me, although > Animation Engine is only 39,95 Eur ! > > Did i miss something? > > Regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikeythek at gmail.com Mon Jul 7 11:41:02 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 7 Jul 2008 11:41:02 -0400 Subject: Problem with field references In-Reply-To: <133020.15218.qm@web65402.mail.ac4.yahoo.com> References: <9b408d8e0807070641g497dc3d2qb5241bbcbfd544b3@mail.gmail.com> <133020.15218.qm@web65402.mail.ac4.yahoo.com> Message-ID: <9b408d8e0807070841xbeea05bu4db21a7081b6bd63@mail.gmail.com> I have had to use the "do" option. The text and value tries didn't do it. -- George Burns - "Don't stay in bed, unless you can make money in bed." From jacque at hyperactivesw.com Mon Jul 7 12:03:38 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 11:03:38 -0500 Subject: how to store imagedata in a custom property? In-Reply-To: <001501c8e009$ccc74cc0$18b2a8c0@TiemoPC2> References: <001501c8e009$ccc74cc0$18b2a8c0@TiemoPC2> Message-ID: <48723E5A.5030101@hyperactivesw.com> Tiemo Hollmann TB wrote: > Hello, > > cause you can't undo actions with the paint tool, I would like to make my > own "undo" for painting actions with storing different states of the image > in custom properties, like: I undo painting actions all the time. What doesn't work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Mon Jul 7 12:08:57 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 7 Jul 2008 18:08:57 +0200 Subject: AW: how to store imagedata in a custom property? In-Reply-To: <48723E5A.5030101@hyperactivesw.com> Message-ID: <006701c8e04b$c33af890$18b2a8c0@TiemoPC2> Hi Jacqueline, the plain "undo" doesn't work with the brush tool (as my experience and as the docs say) How do you do an undo for a painting with the brush tool? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von J. Landman Gay > Gesendet: Montag, 7. Juli 2008 18:04 > An: How to use Revolution > Betreff: Re: how to store imagedata in a custom property? > > Tiemo Hollmann TB wrote: > > Hello, > > > > cause you can't undo actions with the paint tool, I would like to make > my > > own "undo" for painting actions with storing different states of the > image > > in custom properties, like: > > I undo painting actions all the time. What doesn't work? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Jul 7 12:29:18 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 11:29:18 -0500 Subject: AW: how to store imagedata in a custom property? In-Reply-To: <006701c8e04b$c33af890$18b2a8c0@TiemoPC2> References: <006701c8e04b$c33af890$18b2a8c0@TiemoPC2> Message-ID: <4872445E.4000704@hyperactivesw.com> Tiemo Hollmann TB wrote: > Hi Jacqueline, > the plain "undo" doesn't work with the brush tool (as my experience and as > the docs say) > How do you do an undo for a painting with the brush tool? I just type Cmd-Z and undo happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Mon Jul 7 12:37:48 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 7 Jul 2008 18:37:48 +0200 Subject: AW: AW: how to store imagedata in a custom property? In-Reply-To: <4872445E.4000704@hyperactivesw.com> Message-ID: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> I want to provide my user a undo function in the standalone with the brush tool, not while developing. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von J. Landman Gay > Gesendet: Montag, 7. Juli 2008 18:29 > An: How to use Revolution > Betreff: Re: AW: how to store imagedata in a custom property? > > Tiemo Hollmann TB wrote: > > Hi Jacqueline, > > the plain "undo" doesn't work with the brush tool (as my experience and > as > > the docs say) > > How do you do an undo for a painting with the brush tool? > > I just type Cmd-Z and undo happens. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From heather at runrev.com Mon Jul 7 12:55:51 2008 From: heather at runrev.com (Heather Nagey) Date: Mon, 7 Jul 2008 17:55:51 +0100 Subject: anyone purchased from the RunRev WebShop successfully with european vat id? In-Reply-To: <98DD65AF-F1B6-4EC9-B5A3-2F6BE3C42DF5@online.fr> References: <00030F35.4872490E@192.168.168.3> <98DD65AF-F1B6-4EC9-B5A3-2F6BE3C42DF5@online.fr> Message-ID: I've been checking this out in case there is a problem with the store, but I haven't managed to make it not remove VAT after entering a valid VAT ID. Possibly if you start out the order in a different currency, switch to euros on a later screen, and don't click outside the box after entering your VAT ID? But I haven't actually seen this. If anyone else does experience problems with this, please do drop a line to support, with as much detail as possible about the transaction, including currency, browser and platform information, and I'll continue to investigate. Regards, Heather On 7 Jul 2008, at 15:55, Ren? Micout wrote: > Hello, > I had made the same thing today and it was OK (from France)... > Ren? > > Le 7 juil. 08 ? 16:49, runrev260805 at m-r-d.de a ?crit : > >> Hi, >> >> did anyone from europe ever puchased successfully from the RunRev >> webshop with her/his/their vat id to avoid paying vat? >> >> I wanted to buy AnimationEngine today. But although i enter my >> correct vat id, i will be charged for vat. Worldpay wants around >> 49 Eur from me, although >> Animation Engine is only 39,95 Eur ! >> >> Did i miss something? >> >> Regards, >> >> Matthias >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From jacque at hyperactivesw.com Mon Jul 7 12:58:10 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 11:58:10 -0500 Subject: AW: AW: how to store imagedata in a custom property? In-Reply-To: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> References: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> Message-ID: <48724B22.8080901@hyperactivesw.com> Tiemo Hollmann TB wrote: > I want to provide my user a undo function in the standalone with the brush > tool, not while developing. In that case you may need to write a commandKey handler that traps for "z" and issues the "undo" command. If you have menus with that keyboard shortcut, they should work too. By the way, what is "AW:" in the subject line? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Jul 7 13:18:15 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 07 Jul 2008 10:18:15 -0700 Subject: how to store imagedata in a custom property? In-Reply-To: <001501c8e009$ccc74cc0$18b2a8c0@TiemoPC2> Message-ID: Recently, Tiemo Hollmann TB wrote: > I would like to make my > own "undo" for painting actions with storing different states of the image > in custom properties, like: > > set the undo1 of img "foo" to the imagedata of img "foo" > > but when trying to restore the imagedata out of the custom property undo1 > > set the imagedata of img "foo" to the undo1 of img "foo" > > just nothing happens. What you describe above works for me here in 2.9. One other thing you might try. Instead of storing the imageData, store the text of the image. set the undo1 of img "foo" to the text of img "foo" Then, to restore the image: set the text of img "foo" to the undo1 of img 1 Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From viktoras at ekoinf.net Mon Jul 7 13:22:12 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Mon, 07 Jul 2008 20:22:12 +0300 Subject: how to store imagedata in a custom property? In-Reply-To: <48724B22.8080901@hyperactivesw.com> References: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> <48724B22.8080901@hyperactivesw.com> Message-ID: <487250C4.50307@ekoinf.net> but ctrl+z is a single step undo, isn't it? I haven't done this with imagedata, but for text changes in fields I store the text of field in an array 'undooArray' before each space, enter, return, backspace, delete, dot, comma, colon, paste, copy, cut, insert (or any other action of context menu) in that field. Then I can undo or redo as many times as I like by adding or subtracting from current key of the array. E.g. undo as put undooArray[currentKey - 1] into fld myField; redo as put undooArray[currentKey + 1]. Only available memory sets the limit. best wishes! Viktoras J. Landman Gay wrote: > Tiemo Hollmann TB wrote: >> I want to provide my user a undo function in the standalone with the >> brush >> tool, not while developing. > > In that case you may need to write a commandKey handler that traps for > "z" and issues the "undo" command. If you have menus with that > keyboard shortcut, they should work too. > > By the way, what is "AW:" in the subject line? > From bvg at mac.com Mon Jul 7 13:25:59 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 07 Jul 2008 19:25:59 +0200 Subject: AW: AW: how to store imagedata in a custom property? In-Reply-To: <48724B22.8080901@hyperactivesw.com> References: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> <48724B22.8080901@hyperactivesw.com> Message-ID: On 7 Jul 2008, at 18:58, J. Landman Gay wrote: > By the way, what is "AW:" in the subject line? It's German for "Re:", and an abbreviation of "Antwort" which means "Answer". -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From jacque at hyperactivesw.com Mon Jul 7 14:30:15 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 13:30:15 -0500 Subject: AW: AW: how to store imagedata in a custom property? In-Reply-To: References: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> <48724B22.8080901@hyperactivesw.com> Message-ID: <487260B7.2000809@hyperactivesw.com> Bj?rnke von Gierke wrote: > On 7 Jul 2008, at 18:58, J. Landman Gay wrote: > >> By the way, what is "AW:" in the subject line? > > It's German for "Re:", and an abbreviation of "Antwort" which means > "Answer". Thank you! It was a mystery to me, now solved. :) I love that we have so many bilingual people on this list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From noelf at nomigraphics.com Mon Jul 7 14:42:53 2008 From: noelf at nomigraphics.com (Noel) Date: Mon, 07 Jul 2008 12:42:53 -0600 Subject: AW: AW: how to store imagedata in a custom property? In-Reply-To: <487260B7.2000809@hyperactivesw.com> References: <000001c8e04f$cb7d64d0$18b2a8c0@TiemoPC2> <48724B22.8080901@hyperactivesw.com> <487260B7.2000809@hyperactivesw.com> Message-ID: <0MKp8S-1KFvfy2CzQ-0005ca@mrelay.perfora.net> I figured it meant Answer Within :) Guess I wasn't that far off! - Noel At 12:30 PM 7/7/2008, you wrote: >Bj?rnke von Gierke wrote: >>On 7 Jul 2008, at 18:58, J. Landman Gay wrote: >> >>>By the way, what is "AW:" in the subject line? >>It's German for "Re:", and an abbreviation of "Antwort" which means "Answer". > >Thank you! It was a mystery to me, now solved. >:) I love that we have so many bilingual people on this list. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe >and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Mon Jul 7 15:01:48 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 7 Jul 2008 15:01:48 -0400 Subject: Changing a field to a table field and vice versa Message-ID: <9b408d8e0807071201j597ce4dajf29d9245ed869ba8@mail.gmail.com> What can I set to switch a field to a table field and back again? -- Paul Lynde - "I sang in the choir for years, even though my family belonged to another church." From janschenkel at yahoo.com Mon Jul 7 15:53:35 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Jul 2008 12:53:35 -0700 (PDT) Subject: Changing a field to a table field and vice versa In-Reply-To: <9b408d8e0807071201j597ce4dajf29d9245ed869ba8@mail.gmail.com> Message-ID: <156435.70989.qm@web65405.mail.ac4.yahoo.com> --- Mikey wrote: > What can I set to switch a field to a table field > and back again? > If all you want is to display the grid, then you can do this with: ## set the vGrid of field "MyField" to true set the hGrid of field "MyField" to true ## And you may want to tweak the 'tabStops' property as well. If you also want to turn on the 'table' behaviour and cell editing: ## set the cRevGeneral["table"] of field "MyField" to true set the cRevTable["celledit"] of field "MyField" to true ## Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From mikeythek at gmail.com Mon Jul 7 16:18:15 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 7 Jul 2008 16:18:15 -0400 Subject: Changing a field to a table field and vice versa In-Reply-To: <156435.70989.qm@web65405.mail.ac4.yahoo.com> References: <9b408d8e0807071201j597ce4dajf29d9245ed869ba8@mail.gmail.com> <156435.70989.qm@web65405.mail.ac4.yahoo.com> Message-ID: <9b408d8e0807071318r185f7d5o91a2665ec1c25fc7@mail.gmail.com> thanks, Jan. On Mon, Jul 7, 2008 at 15:53, Jan Schenkel wrote: > --- Mikey wrote: > > What can I set to switch a field to a table field > > and back again? > > > > If all you want is to display the grid, then you can > do this with: > ## > set the vGrid of field "MyField" to true > set the hGrid of field "MyField" to true > ## > And you may want to tweak the 'tabStops' property as > well. > > If you also want to turn on the 'table' behaviour and > cell editing: > ## > set the cRevGeneral["table"] of field "MyField" to > true > set the cRevTable["celledit"] of field "MyField" to > true > ## > > Hope this helped, > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- EB White - "Be obscure clearly." From mikeythek at gmail.com Mon Jul 7 16:19:14 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 7 Jul 2008 16:19:14 -0400 Subject: Changing a field to a table field and vice versa In-Reply-To: <9b408d8e0807071318r185f7d5o91a2665ec1c25fc7@mail.gmail.com> References: <9b408d8e0807071201j597ce4dajf29d9245ed869ba8@mail.gmail.com> <156435.70989.qm@web65405.mail.ac4.yahoo.com> <9b408d8e0807071318r185f7d5o91a2665ec1c25fc7@mail.gmail.com> Message-ID: <9b408d8e0807071319o6f12aae0j22f510f7f41d0743@mail.gmail.com> as usual I forgot to check all the custom properties when I was looking at what changed in an object when I switched from one type to another. I have to remember to start doing that... -- George Burns - "Don't stay in bed, unless you can make money in bed." From cszasz at mac.com Mon Jul 7 18:50:01 2008 From: cszasz at mac.com (Charles Szasz) Date: Mon, 7 Jul 2008 15:50:01 -0700 (PDT) Subject: Setting the labels of radio buttons from a Option Menu Button Message-ID: <18328415.post@talk.nabble.com> I have been unable to set the labels of radio buttons in a group from an Option Menu. I do not understand why the following script does not work for two radio buttons, R1, R2, in a group "radio" from a Option Menu button: on menuPick pChosen switch case "choice 1" set the label of button "R1" of group "radio" to "Hello" break case "choice 2" set the label of button "R2" of group "radio" to "Bye" break end switch end menuPick Anyone have any suggestions? -- View this message in context: http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18328415.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Mon Jul 7 19:48:03 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 8 Jul 2008 01:48:03 +0200 Subject: Problem with field references References: <331D6F03-56D5-4ECB-A2CB-5D230BAB7FF5@mines-paristech.fr> Message-ID: <9A803F88-76EB-40DA-9F6C-F1FEEF5F8495@mines-paristech.fr> sorry I had to resend my msg > > This is a pain that that goes back to HC, IIRC. The same issue > appears with properties. It sems that, if a variabl's content is an > objet name, transcript is not smart enough to understand it (mayby > it just does not know what to decide). > Of course, there is the "do" command. Unfortunately (but not > surprisingly), standalones only support a limited number of "do" > command. > Could it be possible to define an object class of type "object > name", in order to achieve some commands like > "put the long name of this stack into object name foo" > Then further usage of "foo" treats it as an object name/reference > and you don't have to use the "do" command. > > Cheers from Paris > Fran?ois > Le 7 juil. 08 ? 17:41, Mikey a ?crit : > >> I have had to use the "do" option. The text and value tries >> didn't do it. >> -- >> George Burns - "Don't stay in bed, unless you can make money in >> bed." >> From jacque at hyperactivesw.com Mon Jul 7 21:29:06 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 20:29:06 -0500 Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <18328415.post@talk.nabble.com> References: <18328415.post@talk.nabble.com> Message-ID: <4872C2E2.9080009@hyperactivesw.com> Charles Szasz wrote: > I have been unable to set the labels of radio buttons in a group from an > Option Menu. I do not understand why the following script does not work for > two radio buttons, R1, R2, in a group "radio" from a Option Menu button: > > on menuPick pChosen > switch > case "choice 1" > set the label of button "R1" of group "radio" to "Hello" > break > case "choice 2" > set the label of button "R2" of group "radio" to "Bye" > break > end switch > end menuPick > > Anyone have any suggestions? Unless the menu items in the button really are "Choice 1" and "Choice 2" then nothing in that script is going to fire. Replace the "choice" statements with the actual names of your button's menu items. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 7 21:38:25 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Jul 2008 20:38:25 -0500 Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <4872C2E2.9080009@hyperactivesw.com> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> Message-ID: <4872C511.6000202@hyperactivesw.com> J. Landman Gay wrote: > Charles Szasz wrote: >> I have been unable to set the labels of radio buttons in a group from an >> Option Menu. I do not understand why the following script does not >> work for >> two radio buttons, R1, R2, in a group "radio" from a Option Menu button: >> >> on menuPick pChosen >> switch >> case "choice 1" >> set the label of button "R1" of group "radio" to "Hello" >> break >> case "choice 2" >> set the label of button "R2" of group "radio" to "Bye" >> break >> end switch >> end menuPick >> >> Anyone have any suggestions? > > Unless the menu items in the button really are "Choice 1" and "Choice 2" > then nothing in that script is going to fire. Replace the "choice" > statements with the actual names of your button's menu items. > Oh, also, I just noticed the syntax is wrong. You can use either of these: switch pChosen case "whatever" break etc or this: switch case pChosen = "whatever" break case pChosen = "whatever2" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Mon Jul 7 21:50:47 2008 From: cszasz at mac.com (Charles Szasz) Date: Mon, 7 Jul 2008 18:50:47 -0700 (PDT) Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <4872C2E2.9080009@hyperactivesw.com> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> Message-ID: <18330393.post@talk.nabble.com> Jacquline, The sample script was one that I fooling around with it after my project did not work. My actual project that I am using names in the Switch statements does not work. So, J. Landman Gay wrote: > > Charles Szasz wrote: >> I have been unable to set the labels of radio buttons in a group from an >> Option Menu. I do not understand why the following script does not work >> for >> two radio buttons, R1, R2, in a group "radio" from a Option Menu button: >> >> on menuPick pChosen >> switch >> case "choice 1" >> set the label of button "R1" of group "radio" to "Hello" >> break >> case "choice 2" >> set the label of button "R2" of group "radio" to "Bye" >> break >> end switch >> end menuPick >> >> Anyone have any suggestions? > > Unless the menu items in the button really are "Choice 1" and "Choice 2" > then nothing in that script is going to fire. Replace the "choice" > statements with the actual names of your button's menu items. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18330393.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Tue Jul 8 03:19:45 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 8 Jul 2008 09:19:45 +0200 Subject: AW: how to store imagedata in a custom property? In-Reply-To: Message-ID: <000901c8e0cb$0011d250$18b2a8c0@TiemoPC2> Thanks Scott, that works perfect, I don't know why it didn't worked with imagedata at my 2.9. Tiemo > > > What you describe above works for me here in 2.9. > > One other thing you might try. Instead of storing the imageData, store > the > text of the image. > > set the undo1 of img "foo" to the text of img "foo" > > Then, to restore the image: > > set the text of img "foo" to the undo1 of img 1 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design From toolbook at kestner.de Tue Jul 8 03:22:30 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 8 Jul 2008 09:22:30 +0200 Subject: AW: how to store imagedata in a custom property? In-Reply-To: <487250C4.50307@ekoinf.net> Message-ID: <000a01c8e0cb$62426340$18b2a8c0@TiemoPC2> Hi Viktoras, thanks for your approach, that's what I was heading for and now with the text of the image (Scotts hint) it works also with an array perfect. Tiemo > > but ctrl+z is a single step undo, isn't it? I haven't done this with > imagedata, but for text changes in fields I store the text of field in > an array 'undooArray' before each space, enter, return, backspace, > delete, dot, comma, colon, paste, copy, cut, insert (or any other action > of context menu) in that field. Then I can undo or redo as many times as > I like by adding or subtracting from current key of the array. E.g. undo > as put undooArray[currentKey - 1] into fld myField; redo as put > undooArray[currentKey + 1]. Only available memory sets the limit. > > best wishes! > Viktoras From toolbook at kestner.de Tue Jul 8 03:28:27 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 8 Jul 2008 09:28:27 +0200 Subject: AW: OT: what does AW means In-Reply-To: Message-ID: <000b01c8e0cc$371f5690$18b2a8c0@TiemoPC2> Hi Bj?rnke, what I am wondering is, why it seems that my German mail program (outlook) is the only one, which sets a national prefix in the subject line. Do our friends from France, Italy, India, ... all work with English systems? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Bj?rnke von Gierke > Gesendet: Montag, 7. Juli 2008 19:26 > An: How to use Revolution > Betreff: Re: AW: AW: how to store imagedata in a custom property? > > On 7 Jul 2008, at 18:58, J. Landman Gay wrote: > > > By the way, what is "AW:" in the subject line? > > It's German for "Re:", and an abbreviation of "Antwort" which means > "Answer". > > > -- > > official ChatRev page: > http://chatrev.bjoernke.com > > Chat with other RunRev developers: > go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Jul 8 04:17:07 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 8 Jul 2008 10:17:07 +0200 Subject: Is there a kind of mousedown with the brush tool? Message-ID: <000c01c8e0d3$038ccea0$18b2a8c0@TiemoPC2> Hello, when using the brush tool no mousedown or mouseup messages are send. I didn't find any hints in the docs for other messages. (rawkeydown doesn't work either) Does anybody knows how to intercept "mousedown" with the brush tool? I wanted to use it for my undo function, to grab the state of the image before painting. Thanks for any ideas Tiemo From mkoob at rogers.com Tue Jul 8 09:49:18 2008 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Jul 2008 09:49:18 -0400 Subject: hang when changing stack height Message-ID: I have a sub-stack that contains a player object and a few buttons. One button has a script to change the size of the stack and the size of the player object which allows the user can go between full size or half size. Sometimes when the script gets to the command to change the height the Beach ball appears and revolution(2.9) hangs, freezing the mac. I have to use the power button to shut down and restart. Sometimes changing the height with the property inspector will cause revolution to hang, Any ideas why this is happening. Martin From shoreagent at gmail.com Tue Jul 8 09:54:50 2008 From: shoreagent at gmail.com (william humphrey) Date: Tue, 8 Jul 2008 09:54:50 -0400 Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <18330393.post@talk.nabble.com> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> <18330393.post@talk.nabble.com> Message-ID: <459b22a90807080654wb719846y96b20fdb49c4cee2@mail.gmail.com> > > The link below just takes you back to this same conversation on Nabble? > > > > > > -- > View this message in context: > http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18330393.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From francois.chaplais at mines-paristech.fr Tue Jul 8 10:00:52 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 8 Jul 2008 16:00:52 +0200 Subject: AW: OT: what does AW means In-Reply-To: <000b01c8e0cc$371f5690$18b2a8c0@TiemoPC2> References: <000b01c8e0cc$371f5690$18b2a8c0@TiemoPC2> Message-ID: <5FD26CA5-5A34-4665-BFD6-BEAECD28BA9B@mines-paristech.fr> Le 8 juil. 08 ? 09:28, Tiemo Hollmann TB a ?crit : > Hi Bj?rnke, > what I am wondering is, why it seems that my German mail program > (outlook) > is the only one, which sets a national prefix in the subject line. > Do our > friends from France, Italy, India, ... all work with English systems? > Tiemo > with Apple mail on the mac, the actual subject line starts with "Re:", but it is displayed according to the system's language (I get R?p: in French). From toolbook at kestner.de Tue Jul 8 10:08:18 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 8 Jul 2008 16:08:18 +0200 Subject: AW: AW: OT: what does AW means In-Reply-To: <5FD26CA5-5A34-4665-BFD6-BEAECD28BA9B@mines-paristech.fr> Message-ID: <003401c8e104$130f0790$18b2a8c0@TiemoPC2> Smart apple mail ;) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Fran?ois Chaplais > Gesendet: Dienstag, 8. Juli 2008 16:01 > An: How to use Revolution > Betreff: Re: AW: OT: what does AW means > > > Le 8 juil. 08 ? 09:28, Tiemo Hollmann TB a ?crit : > > > Hi Bj?rnke, > > what I am wondering is, why it seems that my German mail program > > (outlook) > > is the only one, which sets a national prefix in the subject line. > > Do our > > friends from France, Italy, India, ... all work with English systems? > > Tiemo > > > with Apple mail on the mac, the actual subject line starts with > "Re:", but it is displayed according to the system's language (I get > R?p: in French). > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Jul 8 11:06:46 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Jul 2008 17:06:46 +0200 Subject: hang when changing stack height In-Reply-To: References: Message-ID: Hi Martin, Do you have any script that run after you change the stack height? Perhaps these scripts lock up your stack. Is the filename of the player object set, while you change the stack height? Does setting the filename to empty before changing stack height help? You might lock messages before you change the stack height. Does that help? How often does does problem occur? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 8 jul 2008, at 15:49, Martin Koob wrote: > I have a sub-stack that contains a player object and a few buttons. > > One button has a script to change the size of the stack and the size > of the player object which allows the user can go between full size > or half size. > > Sometimes when the script gets to the command to change the height > the Beach ball appears and revolution(2.9) hangs, freezing the mac. > I have to use the power button to shut down and restart. > > Sometimes changing the height with the property inspector will cause > revolution to hang, > > Any ideas why this is happening. > > Martin From mkoob at rogers.com Tue Jul 8 15:07:00 2008 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Jul 2008 19:07:00 +0000 (UTC) Subject: hang when changing stack height References: Message-ID: Mark Schonewille writes: > > Hi Martin, > > Do you have any script that run after you change the stack height? > Perhaps these scripts lock up your stack. > > Is the filename of the player object set, while you change the stack > height? Does setting the filename to empty before changing stack > height help? > > You might lock messages before you change the stack height. Does that > help? > > How often does does problem occur? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > Hi Mark I don't have any script run after the height change. Script hangs in the middle of the handler right after the set height command is executed. This will happen whether or not the file name of the object is empty or has a movie file name in it. I will not occur the first couple of times but it will eventually happen. I have been doing more work on this. I noticed that it only happens when increasing the size of the stack. I was using the same order to change sizes, 1. change player size, 2 change stack size. When increasing the size this caused the player to go outside the bounds of the stack. I thought this may be the problem. So I tried using a conditional to identify when increasing the size and in that case I changed order of resizing to 1.stack size increase, 2. playersize increase. I have been changing sizes of the stack and the player by individually changing the height and width values. I have also been centering the player on the stack as it is changed to keep it from going beyond the bounds of the stack by setting the location of the player and at the end I set the final position of the player by setting the top left of the player. This seemed to work until i added in a "set lockscreen to true" statement at the beginning of the handler and a "set lockscreen to false" statement at the end of the handler. I did this to hide all the changes going on from the user. This caused the hang to occur again when increasing stack height. I have not tried this yet with lock messages. Martin From m.schonewille at economy-x-talk.com Tue Jul 8 15:22:20 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Jul 2008 21:22:20 +0200 Subject: hang when changing stack height In-Reply-To: References: Message-ID: <41E9F85C-8692-4BF4-AB9F-35924F0ABC22@economy-x-talk.com> Hi Martin, Are you using a Mac, does your stack have a menu bar and have you set editMenus to false, i.e. the menubar is not visible on the stack but appears in the menubar on top of the screen? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 8 jul 2008, at 21:07, Martin Koob wrote: > > Hi Mark > > I don't have any script run after the height change. Script hangs in > the middle of the handler right after the set height command is > executed. > > This will happen whether or not the file name of the object is empty > or > has a movie file name in it. > > I will not occur the first couple of times but it will eventually > happen. > > I have been doing more work on this. I noticed that it only happens > when increasing the size of the stack. I was using the same order to > change sizes, 1. change player size, 2 change stack size. When > increasing the size this caused the player to go outside the bounds of > the stack. I thought this may be the problem. So I tried using a > conditional to identify when increasing the size and in that case I > changed order of resizing to 1.stack size increase, 2. playersize > increase. > > I have been changing sizes of the stack and the player by individually > changing the height and width values. I have also been centering the > player on the stack as it is changed to keep it from going beyond the > bounds of the stack by setting the location of the player and at the > end > I set the final position of the player by setting the top left of the > player. > > This seemed to work until i added in a "set lockscreen to true" > statement at the beginning of the handler and a "set lockscreen to > false" statement at the end of the handler. I did this to hide all > the > changes going on from the user. This caused the hang to occur again > when increasing stack height. > > > I have not tried this yet with lock messages. > > Martin > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mkoob at rogers.com Tue Jul 8 15:50:20 2008 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Jul 2008 19:50:20 +0000 (UTC) Subject: hang when changing stack height References: <41E9F85C-8692-4BF4-AB9F-35924F0ABC22@economy-x-talk.com> Message-ID: Mark Schonewille writes: > > Hi Martin, > > Are you using a Mac, does your stack have a menu bar and have you set > editMenus to false, i.e. the menubar is not visible on the stack but > appears in the menubar on top of the screen? > > -- > Best regards, > > Mark Schonewille > I am using a Mac running OS X Leopard. Editmenus is false, the menu bar is not on the stack, it is in the regular menu bar at the top of the screen. Getting rid of lockscreen seems to have solved the issue. To hide the changes I have added a command to hide the stack at the beginning of the handler that changes player and stack sizes and then I add a command to show the stack at the end of the handler. So far this seems to work, hopefully the issue will not appear again. Martin From mikeythek at gmail.com Tue Jul 8 16:25:17 2008 From: mikeythek at gmail.com (Mikey) Date: Tue, 8 Jul 2008 16:25:17 -0400 Subject: How do I stop a table field from scrolling right? Message-ID: <9b408d8e0807081325q4997f402na0cb6a54956de0a6@mail.gmail.com> I've got a table field. Cells are editable. I have the maximum editable column set to 4. The field is a little wider than the right of the fourth column. When I click in the fourth column, the whole field scrolls right so the 4th column is now on the far left of the field, and columns to the right of it are now visible. How do I stop this behavior? -- Emo Philips - "I got some new underwear the other day. Well, new to me." From cszasz at mac.com Tue Jul 8 16:28:20 2008 From: cszasz at mac.com (Charles Szasz) Date: Tue, 8 Jul 2008 13:28:20 -0700 (PDT) Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <4872C511.6000202@hyperactivesw.com> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> <4872C511.6000202@hyperactivesw.com> Message-ID: <18348351.post@talk.nabble.com> Jacqueline, Thanks! Your second suggestion did the trick! I made the changes in my Option Menu but I have another problem. One of my entries in the switch structure is being omitted when it is selected in the Option Menu. Each case statement has a break statement at the end. The name in the option menu matches the entry in the cases. I am using the name of my Option Menu in the label and also in the text (Inspector for Option Menu). I thought perhaps setting the number of menulines to equal the label + the number of text lines but I tried changing it to a number that is only equal to the menulines but that did not correct the problem/ Any ideas? J. Landman Gay wrote: > > J. Landman Gay wrote: >> Charles Szasz wrote: > > switch > case pChosen = "whatever" > > break > case pChosen = "whatever2" > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18348351.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Tue Jul 8 16:41:06 2008 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 8 Jul 2008 14:41:06 -0600 Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <18348351.post@talk.nabble.com> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> <4872C511.6000202@hyperactivesw.com> <18348351.post@talk.nabble.com> Message-ID: <489DC039-86FA-47DB-952A-A96C1D868CEF@byu.edu> On Jul 8, 2008, at 2:28 PM, Charles Szasz wrote: > > Jacqueline, > > Thanks! Your second suggestion did the trick! I made the changes in my > Option Menu but I have another problem. > > One of my entries in the switch structure is being omitted when it is > selected in the Option Menu. Each case statement has a break > statement at > the end. The name in the option menu matches the entry in the cases. Charles, Check your menu entries in the option menu inspector for white space (like space or tab) characters after the entry. I've been caught by this before. In other words, the case statement doesn't match the line in the menu entries because "whatever" is not the same as "whatever ". Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Tue Jul 8 16:55:24 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Jul 2008 22:55:24 +0200 Subject: hang when changing stack height In-Reply-To: References: <41E9F85C-8692-4BF4-AB9F-35924F0ABC22@economy-x-talk.com> Message-ID: <8CDD5EBD-16C8-47A2-8A51-94F1626AC54C@economy-x-talk.com> Hi Martin, I think you are running into a rare combination of Rev peculiarities. Unfortunaly, I don't exactly remember how I solved this problem when I stumbled upon it, but I believe that you can still use the lock screen command. Locking messages before locking the screen might help (or maybe not) and the exact place of the lock screen command in your script may have an effect, too. Surely, as you wrote, removing the lock screen command altogether is also an option. I wonder whether the problem would persist, if you set the editmenus to true. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 8 jul 2008, at 21:50, Martin Koob wrote: > Mark Schonewille writes: > >> >> Hi Martin, >> >> Are you using a Mac, does your stack have a menu bar and have you set >> editMenus to false, i.e. the menubar is not visible on the stack but >> appears in the menubar on top of the screen? >> >> -- >> Best regards, >> >> Mark Schonewille >> > I am using a Mac running OS X Leopard. > Editmenus is false, the menu bar is not on the stack, it is in the > regular menu bar at the top of the screen. > > Getting rid of lockscreen seems to have solved the issue. To hide > the changes I have added a command to > hide the stack at the beginning of the handler that changes player > and stack sizes and then I add a > command to show the stack at the end of the handler. So far this > seems to work, hopefully the issue will > not appear again. > > Martin From mikeythek at gmail.com Tue Jul 8 16:56:17 2008 From: mikeythek at gmail.com (Mikey) Date: Tue, 8 Jul 2008 16:56:17 -0400 Subject: Parentheses in Menu Items Message-ID: <9b408d8e0807081356o7183b330m7c19d9c7703e56f0@mail.gmail.com> So I have this menu control on a card. I want to put parentheses in some of the items. However the manual says that putting an open-parentheses in any menuitem disables the item. Instead you should use \(. So I have written a script to fix that problem, but the backslash still appears instead of being eaten. So I decided to find out what would happen if I removed the backslash, and lo and behold the menuitem is not disabled and the parenthesis appears. So am I missing something here? -- EB White - "Be obscure clearly." From m.schonewille at economy-x-talk.com Tue Jul 8 17:04:08 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Jul 2008 23:04:08 +0200 Subject: Parentheses in Menu Items In-Reply-To: <9b408d8e0807081356o7183b330m7c19d9c7703e56f0@mail.gmail.com> References: <9b408d8e0807081356o7183b330m7c19d9c7703e56f0@mail.gmail.com> Message-ID: <63FBF3BB-93FF-4F5D-B70E-309BC781F550@economy-x-talk.com> Hi Mikey, The backslash is only necessary if the left parenthesis is the first character of the text of the menu item. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 8 jul 2008, at 22:56, Mikey wrote: > So I have this menu control on a card. I want to put parentheses in > some of > the items. However the manual says that putting an open-parentheses > in any > menuitem disables the item. Instead you should use \(. So I have > written a > script to fix that problem, but the backslash still appears instead > of being > eaten. So I decided to find out what would happen if I removed the > backslash, and lo and behold the menuitem is not disabled and the > parenthesis appears. So am I missing something here? From cszasz at mac.com Tue Jul 8 17:06:08 2008 From: cszasz at mac.com (Charles Szasz) Date: Tue, 8 Jul 2008 14:06:08 -0700 (PDT) Subject: Setting the labels of radio buttons from a Option Menu Button In-Reply-To: <489DC039-86FA-47DB-952A-A96C1D868CEF@byu.edu> References: <18328415.post@talk.nabble.com> <4872C2E2.9080009@hyperactivesw.com> <4872C511.6000202@hyperactivesw.com> <18348351.post@talk.nabble.com> <489DC039-86FA-47DB-952A-A96C1D868CEF@byu.edu> Message-ID: <18349079.post@talk.nabble.com> Devin, You were right! I found one space and also two misspelled words that contributed to this problem. Thanks for your suggestion! Devin Asay wrote: > > > Check your menu entries in the option menu inspector for white space > (like space or tab) characters after the entry. I've been caught by > this before. In other words, the case statement doesn't match the > line in the menu entries because "whatever" is not the same as > "whatever ". > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Setting-the-labels-of-radio-buttons-from-a-Option-Menu-Button-tp18328415p18349079.html Sent from the Revolution - User mailing list archive at Nabble.com. From mfstuart at cox.net Tue Jul 8 17:58:27 2008 From: mfstuart at cox.net (mfstuart) Date: Tue, 8 Jul 2008 14:58:27 -0700 (PDT) Subject: force quit of open RunRev app from another software Message-ID: <18350056.post@talk.nabble.com> Hi all Revolutionaries, WINXP RunRev: 2.9 I have a RunRev app that I have built. It is an executable. This app is called/opened from another software application, written in a different software development tool. No problem with this. I may have more than one instance of the RunRev application open at one time. And need to close these sessions when the application that opened them, closes. How do I force quit these open RunRev application sessions from the other software? TIA, Mark Stuart -- View this message in context: http://www.nabble.com/force-quit-of-open-RunRev-app-from-another-software-tp18350056p18350056.html Sent from the Revolution - User mailing list archive at Nabble.com. From RevList at CreaTECHSol.com Tue Jul 8 18:18:28 2008 From: RevList at CreaTECHSol.com (RevList) Date: Tue, 08 Jul 2008 15:18:28 -0700 Subject: Revolution Script Reporter Message-ID: I have created a stack called Revolution Script Reporter and have uploaded it to My Space (slynch) on Rev Online. It is a simple solution that asks you to select a Revolution file and then will summarize all scripts as well as list all Stacks, substacks, cards and controls in a scrolling field so that you can select a specific one. Check it out if you are interested. Thanks to all who answered my questions over the past few days as I am getting use to the transcript syntax. Stewart. -------------------------------------------------------------------------------------------------------------------- Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. -------------------------------------------------------------------------------------------------------------------- From runrev260805 at m-r-d.de Tue Jul 8 18:58:55 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 8 Jul 2008 22:58:55 +0000 Subject: force quit of open RunRev app from another software Message-ID: <00030F99.48740D4E@192.168.168.3> Hi Mark, i would look at the open processes of Windows. There you should see your revapps. If you are not familiar to shutdown/kill processes with your other software dev tool. Then you could invoke a shell command from your other app. under XP Pro you could use tasklist.exe to list all the open processess taskkill.exe to kill the unwanted tasks or tskill.exe to kill the unwanted tasks (less powerfull) under XP home tskill.exe See the commandline help of these programs for the exact syntax. I don?t know if XP home has also tasklist.exe. Maybe this helps a little bit. Regards, Matthias -------- Original Message -------- Subject: force quit of open RunRev app from another software (09-Jul-2008 0:03) From: mfstuart To: runrev260805 at m-r-d.de > > Hi all Revolutionaries, > > WINXP > RunRev: 2.9 > > I have a RunRev app that I have built. It is an executable. > This app is called/opened from another software application, written in a > different software development tool. No problem with this. > > I may have more than one instance of the RunRev application open at one > time. > And need to close these sessions when the application that opened them, > closes. > > How do I force quit these open RunRev application sessions from the other > software? > > TIA, > Mark Stuart > -- > View this message in context: http://www.nabble.com/force-quit-of-open- > RunRev-app-from-another-software-tp18350056p18350056.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From mfstuart at cox.net Tue Jul 8 19:21:59 2008 From: mfstuart at cox.net (mfstuart) Date: Tue, 8 Jul 2008 16:21:59 -0700 (PDT) Subject: force quit of open RunRev app from another software In-Reply-To: <00030F99.48740D4E@192.168.168.3> References: <18350056.post@talk.nabble.com> <00030F99.48740D4E@192.168.168.3> Message-ID: <18351253.post@talk.nabble.com> Matthias brilliant :) I can use/call this from my other software development tool. - Didn't know you could do that! - There are a lot of ways to kill a session. The following is the one I used: 'taskkill /IM appname.exe' Closes all sessions that are open with appname.exe And appropriate for what I need. Another way: 'taskkill /PID 5548' If you know the exact Process ID of the session you want to kill/close. Thanx, Mark Stuart runrev260805 wrote: > > Hi Mark, > > i would look at the open processes of Windows. There you should see your > revapps. > > If you are not familiar to shutdown/kill processes with your other > software dev tool. Then you could invoke a shell command from your other > app. > > under XP Pro you could use > tasklist.exe to list all the open processess > taskkill.exe to kill the unwanted tasks or > tskill.exe to kill the unwanted tasks (less powerfull) > > under XP home > tskill.exe > > See the commandline help of these programs for the exact syntax. > > > I don?t know if XP home has also tasklist.exe. > > Maybe this helps a little bit. > > > Regards, > > Matthias > > > > -------- Original Message -------- > Subject: force quit of open RunRev app from another software (09-Jul-2008 > 0:03) > From: mfstuart > To: runrev260805 at m-r-d.de > >> >> Hi all Revolutionaries, >> >> WINXP >> RunRev: 2.9 >> >> I have a RunRev app that I have built. It is an executable. >> This app is called/opened from another software application, written in a >> different software development tool. No problem with this. >> >> I may have more than one instance of the RunRev application open at one >> time. >> And need to close these sessions when the application that opened them, >> closes. >> >> How do I force quit these open RunRev application sessions from the other >> software? >> >> TIA, >> Mark Stuart >> -- >> View this message in context: http://www.nabble.com/force-quit-of-open- >> RunRev-app-from-another-software-tp18350056p18350056.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/force-quit-of-open-RunRev-app-from-another-software-tp18350056p18351253.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Tue Jul 8 19:33:43 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 8 Jul 2008 23:33:43 +0000 Subject: Exporting to rtf with fontinformation Message-ID: <00030F9A.48741575@192.168.168.3> Hi, i have to create a rtf document with Revolution. I set the textsize and font. The text in the field is correctly shown. But after exporting it to rtf and reopen it in word or wordpad, the text is not shown correctly. The font is not correct. opening it with an texeditor shows me the following text {\rtf\ansi abcdefghijklmnopqrstuvwxyz} Information about size and font is missing. My test script looks like this on mouseup put "abcdefghijklmnopqrstuvwxyz" into Liste put Liste into fld "RTF Text" set the textfont of fld "RTF Text" to the selectedtext of button "fonts" -- button fonts is a combo box, which let me select between all installed fonts set the textsize of fld "RTF Text" to 28 open file "C:/test.rtf" FOR write write the rtftext of fld "RTF Text" to file "C:/test.rtf" close file "C:/test.rtf" end mouseup Am i missing something? Regards, Matthias From runrev260805 at m-r-d.de Tue Jul 8 19:33:44 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 8 Jul 2008 23:33:44 +0000 Subject: Re-2: force quit of open RunRev app from another software Message-ID: <00030F9B.48741576@192.168.168.3> Mark, good to hear. But be aware if you want to give your final app away, that XP home only has tskill.exe. Regards, Matthias -------- Original Message -------- Subject: Re: force quit of open RunRev app from another software (09-Jul-2008 1:24) From: mfstuart To: runrev260805 at m-r-d.de > > Matthias brilliant :) > > I can use/call this from my other software development tool. > - Didn't know you could do that! - > > There are a lot of ways to kill a session. The following is the one I used: > 'taskkill /IM appname.exe' > Closes all sessions that are open with appname.exe > And appropriate for what I need. > > Another way: > 'taskkill /PID 5548' > If you know the exact Process ID of the session you want to kill/close. > > Thanx, > Mark Stuart > > > > > runrev260805 wrote: > > > > Hi Mark, > > > > i would look at the open processes of Windows. There you should see your > > revapps. > > > > If you are not familiar to shutdown/kill processes with your other > > software dev tool. Then you could invoke a shell command from your other > > app. > > > > under XP Pro you could use > > tasklist.exe to list all the open processess > > taskkill.exe to kill the unwanted tasks or > > tskill.exe to kill the unwanted tasks (less powerfull) > > > > under XP home > > tskill.exe > > > > See the commandline help of these programs for the exact syntax. > > > > > > I don?t know if XP home has also tasklist.exe. > > > > Maybe this helps a little bit. > > > > > > Regards, > > > > Matthias > > > > > > > > -------- Original Message -------- > > Subject: force quit of open RunRev app from another software (09-Jul-2008 > > 0:03) > > From: mfstuart > > To: runrev260805 at m-r-d.de > > > >> > >> Hi all Revolutionaries, > >> > >> WINXP > >> RunRev: 2.9 > >> > >> I have a RunRev app that I have built. It is an executable. > >> This app is called/opened from another software application, written in > a > >> different software development tool. No problem with this. > >> > >> I may have more than one instance of the RunRev application open at one > >> time. > >> And need to close these sessions when the application that opened them, > >> closes. > >> > >> How do I force quit these open RunRev application sessions from the > other > >> software? > >> > >> TIA, > >> Mark Stuart > >> -- > >> View this message in context: http://www.nabble.com/force-quit-of-open- > >> RunRev-app-from-another-software-tp18350056p18350056.html > >> Sent from the Revolution - User mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > >> > >> > >> To: use-revolution at lists.runrev.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > View this message in context: http://www.nabble.com/force-quit-of-open- > RunRev-app-from-another-software-tp18350056p18351253.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From kray at sonsothunder.com Tue Jul 8 21:08:41 2008 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 08 Jul 2008 20:08:41 -0500 Subject: Exporting to rtf with fontinformation In-Reply-To: <00030F9A.48741575@192.168.168.3> Message-ID: > But after exporting it to rtf and reopen it in word or wordpad, the text is > not shown correctly. The font is not correct. The problem is the way that text attributes are maintained in Rev vs. how they're exported. If the *field* has text attributes assigned, it looks like they don't export to RTF. But if the *text* has text attributes assigned and the *field* doesn't, you get the styling in the RTF. Try changing: set the textFont of fld "RTF Text" to ... set the textSize of fld "RTF Text" to ... to set the textFont of char 1 to -1 of fld "RTF Text" to... set the textSize of char 1 to -1 of fld "RTF Text" to... You may need to clear the field-based attributes before it outputs properly (set the textfFont of fld "RTF Text" to empty), etc. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bridgeyman at gmail.com Tue Jul 8 22:37:15 2008 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Tue, 8 Jul 2008 20:37:15 -0600 Subject: revFontLoad Crashes Message-ID: <86ae76bb0807081937x3017c66ct220ed17daa1c6f7a@mail.gmail.com> Hey, I am finding revFontLoad to be quite troublesome. I would like the ability to load fonts dynamically in my app from a given directory. However, I have run into a few problems, particularly on OS X. One font I tried to load using revFontLoad on OS X made the entire interface, including everything in the Revolution IDE, to turn a different language. I don't know what language it was, but it had a lot of curvy lines and dots, for what it is worth. Now any font I try to load on OS X just crashes my application immediately and without any errors. On Windows things seem to be working better, but I haven't done too much testing there yet. One thing I have noticed is that if a text field is set to use a particular font before the font is loaded, the font will not be loaded correctly for all sizes and the field will not show the font. For example, if I have a field with Lucida Grande 18 point text, when I load the Lucida Grande font, size 18 does not work. This is not mentioned in the docs. Also, is ttf the only font format that revFontLoad supports? If it is, I can't find any mention of that limitation in the docs. TTFN Bridger Maxwell From janschenkel at yahoo.com Wed Jul 9 00:30:54 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 8 Jul 2008 21:30:54 -0700 (PDT) Subject: How do I stop a table field from scrolling right? In-Reply-To: <9b408d8e0807081325q4997f402na0cb6a54956de0a6@mail.gmail.com> Message-ID: <735291.9080.qm@web65402.mail.ac4.yahoo.com> --- Mikey wrote: > I've got a table field. Cells are editable. I have > the maximum editable > column set to 4. The field is a little wider than > the right of the fourth > column. When I click in the fourth column, the > whole field scrolls right so > the 4th column is now on the far left of the field, > and columns to the right > of it are now visible. How do I stop this behavior? > Hi Mikey, The problem seems to stem from the application of a 'fudge' factor to ensure that everything is visible and stays within the margins of the table field, taking the scrollbar width into account. This was done to prevent situations where you take a stack from a Mac, where scrollbars are 16 pixels wide, to another platform where scrollbars are perhaps 20 pixels wide. And that's why it will work if you add an extra 8 pixels to the right of your table field. But that leaves you with a visual artefact. You could, of course, change the grid color (aka 'borderColor') property of the field to white so that people won't see it right away. Or you can just turn on the horizontal scrollbar of the field. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From katir at hindu.org Wed Jul 9 01:16:51 2008 From: katir at hindu.org (Sivakatirswami) Date: Tue, 08 Jul 2008 19:16:51 -1000 Subject: 3.0.0dp6 Crashing on Stop Editing Group Message-ID: <487449C3.9040009@hindu.org> I had a repeatable crash today in 3.0.0. dp6 create group... click to edit group and add and object... click on existing field option drag to duplicate the field. Screen blinks at me... no object is not created. try to stop editing group. Rev hands spinning ball. I have to force quite (OSX 10.5.2) I tried it several times... a blocker... I'm back to 2.9... Can anyone verify? it happened each time tried anything that would cause the editing group to revert browse. skts From sarah.reichelt at gmail.com Wed Jul 9 02:27:18 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 9 Jul 2008 16:27:18 +1000 Subject: 3.0.0dp6 Crashing on Stop Editing Group In-Reply-To: <487449C3.9040009@hindu.org> References: <487449C3.9040009@hindu.org> Message-ID: On Wed, Jul 9, 2008 at 3:16 PM, Sivakatirswami wrote: > I had a repeatable crash today in 3.0.0. dp6 > > create group... click to edit group and add and object... click on existing > field option drag to duplicate the field. Screen blinks at me... no object > is not created. try to stop editing group. Rev hands spinning ball. I have > to force quite (OSX 10.5.2) > > I tried it several times... a blocker... I'm back to 2.9... > > Can anyone verify? it happened each time tried anything that would cause > the editing group to revert browse. No problems here (Rev 3.0.0 dp 6 & Mac OS X 10.5.4). I can add items & option-drag to duplicate. Is this a new stack or a stack with scripts that might be doing something else? Cheers, Sarah From m.schonewille at economy-x-talk.com Wed Jul 9 05:15:31 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Jul 2008 11:15:31 +0200 Subject: revFontLoad Crashes In-Reply-To: <86ae76bb0807081937x3017c66ct220ed17daa1c6f7a@mail.gmail.com> References: <86ae76bb0807081937x3017c66ct220ed17daa1c6f7a@mail.gmail.com> Message-ID: <43DB014A-5A79-497C-A36F-50866E002689@economy-x-talk.com> Hi Bridger, All I know is that fonts have to be compatible with your operating system. Some truetype fonts may load on OSX 10.5 but not on 10.3 and others may load on OSX but not on Windows. Indeed, it is not clear which fonts work with RevFont, but I believe revFont is not limited to truetype fonts. I also had a case where a font worked fine in Mac OS X 10.3.9, if installed in the Fonts folder, but wouldn't be loaded by RevFont. I believe that Run Rev Ltd is still working on this problem. If RevFont doesn't work for you, don't keep trying. Just have the font installed in the regular way. On some operating systems, you can't load a font dynamically anyway, because you have to restart the programme to access the font, which causes a nice catch 22. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 9 jul 2008, at 04:37, Bridger Maxwell wrote: > Hey, > > I am finding revFontLoad to be quite troublesome. I would like the > ability > to load fonts dynamically in my app from a given directory. However, > I have > run into a few problems, particularly on OS X. One font I tried to > load > using revFontLoad on OS X made the entire interface, including > everything in > the Revolution IDE, to turn a different language. I don't know what > language > it was, but it had a lot of curvy lines and dots, for what it is > worth. Now > any font I try to load on OS X just crashes my application > immediately and > without any errors. > > On Windows things seem to be working better, but I haven't done too > much > testing there yet. One thing I have noticed is that if a text field > is set > to use a particular font before the font is loaded, the font will > not be > loaded correctly for all sizes and the field will not show the font. > For > example, if I have a field with Lucida Grande 18 point text, when I > load the > Lucida Grande font, size 18 does not work. This is not mentioned in > the > docs. > > Also, is ttf the only font format that revFontLoad supports? If it > is, I > can't find any mention of that limitation in the docs. > > TTFN > Bridger Maxwell From runrev260805 at m-r-d.de Wed Jul 9 05:45:21 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 9 Jul 2008 09:45:21 +0000 Subject: Re-2: Exporting to rtf with fontinformation Message-ID: <00030FFC.4874A4CF@192.168.168.3> Ken, thank you very much. That did it. Regards, Matthias -------- Original Message -------- Subject: Re: Exporting to rtf with fontinformation (09-Jul-2008 6:43) From: Ken Ray To: runrev260805 at m-r-d.de > > But after exporting it to rtf and reopen it in word or wordpad, the text is > > not shown correctly. The font is not correct. > > The problem is the way that text attributes are maintained in Rev vs. how > they're exported. If the *field* has text attributes assigned, it looks > like > they don't export to RTF. But if the *text* has text attributes assigned > and > the *field* doesn't, you get the styling in the RTF. > > Try changing: > > set the textFont of fld "RTF Text" to ... > set the textSize of fld "RTF Text" to ... > > to > > set the textFont of char 1 to -1 of fld "RTF Text" to... > set the textSize of char 1 to -1 of fld "RTF Text" to... > > You may need to clear the field-based attributes before it outputs properly > (set the textfFont of fld "RTF Text" to empty), etc. > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Wed Jul 9 06:27:08 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 9 Jul 2008 10:27:08 +0000 Subject: problems with lowercase and uppercase characters in filenames Message-ID: <00030FFF.4874AE3E@192.168.168.3> Hi, i ran into a problem with case sensity writing 2 files ("c:/Test.txt" and "c:/test.txt") under Windows wit Rev Studio 2.9. Only the first file is created. The content for the second file is written to the first file. Is Rev not aware of lower/uppercase filenams? Tried the following script, which should do it, but it doesn?t ON mouseUp pMouseBtnNo open file "c:/Test.txt" FOR write write "text for the uppercase file" to file "c:/Test.txt" close file "c:/Test.txt" open file "c:/test.txt" FOR write -- this command reopens the file "c:/TEST.txt" instead of creating a new one with the lowercase filename write "text for the lowercase file" to file "c:/test.txt" close file "c:/test.txt" End mouseUp So where is my mistake? Regards, Matthias From m.schonewille at economy-x-talk.com Wed Jul 9 06:32:46 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Jul 2008 12:32:46 +0200 Subject: problems with lowercase and uppercase characters in filenames In-Reply-To: <00030FFF.4874AE3E@192.168.168.3> References: <00030FFF.4874AE3E@192.168.168.3> Message-ID: Hi Matthias, I don't think that common Windows file systems are case sensitive. Are you able to use case sensitive file paths on the same machine with other software?. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 9 jul 2008, at 12:27, runrev260805 at m-r-d.de wrote: > > Hi, > > i ran into a problem with case sensity writing 2 files ("c:/ > Test.txt" and "c:/test.txt") under Windows wit Rev Studio 2.9. > > Only the first file is created. The content for the second file is > written to the first file. > > Is Rev not aware of lower/uppercase filenams? > > Tried the following script, which should do it, but it doesn?t > > > ON mouseUp pMouseBtnNo > open file "c:/Test.txt" FOR write > write "text for the uppercase file" to file "c:/Test.txt" > close file "c:/Test.txt" > > open file "c:/test.txt" FOR write > -- this command reopens the file "c:/TEST.txt" instead of creating a > new one with the lowercase filename > write "text for the lowercase file" to file "c:/test.txt" > close file "c:/test.txt" > End mouseUp > > So where is my mistake? > > > Regards, > > Matthias From janschenkel at yahoo.com Wed Jul 9 07:20:31 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jul 2008 04:20:31 -0700 (PDT) Subject: problems with lowercase and uppercase characters in filenames In-Reply-To: <00030FFF.4874AE3E@192.168.168.3> Message-ID: <903262.56553.qm@web65409.mail.ac4.yahoo.com> --- runrev260805 at m-r-d.de wrote: > > Hi, > > i ran into a problem with case sensity writing 2 > files ("c:/Test.txt" and "c:/test.txt") under > Windows wit Rev Studio 2.9. > > Only the first file is created. The content for the > second file is written to the first file. > > Is Rev not aware of lower/uppercase filenams? > > Tried the following script, which should do it, but > it doesn?t > > > ON mouseUp pMouseBtnNo > open file "c:/Test.txt" FOR write > write "text for the uppercase file" to file > "c:/Test.txt" > close file "c:/Test.txt" > > open file "c:/test.txt" FOR write > -- this command reopens the file "c:/TEST.txt" > instead of creating a new one with the lowercase > filename > write "text for the lowercase file" to file > "c:/test.txt" > close file "c:/test.txt" > End mouseUp > > So where is my mistake? > > > Regards, > > Matthias > Hi Matthias, Unlike Unix-based operating systems (MacOSX, Linux), Windows doesn't differentiate between uppercase and lowercase letters in file names. You can't even create two files with the same name in mixed cases, using the Windows Explorer. So "Test.txt" will be the same file as "test.txt" and Revolution will overwrite the file with the contents of your second write cycle. Hope this clarified it, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From mikeythek at gmail.com Wed Jul 9 09:01:04 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 9 Jul 2008 09:01:04 -0400 Subject: 3.0.0dp6 Crashing on Stop Editing Group In-Reply-To: References: <487449C3.9040009@hindu.org> Message-ID: <9b408d8e0807090601o5ee38b22jb28043eadeb72a3a@mail.gmail.com> Just out of curiosity - any reason you didn't put this on the beta group instead of in the general newsgroup? -- Robert Benchley - "Drawing on my fine command of the English language, I said nothing." From mikeythek at gmail.com Wed Jul 9 09:01:58 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 9 Jul 2008 09:01:58 -0400 Subject: How do I stop a table field from scrolling right? In-Reply-To: <735291.9080.qm@web65402.mail.ac4.yahoo.com> References: <9b408d8e0807081325q4997f402na0cb6a54956de0a6@mail.gmail.com> <735291.9080.qm@web65402.mail.ac4.yahoo.com> Message-ID: <9b408d8e0807090601x4221bbc1xfa45a30e1cec86de@mail.gmail.com> A fountain of knowledge are you. I was afraid of that. -- Emo Philips - "I got some new underwear the other day. Well, new to me." From runrev260805 at m-r-d.de Wed Jul 9 10:43:32 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 9 Jul 2008 14:43:32 +0000 Subject: Re-2: problems with lowercase and uppercase characters in filenames Message-ID: <00031000.4874EA59@192.168.168.3> Jan, Mark, thanks for the reply. I am working on windows for many many years now and did not realize that this is not possible. Shame on me ! But for my rehabilitation, i had no need for uper/lowercas sensitiy until now. Then i have to put the cart before the horse and must name the file with an additional suffix _u for upper _l for lowercase. But here?s the next problem. I have a dynamic list of characters for example abcdefghijABCDEFGHIJ or zAqQbBaZTt. No specific order. I want to create files that have a one character filename according to each character of that list. As i cannot create case sensitive filenames, i have to put the above mentioned extension to the filename, depending on the character. How can i differ between a and A, so i can put the correct extension to the filename? Regards, Matthias From mikeythek at gmail.com Wed Jul 9 11:12:17 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 9 Jul 2008 11:12:17 -0400 Subject: icons Message-ID: <9b408d8e0807090812x3504bf09ic8476513c23a5b45@mail.gmail.com> Does anybody have any recommendations for some good free application icon sets - add, next, prev, print, find, exit, etc.? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From eric.chatonet at sosmartsoftware.com Wed Jul 9 11:22:36 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 9 Jul 2008 17:22:36 +0200 Subject: Re-2: problems with lowercase and uppercase characters in filenames In-Reply-To: <00031000.4874EA59@192.168.168.3> References: <00031000.4874EA59@192.168.168.3> Message-ID: <086FFFB1-3119-4A8A-955E-1AD2AAF603CF@sosmartsoftware.com> Hi Mathias, Le 9 juil. 08 ? 16:43, runrev260805 at m-r-d.de a ?crit : > How can i differ between a and A function IsUpperCase pChar return charToNum(pChar) <= 90 end IsUpperCase See charToNum and numToChar in the docs. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Wed Jul 9 11:26:55 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 9 Jul 2008 17:26:55 +0200 Subject: How to improve font quality when exporting as a snapshot? Message-ID: <002e01c8e1d8$39597a50$18b2a8c0@TiemoPC2> Hello, I am exporting a snapshot from a group, consisting of an image and a text field. After exporting the text of the text field looks pretty poor, just as missing always some vertical pixel lines. I have tried different fonts, with no result. Has anybody experienced this behaviour and has found a tweak? Thanks Tiemo From kray at sonsothunder.com Wed Jul 9 11:27:11 2008 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 09 Jul 2008 10:27:11 -0500 Subject: How do I stop a table field from scrolling right? In-Reply-To: <9b408d8e0807090601x4221bbc1xfa45a30e1cec86de@mail.gmail.com> Message-ID: > A fountain of knowledge are you. I was afraid of that. The problem is due to the field's 'margins' property, which default to '8'. When Rev goes to draw an "editing" field on top of the table field when you click in the 4th column, it checks to see if the right side of the editing field goes beyond the right edge of the table field, *minus* the margin setting. You could, of course, set the margins to be less than 8, but then that screws up the look of your table and the way Rev draws the editing field. Luckily, though, you can change the way the Rev IDE handles this (and by extension your standalone) by making some minor changes in the 'revTable' frontscript: 1) Make sure that "Revolution UI Elements in Lists" is checked under the View menu. 2) Open the Message Box and click the "frontScripts" button (the 6th button from the left, right after the mailbox icon). 3) In the list below, it should show: `button "revTable"`, double-click on it to open its script. 4) In the script it displays, locate the "revCalculateCellRect" handler. 5) Make the script change below (watch word wraps!): Locate the line that says: if trightrect > (the cREVTable["rightfieldloc"] of pObject - the cREVTable["scrollbarwidth"] of pObject - tfudge) Change it to: if trightrect > (the cREVTable["rightfieldloc"] of pObject - the cREVTable["scrollbarwidth"] of pObject) then 6) Save and close the script. 7) Switch to browse tool, and test. 8) Save the changes to the IDE by executing the following code in the Message Box: save stack "revLibrary" This should now allow you to make a standalone that includes the changes, IIRC. Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From eric.chatonet at sosmartsoftware.com Wed Jul 9 11:36:32 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 9 Jul 2008 17:36:32 +0200 Subject: How to improve font quality when exporting as a snapshot? In-Reply-To: <002e01c8e1d8$39597a50$18b2a8c0@TiemoPC2> References: <002e01c8e1d8$39597a50$18b2a8c0@TiemoPC2> Message-ID: <2036FDB8-7F71-42E7-9F93-434C11E60B65@sosmartsoftware.com> Bonjour Tiemo, Le 9 juil. 08 ? 17:26, Tiemo Hollmann TB a ?crit : > Hello, > > I am exporting a snapshot from a group, consisting of an image and > a text > field. After exporting the text of the text field looks pretty > poor, just as > missing always some vertical pixel lines. I have tried different > fonts, with > no result. > > Has anybody experienced this behaviour and has found a tweak? > > Thanks > > Tiemo Not sure I understand your problem: do you mean that real Rev window on-screen looks poor? In such a case try to force a screen refresh: lock screen then unlock screen. Or is it in the snapshot itself? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sundown at pacifier.com Wed Jul 9 11:39:03 2008 From: sundown at pacifier.com (-= JB =-) Date: Wed, 9 Jul 2008 08:39:03 -0700 Subject: Revolution Script Reporter In-Reply-To: References: Message-ID: I like it a lot. thanks, -=>JB<=- On Jul 8, 2008, at 3:18 PM, RevList wrote: > I have created a stack called Revolution Script Reporter and have > uploaded > it to My Space (slynch) on Rev Online. > It is a simple solution that asks you to select a Revolution file > and then > will summarize all scripts as well as list all Stacks, substacks, > cards > and controls in a scrolling field so that you can select a specific > one. > > Check it out if you are interested. > Thanks to all who answered my questions over the past few days as I am > getting use to the transcript syntax. > > Stewart. > > ---------------------------------------------------------------------- > ---------------------------------------------- > Notice of Confidentiality: > The information transmitted is intended only for the person or > entity to > which it is addressed and may contain confidential and/or privileged > material. Any review re-transmission dissemination or other use of or > taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If you > received > this in error please contact the sender immediately by return > electronic > transmission and then immediately delete this transmission > including all > attachments without copying distributing or disclosing same. > ---------------------------------------------------------------------- > ---------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Wed Jul 9 11:46:34 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 9 Jul 2008 17:46:34 +0200 Subject: AW: How to improve font quality when exporting as a snapshot? In-Reply-To: <2036FDB8-7F71-42E7-9F93-434C11E60B65@sosmartsoftware.com> Message-ID: <003301c8e1da$f7a428f0$18b2a8c0@TiemoPC2> Bonjour Eric, I meant the "text" part in the exported snapshot image. But I just found out that the problem seems to be located in the MS Word or the clipboard. Because first I tested to copy the exported image over the clipboard and paste it in word (Windows XP), there the former text in the image is very poor. After trying to export the snapshot as an jpg, the "text" in the jpg looks pretty good. So the problem seems to be a loss of quality (dpi?) when copying into the clipboard or when importing into word. Any ideas? Thanks / mercy Tiemo > > Not sure I understand your problem: do you mean that real Rev window > on-screen looks poor? > In such a case try to force a screen refresh: lock screen then unlock > screen. > Or is it in the snapshot itself? > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Wed Jul 9 13:05:10 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 9 Jul 2008 13:05:10 -0400 Subject: How do I stop a table field from scrolling right? In-Reply-To: References: <9b408d8e0807090601x4221bbc1xfa45a30e1cec86de@mail.gmail.com> Message-ID: <9b408d8e0807091005w4d9420dfnfaf97192b9f0326@mail.gmail.com> What a freaking outstanding idea. The ability to tweak the IDE is just so sweet. I'm adding this to my list of "things I need to put together into a RevIDETweaker project" -- EB White - "Be obscure clearly." From FlexibleLearning at tiscali.co.uk Wed Jul 9 13:21:07 2008 From: FlexibleLearning at tiscali.co.uk (Hugh Senior) Date: Wed, 9 Jul 2008 18:21:07 +0100 Subject: AW: How to improve font quality when exporting as a snapshot? References: <20080709170005.18BF4489C6A@mail.runrev.com> Message-ID: <1059AB18BC0D4F279550B3A1147CE58B@Oscar> Try exporting as a non-lossy PNG instead? /H > Bonjour Eric, > I meant the "text" part in the exported snapshot image. But I just found > out > that the problem seems to be located in the MS Word or the clipboard. > Because first I tested to copy the exported image over the clipboard and > paste it in word (Windows XP), there the former text in the image is very > poor. After trying to export the snapshot as an jpg, the "text" in the jpg > looks pretty good. > So the problem seems to be a loss of quality (dpi?) when copying into the > clipboard or when importing into word. > Any ideas? > Thanks / mercy > Tiemo From toolbook at kestner.de Wed Jul 9 13:48:51 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 9 Jul 2008 19:48:51 +0200 Subject: AW: How to improve font quality when exporting as a snapshot? In-Reply-To: <1059AB18BC0D4F279550B3A1147CE58B@Oscar> Message-ID: <003401c8e1ec$0d0c4ae0$18b2a8c0@TiemoPC2> Hi Hugh, if I understand you right, I am doing just that. export snapshot from grp "grpScreenShot" to tScreenshot as PNG set the clipboarddata["image"] to tScreenshot after pasting now into word the text in the image is poor But when exporting as an imagefile like: export snapshot from grp "grpScreenShot" to file "C:\temp\" & tFileName & ".jpg" as JPEG the text in the imagefile is all clean was it this what you meant? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Hugh Senior > Gesendet: Mittwoch, 9. Juli 2008 19:21 > An: use-revolution at lists.runrev.com > Betreff: AW: How to improve font quality when exporting as a snapshot? > > > Try exporting as a non-lossy PNG instead? > > /H > > > Bonjour Eric, > > I meant the "text" part in the exported snapshot image. But I just found > > out > > that the problem seems to be located in the MS Word or the clipboard. > > Because first I tested to copy the exported image over the clipboard and > > paste it in word (Windows XP), there the former text in the image is > very > > poor. After trying to export the snapshot as an jpg, the "text" in the > jpg > > looks pretty good. > > So the problem seems to be a loss of quality (dpi?) when copying into > the > > clipboard or when importing into word. > > Any ideas? > > Thanks / mercy > > Tiemo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Jul 9 13:56:25 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 9 Jul 2008 19:56:25 +0200 Subject: AW: How to improve font quality when exporting as a snapshot? In-Reply-To: <003401c8e1ec$0d0c4ae0$18b2a8c0@TiemoPC2> References: <003401c8e1ec$0d0c4ae0$18b2a8c0@TiemoPC2> Message-ID: <0A7CFCB0-D331-4A46-9F8E-B193D01DAFB9@sosmartsoftware.com> re-Bonjour Tiemo, As a workaround: Export snapshot to as JPEG, PNG or whatever set the clipBoardData["image"] to url ("binfile:" & ) delete file Not tested ;-) Le 9 juil. 08 ? 19:48, Tiemo Hollmann TB a ?crit : > Hi Hugh, > if I understand you right, I am doing just that. > export snapshot from grp "grpScreenShot" to tScreenshot as PNG > set the clipboarddata["image"] to tScreenshot > after pasting now into word the text in the image is poor > > But when exporting as an imagefile like: > export snapshot from grp "grpScreenShot" to file "C:\temp\" & > tFileName & > ".jpg" as JPEG > the text in the imagefile is all clean > was it this what you meant? > Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dpierce at xpertassist.com Wed Jul 9 14:39:52 2008 From: dpierce at xpertassist.com (dcpbarrington) Date: Wed, 9 Jul 2008 11:39:52 -0700 (PDT) Subject: Creating Library Modules Message-ID: <18368070.post@talk.nabble.com> Greetings, I have a Rev 2.9 application that I'm building that creates a set of reports. I have the report working as a button in the main stack, but I now want to create a library module that will allow me to seperate the report code from the main stack so it can be pulled in with different report versions as needed. I created a new STACK called it "StandardReports.rev" I moved the code that I know was working to the "StandardReports.rev" stack script area. In the original stack I make the following call to see if the new stack is running. if "StandardReports" is not among the lines of the StacksInUse then start using stack "StandardReports" end if The function call to the new stack works, but in that stack there are a number of Commands that are defined in the Main Stack that are no longer found by the routines in the "StandardReport" stack. One example is when I do a DB call, I check for an error with handleRevDBerror command that is defined as: on handleRevDBerror pError switch case item 1 of pError is "revdberr" return "Database Error: " & pError break end switch end handleRevDBerror Revolution errors when ever the "StandardReport" stack tries to call this command. What do I need to do to be able to access Commands and Functions that are in the Main Stack? ALSO, can the "StandardReport.rev" file be placed in any directory or does it need to be with the main stack? Thanks for the help -- View this message in context: http://www.nabble.com/Creating-Library-Modules-tp18368070p18368070.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at maseurope.net Wed Jul 9 14:44:32 2008 From: mark at maseurope.net (Mark Smith) Date: Wed, 9 Jul 2008 19:44:32 +0100 Subject: Re-2: problems with lowercase and uppercase characters in filenames In-Reply-To: <00031000.4874EA59@192.168.168.3> References: <00031000.4874EA59@192.168.168.3> Message-ID: <71AEF065-250E-4334-9C8E-42D7AED07600@maseurope.net> One thing you might consider is using the numerical value of the letter for the file name. You could have two little handlers to make it transparent: on writeFile pChar, pData put pData into url ("file:" & chaToNum(pChar)) end writeFile function readFile pChar return url ("file:" & charToNum(pChar)) end readFile Best, Mark On 9 Jul 2008, at 15:43, runrev260805 at m-r-d.de wrote: > Jan, > Mark, > > thanks for the reply. > > I am working on windows for many many years now and did not realize > that this is not possible. > Shame on me ! But for my rehabilitation, i had no need for uper/ > lowercas sensitiy until now. > > Then i have to put the cart before the horse and must name the file > with an additional suffix _u for upper > _l for lowercase. > > But here?s the next problem. > > I have a dynamic list of characters for example > abcdefghijABCDEFGHIJ or zAqQbBaZTt. No specific order. > > I want to create files that have a one character filename according > to each character of that list. > > As i cannot create case sensitive filenames, i have to put the > above mentioned extension to the filename, > depending on the character. How can i differ between a and A, so i > can put the correct extension to the filename? > > > Regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Wed Jul 9 14:48:21 2008 From: mark at maseurope.net (Mark Smith) Date: Wed, 9 Jul 2008 19:48:21 +0100 Subject: Creating Library Modules In-Reply-To: <18368070.post@talk.nabble.com> References: <18368070.post@talk.nabble.com> Message-ID: What's the error that you see? Best, Mark On 9 Jul 2008, at 19:39, dcpbarrington wrote: > > Greetings, > > I have a Rev 2.9 application that I'm building that creates a set of > reports. I have the report working as a button in the main stack, > but I now > want to create a library module that will allow me to seperate the > report > code from the main stack so it can be pulled in with different report > versions as needed. > > I created a new STACK called it "StandardReports.rev" > > I moved the code that I know was working to the > "StandardReports.rev" stack > script area. > > In the original stack I make the following call to see if the new > stack is > running. > > if "StandardReports" is not among the lines of the StacksInUse then > start using stack "StandardReports" > end if > > The function call to the new stack works, but in that stack there > are a > number of Commands that are defined in the Main Stack that are no > longer > found by the routines in the "StandardReport" stack. > > One example is when I do a DB call, I check for an error with > handleRevDBerror command that is defined as: > > on handleRevDBerror pError > switch > case item 1 of pError is "revdberr" > return "Database Error: " & pError > break > end switch > end handleRevDBerror > > Revolution errors when ever the "StandardReport" stack tries to > call this > command. > > What do I need to do to be able to access Commands and Functions > that are in > the Main Stack? > > ALSO, can the "StandardReport.rev" file be placed in any directory > or does > it need to be with the main stack? > > > Thanks for the help > -- > View this message in context: http://www.nabble.com/Creating- > Library-Modules-tp18368070p18368070.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Wed Jul 9 15:02:28 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 09 Jul 2008 22:02:28 +0300 Subject: icons In-Reply-To: <9b408d8e0807090812x3504bf09ic8476513c23a5b45@mail.gmail.com> References: <9b408d8e0807090812x3504bf09ic8476513c23a5b45@mail.gmail.com> Message-ID: <48750B44.4000607@ekoinf.net> http://tango.freedesktop.org/Tango_Desktop_Project http://interfacelift.com/icons-mac/ http://www.famfamfam.com/lab/icons/ http://www.kde-look.org/index.php?xsortmode=high&page=0 http://www.everaldo.com/crystal/?action=downloads etc, etc, etc... Viktoras Mikey wrote: > Does anybody have any recommendations for some good free application icon > sets - add, next, prev, print, find, exit, etc.? > > From mwieder at ahsoftware.net Wed Jul 9 15:48:27 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Jul 2008 12:48:27 -0700 Subject: Creating Library Modules References: <18368070.post@talk.nabble.com> Message-ID: Sounds like you may have a problem with the message hierarchy. Try insert the script of stack "StandardReports" into front instead of start using stack "StandardReports" and check out Richard Gaskin's article on message paths at: http://www.fourthworld.com/embassy/articles/revolution_message_path.html -- Mark Wieder mwieder at ahsoftware.net From sadhu at castandcrew.com Wed Jul 9 15:52:37 2008 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Wed, 9 Jul 2008 12:52:37 -0700 Subject: changing file permissions, question please Message-ID: <200807091952.m69Jqbsg023124@sddev.castandcrew.com> Help! Greetings, a question please, Summary ....... Can we change file permissions on a file located on a server across the network, from a rev client? Details ....... Suppose I have a few lines of code in my Rev windoz program like this: put "//file.ourdomain.com/tmp/mydata.txt" into tempFile open file tempFile for write write tParsedData to file tempFile close file tempFile And suppose it works, because, I have access to the file share on ourdomain.com, so when I run the program as "sadhu", the file is created and filled with data as expected. This file is owned by sadhu and only sadhu can read from it after it is created. The question is, how can I change the permissions? What I want to do (if I were logged in to the server) is basically: chmod a+r /tmp/mydata.txt Anyone know how I can do that from the Windows side in Rev? Mahalo! and grateful thanks in advance. Sadhu From dpierce at xpertassist.com Wed Jul 9 18:19:09 2008 From: dpierce at xpertassist.com (dcpbarrington) Date: Wed, 9 Jul 2008 15:19:09 -0700 (PDT) Subject: Creating Library Modules In-Reply-To: References: <18368070.post@talk.nabble.com> Message-ID: <18372136.post@talk.nabble.com> Mark, I looked at the article, which is very good, but I still don't understand when I start a library, it should be at a higher level then the Main Stack, so there shouldn't be a problem finding the handleRevDBerror command. It looks like because I created the library as an independent stack, it looks like Revolution is putting it at the Main Stack level, so it doesn't find the commands that are defined in the original Main Stack. I changed the start to be insert the script of stack "StandardReports" into front I Saved and Restarted Revolution. Had the same error. executing at 5:11:05 PM Type Handler: can't find handler Object StandardReports Line handleRevDBerror theDataVal Hint handleRevDBerror I created the Stack as a NEW stack and then started it. Do I need to make it a SubStack and then select FILE -> MOVE SUBSTACK to FILE I cann't find anything in the documentation about creating a library. Do I need to declare within the stack that it is a library that is to be used with the main stack? -- View this message in context: http://www.nabble.com/Creating-Library-Modules-tp18368070p18372136.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Wed Jul 9 18:45:30 2008 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 9 Jul 2008 18:45:30 -0400 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: <20080707144928.342FC48A5A0@mail.runrev.com> References: <20080707144928.342FC48A5A0@mail.runrev.com> Message-ID: On Jul 7, 2008, at 10:49 AM, Scott Rossi wrote: > Recently, Sivakatirswami wrote: > >> How do you get the vscroll of a field that would be scrolled all >> the way >> to the end, without actually scrolling it to the end? > > The formattedHeight of the field - the height of the field - the > margins of > the field comes very close. But for an exact number, I usually > lock the > screen, set the vscroll to a huge amount (100000000), get the > scroll of the > fld, reset the vscroll to its original value, and then unlock the > screen. A > bit goofy but it's fast and it works. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design I discovered another way a while ago: function maxScroll fldName put the scroll of fld fldName into iScr lock screen select after text of fld fldName put the scroll of fld fldName into maxScr select empty set the scroll of fld fldName to iScr unlock screen return maxScr end mouseUp You'll have to adjust the field reference if the field is not on the current card. Peter M. Brigham pmbrig at gmail.com From sarah.reichelt at gmail.com Wed Jul 9 19:02:30 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 10 Jul 2008 09:02:30 +1000 Subject: Creating Library Modules In-Reply-To: <18368070.post@talk.nabble.com> References: <18368070.post@talk.nabble.com> Message-ID: > I have a Rev 2.9 application that I'm building that creates a set of > reports. I have the report working as a button in the main stack, but I now > want to create a library module that will allow me to seperate the report > code from the main stack so it can be pulled in with different report > versions as needed. > > I created a new STACK called it "StandardReports.rev" > > I moved the code that I know was working to the "StandardReports.rev" stack > script area. > > In the original stack I make the following call to see if the new stack is > running. > > if "StandardReports" is not among the lines of the StacksInUse then > start using stack "StandardReports" > end if > > The function call to the new stack works, but in that stack there are a > number of Commands that are defined in the Main Stack that are no longer > found by the routines in the "StandardReport" stack. > > One example is when I do a DB call, I check for an error with > handleRevDBerror command that is defined as: > > on handleRevDBerror pError > switch > case item 1 of pError is "revdberr" > return "Database Error: " & pError > break > end switch > end handleRevDBerror > > Revolution errors when ever the "StandardReport" stack tries to call this > command. > > What do I need to do to be able to access Commands and Functions that are in > the Main Stack? > > ALSO, can the "StandardReport.rev" file be placed in any directory or does > it need to be with the main stack? Is the StandardReport stack a sub-stack of the Main Stack or is it a separate file? If it is a sub-stack, then it automatically gets access to all the handlers in the Main Stack, but if it is a separate file, they are independent. You would then have to "start using" the Main Stack as well, if you wanted StandardReport to be able to use it's handlers. The "StandardReport.rev" file can be placed anywhere you like, but if you want MainStack to be able to refer to it automatically, then se the Main Stacks stackFiles property to include a reference to "StandardReport.rev". HTH, Sarah From mwieder at ahsoftware.net Wed Jul 9 19:06:11 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Jul 2008 16:06:11 -0700 Subject: Creating Library Modules References: <18368070.post@talk.nabble.com> <18372136.post@talk.nabble.com> Message-ID: > I created the Stack as a NEW stack and then started it. Do I need to make > it a SubStack and then select FILE -> MOVE SUBSTACK to FILE Er... wait... this is a separate stack entirely? Not a substack of your main stack? Have you already loaded it into memory? Neither the "start using" command nor the "insert" command are going to be able to find the stack otherwise unless you specify a physical location for it. Much better to make your library stack a substack. Then your "start using" command will probably do the trick for you. > I cann't find anything in the documentation about creating a library. Do > I > need to declare within the stack that it is a library that is to be used > with the main stack? Nope. You've done that all correctly. Any stack can be used as a library stack without any fiddling about. -- Mark Wieder mwieder at ahsoftware.net From niconiko at gmail.com Wed Jul 9 20:30:45 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 10 Jul 2008 09:30:45 +0900 Subject: advise about "go invisible stack URL" Message-ID: <1e91b2b70807091730g7f7990ffk13a7083380dd83d4@mail.gmail.com> Hello, In a standalone I want to include an update feature that downloads a stack. This means I am now learning how to use the "go stack URL" command. My basic goal is to download a stack, do some changes to it, save it, and then close it -- all without the user seeing that downloaded stack throut any of those stages. After experimenting, this is what kind of worked for me: put "http://web.com/helloWorld.rev" into tURL go invisible stack URL tURL put "hello" into field "field" of stack "helloWorld" save stack "helloWorld" close stack "helloWorld" I say "kind of" because the stack got downloaded, modified, saved and closed no problem, but, when I later reopened that downloaded stack in Rev it was not visible. To see it, I had to set use the message box to set the stack's visible property to true. There must be a way of doing all this without the invisibly-reopening problem, but I've yet to figure out a way how. Advise would be welcome. Thank you. -- Nicolas Cueto From 3mcgrath at comcast.net Wed Jul 9 22:00:47 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 9 Jul 2008 22:00:47 -0400 Subject: advise about "go invisible stack URL" In-Reply-To: <1e91b2b70807091730g7f7990ffk13a7083380dd83d4@mail.gmail.com> References: <1e91b2b70807091730g7f7990ffk13a7083380dd83d4@mail.gmail.com> Message-ID: <46A68AF6-2067-4D91-AACB-D60BDEE348AB@comcast.net> Nicolas, You could either add the set visible code to your "open" command if you are opening by script as in: open stack "helloWorld" set the visible of stack "helloWorld" Or if you 'have' to have it visible then you might want to open the stack off screen as a 'visible' stack instead of the "go invisible stack" then it will be still visible on opening! You still might have to have a script in the stack to open at screen center after saving so that when you reopen it then it won't still be off screen. Tom McGrath On Jul 9, 2008, at 8:30 PM, Nicolas Cueto wrote: > put "http://web.com/helloWorld.rev" into tURL > go invisible stack URL tURL > put "hello" into field "field" of stack "helloWorld" > save stack "helloWorld" > close stack "helloWorld" > > There must be a way of doing all > this without the invisibly-reopening > problem, but I've yet to figure out > a way how. From cszasz at mac.com Wed Jul 9 22:15:58 2008 From: cszasz at mac.com (Charles Szasz) Date: Wed, 9 Jul 2008 19:15:58 -0700 (PDT) Subject: Switch statements within Switch statements Message-ID: <18374624.post@talk.nabble.com> I have an option Menu that show various arrays of buttons depending on which menu item is selected. Is it possible to have switch statements for the buttons within switch statements for each menu item? I checked the Rev-User archives and could not find any examples of such an arrangement. -- View this message in context: http://www.nabble.com/Switch-statements-within-Switch-statements-tp18374624p18374624.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at maseurope.net Wed Jul 9 22:47:52 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 10 Jul 2008 03:47:52 +0100 Subject: Switch statements within Switch statements In-Reply-To: <18374624.post@talk.nabble.com> References: <18374624.post@talk.nabble.com> Message-ID: <3A9DA4D2-E321-4680-88BE-73CE2A69A4C9@maseurope.net> You can certainly nest switch statements without problem - you'll end up with some very long handlers! Best, Mark On 10 Jul 2008, at 03:15, Charles Szasz wrote: > > I have an option Menu that show various arrays of buttons depending > on which > menu item is selected. Is it possible to have switch statements for > the > buttons within switch statements for each menu item? I checked the > Rev-User > archives and could not find any examples of such an arrangement. > -- > View this message in context: http://www.nabble.com/Switch- > statements-within-Switch-statements-tp18374624p18374624.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Wed Jul 9 22:54:47 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 10 Jul 2008 10:54:47 +0800 Subject: 3.0.0dp6 Crashing on Stop Editing Group In-Reply-To: <487449C3.9040009@hindu.org> References: <487449C3.9040009@hindu.org> Message-ID: On Wed, Jul 9, 2008 at 1:16 PM, Sivakatirswami wrote: > I have to force quite (OSX 10.5.2) > > 10.5.0 - 10.5.2 is Vistaware. What happens if you update to 10.5.4? From lan.kc.macmail at gmail.com Wed Jul 9 23:59:42 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 10 Jul 2008 11:59:42 +0800 Subject: Switch statements within Switch statements In-Reply-To: <18374624.post@talk.nabble.com> References: <18374624.post@talk.nabble.com> Message-ID: On Thu, Jul 10, 2008 at 10:15 AM, Charles Szasz wrote: > > I have an option Menu that show various arrays of buttons depending on > which > menu item is selected. Is it possible to have switch statements for the > buttons within switch statements for each menu item? If I understand your situation it is like this: If you select the 1st choice in your 'Master' option menu you show 'slave' option menus 1, 2 and 3. If you select the 2nd choice in your 'Master' option menu you show 'slave' option menu a,b, and c. if you select the 3rd choice in your 'Master' option menu you show 'slave' option menu 1,b,3,d ... For the scripts in your 'slave' option menus you want different actions based on not only what selection is made, but what selection was made with the 'Master' option menu. If I've got that correct, and assuming that your 'slave' buttons have many options so you want to keep the switch statement compact, then the script in your 'slave' buttons could look something like this: on menuPick pChosen switch pChosen case "1 Choice" --avoid statements here to keep switch statement compact handler1Choice break case "2 Choice" handler2Choice break ... ... case "987 Choice" handler987Choice break --always good to include in the development phase to hi-light omissions. default answer "A case I've not accounted for." titled "Case Omission" --check the variable watcher - pChosen breakpoint end switch end menuPick --the following will also be in the button script on handler1Choice switch the label of btn "Master" case "Choice 1" --statements here --use a handler if too many statements break case "Choice 2" --statements or handler break ... ... case "Choice 99" --statements or handler break --always good to include in the development phase to hi-light omissions. default answer "A case I've not accounted for." titled "Case Omission" --check the label of btn 'Master' breakpoint end switch end handler1Choice on handler2Choice --switch structure again end handler2Choice as many as required. Although nested switch statements are possible, and are easy enough to follow if you only have a small matrix of options to cover, once the options start to multiply it's very easy to created a very complex structure that is hard to follow and easy to miss options - which is why I like to use the default statement to catch omissions. HTH From dpierce at xpertassist.com Thu Jul 10 00:46:12 2008 From: dpierce at xpertassist.com (dcpbarrington) Date: Wed, 9 Jul 2008 21:46:12 -0700 (PDT) Subject: Creating Library Modules In-Reply-To: References: <18368070.post@talk.nabble.com> Message-ID: <18375828.post@talk.nabble.com> I have created the StandardRepor.rev as an independent stack and the Main stack starts the independent stack by doing the following: if "StandardReports" is not among the lines of the StacksInUse then start using stack "StandardReports" end if What I want to be able to do is be able to supply different sets of reports like a set of libraries. The main program selects either StandardReports OR CustomReports1 OR CustomReports2 and the main stack starts a specific library based on the configuration. Each of the Stacks would have the same report functions, but depending on what stack is started, the user can get different report formats for the same set of information. SO an independent stack library can be called by the main stack, but the code must be independent and does not have access to any of the functions or commands in the stack that started it. Can variables be passed between the functions and data returned by the function? How do I get the independent stack to start using the Main stack? The main stack is already in memory. Sarah Reichelt-2 wrote: > > > Is the StandardReport stack a sub-stack of the Main Stack or is it a > separate file? > If it is a sub-stack, then it automatically gets access to all the > handlers in the Main Stack, but if it is a separate file, they are > independent. You would then have to "start using" the Main Stack as > well, if you wanted StandardReport to be able to use it's handlers. > > The "StandardReport.rev" file can be placed anywhere you like, but if > you want MainStack to be able to refer to it automatically, then se > the Main Stacks stackFiles property to include a reference to > "StandardReport.rev". > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Creating-Library-Modules-tp18368070p18375828.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Thu Jul 10 03:40:10 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 10 Jul 2008 09:40:10 +0200 Subject: AW: AW: How to improve font quality when exporting as a snapshot? In-Reply-To: <0A7CFCB0-D331-4A46-9F8E-B193D01DAFB9@sosmartsoftware.com> Message-ID: <000301c8e260$2f46b540$18b2a8c0@TiemoPC2> Hello Eric, Thank you for your idea, but your workaround brought the same result. testing with photoshop shows, that the reducing of the image quality doesn't occur in the clipboard. Pasting the clipboard image into photoshop shows, that the text is still kept in good quality. So the problem is obviously MS Word, what is the main target app for me ;( 5 min later: Now I compared in MS Word the pasted image from the clipboard with the same image imported as a file (which I exported to clipboard and as a file from Rev) and surprise! The pasted image from clipboard is in its size (wxh) smaller, as the imported image from file (though it is the same). Increasing the size of the pasted clipboard image (111%) to the same size as the file image, shows the text exact in the same manner! I had tested before to resize the image in word, but without finding the exact percentage it always showed bad results in the text quality. So the problem wasn't a loss of quality when importing into word, but a loss of the original size and therefore a loss of some pixels in the text. I don't know if this is a bug or a feature of Word :) Tiemo > > re-Bonjour Tiemo, > > As a workaround: > > Export snapshot to as JPEG, PNG or whatever > set the clipBoardData["image"] to url ("binfile:" & ) > delete file > > Not tested ;-) > From dave at looktowindward.com Thu Jul 10 04:20:12 2008 From: dave at looktowindward.com (Dave) Date: Thu, 10 Jul 2008 09:20:12 +0100 Subject: Creating Library Modules In-Reply-To: <18375828.post@talk.nabble.com> References: <18368070.post@talk.nabble.com> <18375828.post@talk.nabble.com> Message-ID: Hi, I think your problem is that you are not loading the library stack correctly. The best way to do this is to use a full path name to the .rev file, as in: StandardReports.rev. You can grab the full path of the currently running stack like so: put the filename of this stack into myStackFilePathName set the itemDelimiter to "/" put "StandardReports.rev" into item -1 of myStackFilePathName start using myStackFilePathName Put this in the preOpenStack handler in card 1 of your main stack. Hope this helps Dave On 10 Jul 2008, at 05:46, dcpbarrington wrote: > > I have created the StandardRepor.rev as an independent stack and > the Main > stack starts the independent stack by doing the following: > > if "StandardReports" is not among the lines of the StacksInUse then > start using stack "StandardReports" > end if > > What I want to be able to do is be able to supply different sets of > reports > like a set of libraries. The main program selects either > StandardReports OR > CustomReports1 OR CustomReports2 and the main stack starts a specific > library based on the configuration. Each of the Stacks would have > the same > report functions, but depending on what stack is started, the user > can get > different report formats for the same set of information. > > SO an independent stack library can be called by the main stack, > but the > code must be independent and does not have access to any of the > functions or > commands in the stack that started it. Can variables be passed > between the > functions and data returned by the function? > > How do I get the independent stack to start using the Main stack? > The main > stack is already in memory. > > > Sarah Reichelt-2 wrote: >> >> >> Is the StandardReport stack a sub-stack of the Main Stack or is it a >> separate file? >> If it is a sub-stack, then it automatically gets access to all the >> handlers in the Main Stack, but if it is a separate file, they are >> independent. You would then have to "start using" the Main Stack as >> well, if you wanted StandardReport to be able to use it's handlers. >> >> The "StandardReport.rev" file can be placed anywhere you like, but if >> you want MainStack to be able to refer to it automatically, then se >> the Main Stacks stackFiles property to include a reference to >> "StandardReport.rev". >> >> HTH, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > View this message in context: http://www.nabble.com/Creating- > Library-Modules-tp18368070p18375828.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Thu Jul 10 04:53:54 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 10 Jul 2008 10:53:54 +0200 Subject: chars in a field only for the field length Message-ID: <001101c8e26a$7c23a260$18b2a8c0@TiemoPC2> Hello, probably an easy one: I would like to lock the user input in a single line field for the length of the field, so that the input doesn't scrools thru the field. Is there a property of the field to be set (I didn't find any) or do I have to code that feature - probably done a thousand times? Thank you Tiemo From eric.chatonet at sosmartsoftware.com Thu Jul 10 04:57:43 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 10 Jul 2008 10:57:43 +0200 Subject: chars in a field only for the field length In-Reply-To: <001101c8e26a$7c23a260$18b2a8c0@TiemoPC2> References: <001101c8e26a$7c23a260$18b2a8c0@TiemoPC2> Message-ID: Bonjour Tiemo, Le 10 juil. 08 ? 10:53, Tiemo Hollmann TB a ?crit : > I would like to lock the user input in a single line field for the > length of > the field, so that the input doesn't scrools thru the field. > > Is there a property of the field to be set (I didn't find any) or > do I have > to code that feature - probably done a thousand times? "How to master user's data entries in a field" tutorial might help you: This stack shows you how to allow the user to type the data you expect according to a format in an entry box field. Five examples are provided from a simple ZIP code to custom sophisticated formats. You will access this tutorial through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web. You will find it by going to http://www.sosmartsoftware.com/ Revolution/Plugins or Tutorials section. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From janschenkel at yahoo.com Thu Jul 10 05:55:42 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Jul 2008 02:55:42 -0700 (PDT) Subject: chars in a field only for the field length In-Reply-To: <001101c8e26a$7c23a260$18b2a8c0@TiemoPC2> Message-ID: <101771.63556.qm@web65405.mail.ac4.yahoo.com> --- Tiemo Hollmann TB wrote: > Hello, probably an easy one: > > I would like to lock the user input in a single line > field for the length of > the field, so that the input doesn't scrools thru > the field. > > Is there a property of the field to be set (I didn't > find any) or do I have > to code that feature - probably done a thousand > times? > > Thank you > > Tiemo > Hi Tiemo, I believe the 'autoTab' property (aka 'Tab on Return') has the side effect of sending the user to the next field when it can't fit an extra line without scrolling. What this means is that in case of a field that only has room for a single line of text, typing return will immediately send the focus to the next field (just like typing a tab would) but in case of a field with room for 3 lines, the user can press return twice, and then the thrid time around, it jumps focus to the next control. Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toolbook at kestner.de Thu Jul 10 06:52:36 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 10 Jul 2008 12:52:36 +0200 Subject: AW: chars in a field only for the field length In-Reply-To: Message-ID: <000801c8e27b$115be8f0$18b2a8c0@TiemoPC2> Thank you Jan and Eric, very helpful! Eric, is there a trick to open a tutorial from the tutorial picker? I installed and opened the tutorial picker, but neither double clicking on a tutorial subject line, nore clicking ?open? does open any tutorial, just nothing happens ;( Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Donnerstag, 10. Juli 2008 10:58 > An: How to use Revolution > Betreff: Re: chars in a field only for the field length > > Bonjour Tiemo, > > Le 10 juil. 08 ? 10:53, Tiemo Hollmann TB a ?crit : > > > I would like to lock the user input in a single line field for the > > length of > > the field, so that the input doesn't scrools thru the field. > > > > Is there a property of the field to be set (I didn't find any) or > > do I have > > to code that feature - probably done a thousand times? > > "How to master user's data entries in a field" tutorial might help you: > This stack shows you how to allow the user to type the data you > expect according to a format in an entry box field. > Five examples are provided from a simple ZIP code to custom > sophisticated formats. > > You will access this tutorial through "Tutorials Picker" a free > plugin that interfaces with the So Smart Software website in order to > display all available tutorials stacks directly from the web. > You will find it by going to http://www.sosmartsoftware.com/ > Revolution/Plugins or Tutorials section. > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Thu Jul 10 07:50:33 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 10 Jul 2008 20:50:33 +0900 Subject: progress bar example Message-ID: <1e91b2b70807100450i33b395famd342edc57c598566@mail.gmail.com> Hello, A few years back, Dave Cragg was kind enough to explain in detail how to build a stack that shows the progress of a download (I've included his message below). The script works, but there's a glitch. When the progress-stack is called up only its edge can be seen. Its body, instead of showing a progres bar increasing as the download progresses, shows nothing but a freeze-view of whatever was on the screen beneath it before it popped open. I've tried setting buffer properties, but that did not work. Is there a way of getting this to work? Thank you. -- Nicolas Cueto You can show status using "go" as well. libUrlSetStatusCallback works for both blocking (e.g. load url) and non-blocking (.e.g. get url) calls. Below is the script of a *very crude* progress palette. The stack consists of two fields (one named "url" and the other named "status"), and a scrollbar (progress bar) named "progress" . Name the stack "url_status" (or anything you want). Make this stack a substack of your main stack. Then somewhere (e.g in your mainstack's preopenstack handler), include the following: start using "url_status" That's it. After that, it should work for all downloads and uploads (which may not be what you want). Cheers Dave -------------------------------------------------- local sUrls ---------------------------- on libraryStack libUrlSetStatusCallback "urlCallback", the long id of me palette me hide me end libraryStack ------------------------- on releaseStack libUrlSetStatusCallback empty close me end releaseStack --------------------------- on urlCallback pUrl, pStatusString show me put pUrl into field "url" of card 1 of me put item 1 of pStatusString into tStatus put tStatus into field "status" of card 1 of me put 1 into sUrls[pUrl] if tStatus is among the items of "loading,downloading,uploading" then put item 2 of pStatusString into tPart put item 3 of pStatusString into tWhole if tWhole <> empty then showProgress tPart,tWhole else hide scrollbar "progress" of me put "," && tPart && "bytes" after field "status" of card 1 of me end if --unlock screen else if tStatus is among the items of "loaded,downloaded,uploaded,cached" then delete local sUrls[pUrl] if the visible of scrollbar "progress" of me then showProgress 1,1 send "hideStatus" to me in 200 milliseconds ##leave visible for short time else if tStatus is among the items of "error,timeout" then delete local sUrls[pUrl] send "hideStatus" to me in 200 milliseconds ##leave visible for short time else hide scrollbar "progress" of me end if end urlCallback ------------------------- on showProgress pPart,pWhole put the endValue of scrollbar "progress" of me into tMax set the thumbPosition of scrollbar "progress" of me to round(tMax * pPart / pWhole) show scrollbar "progress" of me wait 10 milliseconds end showProgress ----------------------- on hideStatus if keys(sUrls) is empty then hide me end if end hideStatus From toolbook at kestner.de Thu Jul 10 07:56:48 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 10 Jul 2008 13:56:48 +0200 Subject: AW: Tutorial Picker In-Reply-To: <000801c8e27b$115be8f0$18b2a8c0@TiemoPC2> Message-ID: <000901c8e284$09168390$18b2a8c0@TiemoPC2> I have to say, I am working on Win XP. When clicking a tutorial subject line the tutorial gets downloaded, the download window shows "download complete", but after that, nothing opens. Where do I find the tutorials to open them manually? Thanks Tiemo > > Eric, is there a trick to open a tutorial from the tutorial picker? I > installed and opened the tutorial picker, but neither double clicking on a > tutorial subject line, nore clicking "open" does open any tutorial, just > nothing happens ;( > Tiemo > From dave at looktowindward.com Thu Jul 10 08:03:21 2008 From: dave at looktowindward.com (Dave) Date: Thu, 10 Jul 2008 13:03:21 +0100 Subject: Creating Library Modules In-Reply-To: <18375828.post@talk.nabble.com> References: <18368070.post@talk.nabble.com> <18375828.post@talk.nabble.com> Message-ID: <937F5FBB-B56B-44E0-869A-C4B21B1F7F1A@looktowindward.com> Hi, To answer some of you questions: > SO an independent stack library can be called by the main stack, > but the > code must be independent and does not have access to any of the > functions or > commands in the stack that started it. Yes, it's much better practice to have libraries totally independent of the calling stack. They way they can be just dropped into any project and even used by other Library Stacks. However it is possible to have the Library call functions in the main stack - see below. If you have "common" functions you want to call from all StandardReports1.rev, StandardReports2.rev, StandardReports3.rev it would be better to just create another "Common" library file that contains all your common functions. Then do a start using on this stack in the "libraryStack" handler of StandardReports1, 2, 3 etc. > Can variables be passed between the > functions and data returned by the function? Yes, here is a function that accepts data and returns data in two ways: function ATestFunction theInputData, at theOutputData put theInputData & "-HELLO-" into theOutputData return 76 end ATestFunction To call it: put ATestFunction("GoodBye",myData) into myResult After this has been called, myData = "GoodBye-HELLO-" and myResult = 76 > > How do I get the independent stack to start using the Main stack? > The main > stack is already in memory. > If you *really* want to do it this way, then all you do is put: start using me In the preOpenStack handler of the main stack. Hope this helps All the Best Dave On 10 Jul 2008, at 05:46, dcpbarrington wrote: > > I have created the StandardRepor.rev as an independent stack and > the Main > stack starts the independent stack by doing the following: > > if "StandardReports" is not among the lines of the StacksInUse then > start using stack "StandardReports" > end if > > What I want to be able to do is be able to supply different sets of > reports > like a set of libraries. The main program selects either > StandardReports OR > CustomReports1 OR CustomReports2 and the main stack starts a specific > library based on the configuration. Each of the Stacks would have > the same > report functions, but depending on what stack is started, the user > can get > different report formats for the same set of information. > > SO an independent stack library can be called by the main stack, > but the > code must be independent and does not have access to any of the > functions or > commands in the stack that started it. Can variables be passed > between the > functions and data returned by the function? > > How do I get the independent stack to start using the Main stack? > The main > stack is already in memory. > > > Sarah Reichelt-2 wrote: >> >> >> Is the StandardReport stack a sub-stack of the Main Stack or is it a >> separate file? >> If it is a sub-stack, then it automatically gets access to all the >> handlers in the Main Stack, but if it is a separate file, they are >> independent. You would then have to "start using" the Main Stack as >> well, if you wanted StandardReport to be able to use it's handlers. >> >> The "StandardReport.rev" file can be placed anywhere you like, but if >> you want MainStack to be able to refer to it automatically, then se >> the Main Stacks stackFiles property to include a reference to >> "StandardReport.rev". >> >> HTH, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > View this message in context: http://www.nabble.com/Creating- > Library-Modules-tp18368070p18375828.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Jul 10 08:17:10 2008 From: dave at looktowindward.com (Dave) Date: Thu, 10 Jul 2008 13:17:10 +0100 Subject: At Wits End!!! How to Bring App to Front on Windows??? Message-ID: Hi All, The following function works fine on Mac but on PC it doesn't seem to work 100% of the time. I've checked this and the window title etc. is set correctly and if I run the same JavaScript from shell it brings the app/window to the front ok. Here's the flow: Launch Application Application Launches iTunes and Internet Explorer. ---At this point the Application NOT in front, iTunes is. So, I want to bring the Application to the Front, the function below, runs and selects the correct window, but it just won't go to the front! I've been trying to make this work on and off for 1.5 days now and just can't seem to find a solution. One thing that I really can't understand is why RunRev doesn't have a in-built way of bringing the Application to the Front? It seems like a really basic thing to want to do! Anyone with any ideas on this? I really need to get this working ASAP as I have to do a release tomorrow and this is the last remaining problem. Thanks a lot All the Best Dave ------------------------------------------------------------ -- -- BringToFront -- ----------------------------------------------------------- function BringToFront theServiceKindToActivate local myAppleScriptCode local myAppleScriptResult local myErrorString local myJavaScriptCode local myShellResult local myJavaScriptResult local myAppName local myStackLongID local myWindowTitle set the itemDelimiter to "/" put item -1 of the address into myAppName put ISMGetStackForService(theServiceKindToActivate) into myStackLongID if myStackLongID <> empty then put the title of myStackLongID into myWindowTitle end if -- -- Different things for Different Platforms -- switch the platform -- -- Handle Mac -- case "MacOS" put "tell application " & UtilStringAddQuotes(myAppName) & " to activate" & cr into myAppleScriptCode do myAppleScriptCode as "AppleScript" put the result into myAppleScriptResult put "Error in LibAppleScriptiGenXBringToFront:" into myErrorString if LibAppleScriptiTunesCheckReturnValue (myAppleScriptResult,false,"LibAppleScriptiGenXBringToFront",myErrorStri ng) = false then return myAppleScriptResult end if put UtilStringRemoveQuotes(myAppleScriptResult) into myAppleScriptResult if paramCount() <> 1 then breakpoint end if return myAppleScriptResult break -- -- Handle Windows -- case "Win32" put "var Shell = WScript.CreateObject(" & UtilStringAddQuotes ("wscript.shell") & ");" & cr into myJavaScriptCode --put "Shell.activate(" & UtilStringAddQuotes(myAppName) & ");" & cr after myJavaScriptCode put "Shell.activate(" & UtilStringAddQuotes(myWindowTitle) & ");" & cr after myJavaScriptCode put cr & cr & cr after myJavaScriptCode put LibScriptExecuteCode (myJavaScriptCode,"GenXBringToFront","JavaScript",myShellResult) into myJavaScriptResult if myJavaScriptResult <> empty then breakpoint return myJavaScriptResult end if break end switch return empty end BringToFront From eric.chatonet at sosmartsoftware.com Thu Jul 10 08:34:39 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 10 Jul 2008 14:34:39 +0200 Subject: AW: Tutorial Picker In-Reply-To: <000901c8e284$09168390$18b2a8c0@TiemoPC2> References: <000901c8e284$09168390$18b2a8c0@TiemoPC2> Message-ID: <937320F8-9076-4218-99E8-227FAC79BBD9@sosmartsoftware.com> Tiemo, Le 10 juil. 08 ? 13:56, Tiemo Hollmann TB a ?crit : > I have to say, I am working on Win XP. > When clicking a tutorial subject line the tutorial gets downloaded, > the > download window shows "download complete", but after that, nothing > opens. > Where do I find the tutorials to open them manually? > Thanks > Tiemo A quick test here with XP, Vista and Mac OS X using Rev 2.9 or 3.0 dp6 showed it worked as expected. And my stats show that about 15 000 tutorials have been downloaded since 2005 using Tutorials Picker: it's the first time that someone reports what you are encountering :-( Anyway, you can try the following: Send DisplayTutorial using the message box after having selected a tutorial in the list and used the message box menu to be sure to send it to Tutorials Picker. And let me know off list. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Thu Jul 10 08:41:30 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 10 Jul 2008 14:41:30 +0200 Subject: At Wits End!!! How to Bring App to Front on Windows??? In-Reply-To: References: Message-ID: Hi Dave, This appears to he a FAQ. An example can be found here; Probably, now that Rev has a more flexible do command, this script could be made more elegant using the do command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 10 jul 2008, at 14:17, Dave wrote: > Hi All, > > The following function works fine on Mac but on PC it doesn't seem > to work 100% of the time. > > I've checked this and the window title etc. is set correctly and if > I run the same JavaScript from shell it brings the app/window to the > front ok. > > Here's the flow: > > Launch Application > Application Launches iTunes and Internet Explorer. > ---At this point the Application NOT in front, iTunes is. > > So, I want to bring the Application to the Front, the function > below, runs and selects the correct window, but it just won't go to > the front! I've been trying to make this work on and off for 1.5 > days now and just can't seem to find a solution. > > One thing that I really can't understand is why RunRev doesn't have > a in-built way of bringing the Application to the Front? It seems > like a really basic thing to want to do! > > Anyone with any ideas on this? I really need to get this working > ASAP as I have to do a release tomorrow and this is the last > remaining problem. > > Thanks a lot > All the Best > Dave > From psahores at free.fr Thu Jul 10 08:44:30 2008 From: psahores at free.fr (Pierre Sahores) Date: Thu, 10 Jul 2008 14:44:30 +0200 Subject: progress bar example In-Reply-To: <1e91b2b70807100450i33b395famd342edc57c598566@mail.gmail.com> References: <1e91b2b70807100450i33b395famd342edc57c598566@mail.gmail.com> Message-ID: <3F21A4B7-AFBB-4FDE-B07A-B098156445A6@free.fr> Hello, Perhaps can this lightweight code help ? on mouseup load url (Stack_to_load) with message mainstatut progressbark end mouseup on mainstatut if the cachedurls contains Stack_to_load then go url (Stack_to_load) in new window unload url (Stack_to_load) else answer "La connexion avec le serveur" && quote & "IME" & quote && "est rompue." & \ return & "V?rifiez votre configuration d'acc?s ?" && "l'internet avant" & return & "de poursuivre..." end mainstatut on progressbark set the thumbposition of sb "jauge" of stack "ime_loader" to "0" put "0" into aa repeat 20 if urlstatus(Stack_to_load) is among the items of "contacted,cached" then add 10 to aa set the thumbposition of sb "jauge" of stack "ime_loader" to aa end if end repeat end progressbark Best Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 10 juil. 08 ? 13:50, Nicolas Cueto a ?crit : > Hello, > > A few years back, Dave Cragg was > kind enough to explain in detail how > to build a stack that shows the progress > of a download (I've included his message > below). > > The script works, but there's a glitch. > When the progress-stack is called up > only its edge can be seen. Its body, > instead of showing a progres bar > increasing as the download progresses, > shows nothing but a freeze-view of whatever > was on the screen beneath it before it > popped open. > > I've tried setting buffer properties, > but that did not work. > > Is there a way of getting this to work? > > Thank you. > > -- Nicolas Cueto > > > > You can show status using "go" as well. libUrlSetStatusCallback works > for both blocking (e.g. load url) and non-blocking (.e.g. get url) > calls. > > Below is the script of a *very crude* progress palette. The stack > consists of two fields (one named "url" and the other named > "status"), and a scrollbar (progress bar) named "progress" . Name the > stack "url_status" (or anything you want). > > Make this stack a substack of your main stack. Then somewhere (e.g in > your mainstack's preopenstack handler), include the following: > > start using "url_status" > > That's it. After that, it should work for all downloads and uploads > (which may not be what you want). > > Cheers > Dave > > -------------------------------------------------- > local sUrls > ---------------------------- > on libraryStack > libUrlSetStatusCallback "urlCallback", the long id of me > palette me > hide me > end libraryStack > > ------------------------- > on releaseStack > libUrlSetStatusCallback empty > close me > end releaseStack > --------------------------- > > on urlCallback pUrl, pStatusString > > show me > put pUrl into field "url" of card 1 of me > put item 1 of pStatusString into tStatus > put tStatus into field "status" of card 1 of me > put 1 into sUrls[pUrl] > if tStatus is among the items of "loading,downloading,uploading" > then > > put item 2 of pStatusString into tPart > put item 3 of pStatusString into tWhole > if tWhole <> empty then > > showProgress tPart,tWhole > else > hide scrollbar "progress" of me > put "," && tPart && "bytes" after field "status" of card 1 of me > end if > --unlock screen > else if tStatus is among the items of > "loaded,downloaded,uploaded,cached" then > delete local sUrls[pUrl] > if the visible of scrollbar "progress" of me then showProgress 1,1 > send "hideStatus" to me in 200 milliseconds ##leave visible for > short time > > else if tStatus is among the items of "error,timeout" then > delete local sUrls[pUrl] > send "hideStatus" to me in 200 milliseconds ##leave visible for > short time > else > hide scrollbar "progress" of me > end if > end urlCallback > ------------------------- > on showProgress pPart,pWhole > put the endValue of scrollbar "progress" of me into tMax > set the thumbPosition of scrollbar "progress" of me to round(tMax > * pPart / pWhole) > show scrollbar "progress" of me > wait 10 milliseconds > end showProgress > ----------------------- > on hideStatus > if keys(sUrls) is empty then > hide me > end if > end hideStatus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Thu Jul 10 08:46:34 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 10 Jul 2008 14:46:34 +0200 Subject: progress bar example In-Reply-To: <1e91b2b70807100450i33b395famd342edc57c598566@mail.gmail.com> References: <1e91b2b70807100450i33b395famd342edc57c598566@mail.gmail.com> Message-ID: Bonjour Nicolas, Le 10 juil. 08 ? 13:50, Nicolas Cueto a ?crit : > A few years back, Dave Cragg was > kind enough to explain in detail how > to build a stack that shows the progress > of a download (I've included his message > below). How to Download Data from the Internet tutorial might help you: This stack explains how to test the user connection, an url validity, why and how to use get url or load url, retrieve data from framed pages, GIVE AN ACCOUNT OF DOWNLOAD PROGRESS, manage errors, display retrieved data (web pages, stacks, compressed or not), etc. You will access this tutorial through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web. You will find it by going to http://www.sosmartsoftware.com/. Revolution/Plugins or Tutorials section. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From bertshuler at yahoo.com Thu Jul 10 10:10:48 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 10:10:48 -0400 Subject: GET URL with cookies Message-ID: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> I have a site which I need to authenticate to. I do this: put URL "http://site.com/login?uid="&URLEncode("bert at site.com") & "&password=" & URLEncode("mypass") into field "html" The host site validates my password, sets a cookie, and redirects me to the front page, which because I have a validated cookie, shows me I am logged in. This works fine in a browser, but it seem "put URL" is doing the redirect, but dropping the cookie. So I never actually get logged in. My question is this, can I make "put URL" keep the cookies? Or, as an alternate solution, can I make the revBrowser upload files with zero user intervention? Any pointers will be appreciated. From david at dvglasgow.wanadoo.co.uk Thu Jul 10 10:32:22 2008 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 10 Jul 2008 15:32:22 +0100 Subject: The mystery of inks In-Reply-To: <20080710115654.8B0C7489CE0@mail.runrev.com> References: <20080710115654.8B0C7489CE0@mail.runrev.com> Message-ID: <8DE80C0D-2A5F-4A07-ABB1-CA58EA60E2ED@dvglasgow.wanadoo.co.uk> I am struggling to understand and use inks (Rev 2.9) I have no idea how these things work, but what I want to achieve is this: I have a jpg image of a human in swim-wear. The background was originally a separate layer in Photoshop, and is a sort of grey green swirlyness. I mention this because it could be changed to something else if it would help achieve my goal. I want to have a primary colour show through the human figure but not the background. So by changing an underlying grc fill, the figure should switch from blue to yellow, to green, etc. I don't mind the colour of the swimwear changing, but the skin should take as much of the underlying colour as possible. I made a little test stack which looped through all the ink effects and applied them to my image which was overlying a grc filled yellow. First thing is that I was surprised how many inks made no apparent difference to the image (7), made the image black (5), or disappear completely (7) - irrespective of whether areas of the image t overlay the grc or not. Why is that? Second thing is that three effects stood out as close to what I want. They were BlendMultiply, BlendDarken and SrcAnd. Are there any significant technical differences between these, or between their effects on Windows vs Mac? Anywhere I can read up in them? I see that SrCAnd is described as a "legacy"...... some legacies are good :-)) Finally, if I did change the jpg background to be transparent, or solid colour, or black or something, is there an ink effect which would show solid colour through the human part only? I did try to understand the Wikipedia article on alpha channels, but my mind went matte and dodged. Or burned, I forget which. Thanks, David Glasgow From lists at mangomultimedia.com Thu Jul 10 10:46:57 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 10 Jul 2008 10:46:57 -0400 Subject: GET URL with cookies In-Reply-To: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> Message-ID: <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> On Jul 10, 2008, at 10:10 AM, Bert Shuler wrote: > I have a site which I need to authenticate to. I do this: > > put URL "http://site.com/login?uid="&URLEncode("bert at site.com") & > "&password=" & URLEncode("mypass") into field "html" > > The host site validates my password, sets a cookie, and redirects me > to the front page, which because I have a validated cookie, shows me > I am logged in. This works fine in a browser, but it seem "put URL" > is doing the redirect, but dropping the cookie. So I never actually > get logged in. > > My question is this, can I make "put URL" keep the cookies? Or, as > an alternate solution, can I make the revBrowser upload files with > zero user intervention? > > Any pointers will be appreciated. Hi Bert, I think you have to handle cookies manually. I just did some work with cookies yesterday so here are some notes based on that experience. I'm using 'post' rather than 'put' but after executing the 'post' command I used libURLLastRHHeaders() to retrieve the header that the server sent back. You will find at least one line that starts with 'Set-Cookie'. What you are responsible for doing is extracting the cookie from that line and creating a 'Cookie' entry in the header you send to the server with each request. I put together a handler that takes libURLLastRHHeaders(), extracts the cookies and stores them in a script local variable (this code is for a library, you could easily return the result) that I then assign to 'the httpheaders' property before I send a request to the server expecting the cookie. Here is what it looks like: ##=================== local sCookieHeader ## Parse header returned from a server and create a cookie header that can be sent back: Cookie: cookie1;cookie2;cookie3;... private command _StoreCookies pHeader local theCharNo,theCookieLine,theLineNo,theOffset put empty into sCookieHeader put 0 into theOffset repeat forever put lineoffset("Set-Cookie:", pHeader, theOffset) into theLineNo if theLineNo > 0 then add theOffset to theLineNo put line theLineNo of pHeader into theCookieLine delete word 1 of theCookieLine ## Set-Cookie: put offset(";", theCookieLine) into theCharNo if theCharNo > 0 then delete char theCharNo to -1 of theCookieLine end if put theCookieLine & ";" after sCookieHeader put theLineNo into theOffset else exit repeat end if end repeat if the last char of sCookieHeader is ";" then delete the last char of sCookieHeader end if if sCookieHeader is not empty then put "Cookie: " before sCookieHeader end if return empty end _StoreCookies ##====================== Hopefully this helps. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From bertshuler at yahoo.com Thu Jul 10 11:56:14 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 11:56:14 -0400 Subject: GET URL with cookies In-Reply-To: <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> Message-ID: That is exactly the right direction I needed to go. Thanks. I am putting the cookie found by your routine into httpHeaders It still isnt working, but I feel like this is the right path. I need to validate that the cookie is actually being sent. I wish there was a way to watch the http traffic go by. Bert On Jul 10, 2008, at 10:46 AM, Trevor DeVore wrote: > On Jul 10, 2008, at 10:10 AM, Bert Shuler wrote: > >> I have a site which I need to authenticate to. I do this: >> >> put URL "http://site.com/login?uid="&URLEncode("bert at site.com") & >> "&password=" & URLEncode("mypass") into field "html" >> >> The host site validates my password, sets a cookie, and redirects >> me to the front page, which because I have a validated cookie, >> shows me I am logged in. This works fine in a browser, but it seem >> "put URL" is doing the redirect, but dropping the cookie. So I >> never actually get logged in. >> >> My question is this, can I make "put URL" keep the cookies? Or, as >> an alternate solution, can I make the revBrowser upload files with >> zero user intervention? >> >> Any pointers will be appreciated. > > Hi Bert, > > I think you have to handle cookies manually. I just did some work > with cookies yesterday so here are some notes based on that > experience. > > I'm using 'post' rather than 'put' but after executing the 'post' > command I used libURLLastRHHeaders() to retrieve the header that the > server sent back. You will find at least one line that starts with > 'Set-Cookie'. > > What you are responsible for doing is extracting the cookie from > that line and creating a 'Cookie' entry in the header you send to > the server with each request. I put together a handler that takes > libURLLastRHHeaders(), extracts the cookies and stores them in a > script local variable (this code is for a library, you could easily > return the result) that I then assign to 'the httpheaders' property > before I send a request to the server expecting the cookie. Here is > what it looks like: > > ##=================== > > local sCookieHeader > > > ## Parse header returned from a server and create a cookie header > that can be sent back: Cookie: cookie1;cookie2;cookie3;... > private command _StoreCookies pHeader > local theCharNo,theCookieLine,theLineNo,theOffset > > put empty into sCookieHeader > put 0 into theOffset > repeat forever > put lineoffset("Set-Cookie:", pHeader, theOffset) into > theLineNo > if theLineNo > 0 then > add theOffset to theLineNo > put line theLineNo of pHeader into theCookieLine > delete word 1 of theCookieLine ## Set-Cookie: > put offset(";", theCookieLine) into theCharNo > if theCharNo > 0 then > delete char theCharNo to -1 of theCookieLine > end if > put theCookieLine & ";" after sCookieHeader > put theLineNo into theOffset > else > exit repeat > end if > end repeat > > if the last char of sCookieHeader is ";" then > delete the last char of sCookieHeader > end if > > if sCookieHeader is not empty then > put "Cookie: " before sCookieHeader > end if > > return empty > end _StoreCookies > > ##====================== > > Hopefully this helps. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Jul 10 12:00:54 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 10 Jul 2008 12:00:54 -0400 Subject: GET URL with cookies In-Reply-To: References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> Message-ID: <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> On Jul 10, 2008, at 11:56 AM, Bert Shuler wrote: > That is exactly the right direction I needed to go. Thanks. > I am putting the cookie found by your routine into httpHeaders > It still isnt working, but I feel like this is the right path. I > need to validate that the cookie is actually being sent. > I wish there was a way to watch the http traffic go by. What platform are you on? I'm on OS X use the traffic watcher in Interarchy 8 to watch HHTP traffic coming and going from my computer while I work with headers. I'm imagine there are some free utilities available as well. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From bertshuler at yahoo.com Thu Jul 10 12:23:19 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 12:23:19 -0400 Subject: GET URL with cookies In-Reply-To: <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> Message-ID: <701801DA-5616-42F8-8A45-E7883E92F361@yahoo.com> I found http://www.charlesproxy.com/download_action.php?os=macosx the trial works well, and shows that cookies are not being sent with my requests. put "Cookie: test=mytest;" put sCookieHeader into httpHeaders put URL "http://mysite.com?uid=bert at mysite.com&password=mypass" seems like that should work, but it does not. On Jul 10, 2008, at 12:00 PM, Trevor DeVore wrote: > On Jul 10, 2008, at 11:56 AM, Bert Shuler wrote: > >> That is exactly the right direction I needed to go. Thanks. >> I am putting the cookie found by your routine into httpHeaders >> It still isnt working, but I feel like this is the right path. I >> need to validate that the cookie is actually being sent. >> I wish there was a way to watch the http traffic go by. > > What platform are you on? I'm on OS X use the traffic watcher in > Interarchy 8 to watch HHTP traffic coming and going from my computer > while I work with headers. I'm imagine there are some free utilities > available as well. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Jul 10 12:26:30 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 10 Jul 2008 12:26:30 -0400 Subject: GET URL with cookies In-Reply-To: <701801DA-5616-42F8-8A45-E7883E92F361@yahoo.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> <701801DA-5616-42F8-8A45-E7883E92F361@yahoo.com> Message-ID: <3C814E18-0677-4553-99CA-B0221D71F397@mangomultimedia.com> On Jul 10, 2008, at 12:23 PM, Bert Shuler wrote: > I found http://www.charlesproxy.com/download_action.php?os=macosx > the trial works well, and shows that cookies are not being sent with > my requests. > > put "Cookie: test=mytest;" > put sCookieHeader into httpHeaders > put URL "http://mysite.com?uid=bert at mysite.com&password=mypass" > > seems like that should work, but it does not. httpHeaders is a property so try: set the httpHeaders to sCookieHeader (assuming sCookieHeader has a value) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From cszasz at mac.com Thu Jul 10 12:41:41 2008 From: cszasz at mac.com (Charles Szasz) Date: Thu, 10 Jul 2008 09:41:41 -0700 (PDT) Subject: Switch statements within Switch statements In-Reply-To: References: <18374624.post@talk.nabble.com> Message-ID: <18385818.post@talk.nabble.com> Kay, Thanks very much for your suggestions! I appreciate you taking time to answer my question. Kay C Lan wrote: > > on menuPick pChosen > switch pChosen > case "1 Choice" > --avoid statements here to keep switch statement compact > handler1Choice > break > case "2 Choice" > handler2Choice > break > ... > ... > case "987 Choice" > handler987Choice > break > --always good to include in the development phase to hi-light > omissions. > default > answer "A case I've not accounted for." titled "Case Omission" > --check the variable watcher - pChosen > breakpoint > end switch > end menuPick > > --the following will also be in the button script > > on handler1Choice > switch the label of btn "Master" > case "Choice 1" > --statements here > --use a handler if too many statements > break > case "Choice 2" > --statements or handler > break > ... > ... > case "Choice 99" > --statements or handler > break > --always good to include in the development phase to hi-light > omissions. > default > answer "A case I've not accounted for." titled "Case Omission" > --check the label of btn 'Master' > breakpoint > end switch > end handler1Choice > > on handler2Choice > --switch structure again > end handler2Choice > > as many as required. > > Although nested switch statements are possible, and are easy enough to > follow if you only have a small matrix of options to cover, once the > options > start to multiply it's very easy to created a very complex structure that > is > hard to follow and easy to miss options - which is why I like to use the > default statement to catch omissions. > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Switch-statements-within-Switch-statements-tp18374624p18385818.html Sent from the Revolution - User mailing list archive at Nabble.com. From JimAultWins at yahoo.com Thu Jul 10 12:59:44 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 10 Jul 2008 09:59:44 -0700 Subject: AW: chars in a field only for the field length In-Reply-To: <000801c8e27b$115be8f0$18b2a8c0@TiemoPC2> Message-ID: On 7/10/08 3:52 AM, "Tiemo Hollmann TB" wrote: > Thank you Jan and Eric, very helpful! > > Eric, is there a trick to open a tutorial from the tutorial picker? I > installed and opened the tutorial picker, but neither double clicking on a > tutorial subject line, nore clicking ?open? does open any tutorial, just > nothing happens ;( You might check you version of Rev. Older versions will not always be able to read new stacks. The author of a stack can choose to save in Legacy format, but the user cannot make a choice to open in Legacy format. Hope this helps. Jim Ault Las Vegas From eric.chatonet at sosmartsoftware.com Thu Jul 10 13:07:23 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 10 Jul 2008 19:07:23 +0200 Subject: AW: chars in a field only for the field length In-Reply-To: References: Message-ID: Bonjour Jim, All tutorials are saved in the legacy format except those that need Rev 2.8 or later (like the second one about drag and drop). In addition, Tiemo uses Rev 2.9. I'm trying to troubleshoot his problem off list... Le 10 juil. 08 ? 18:59, Jim Ault a ?crit : > On 7/10/08 3:52 AM, "Tiemo Hollmann TB" wrote: > >> Thank you Jan and Eric, very helpful! >> >> Eric, is there a trick to open a tutorial from the tutorial picker? I >> installed and opened the tutorial picker, but neither double >> clicking on a >> tutorial subject line, nore clicking ?open? does open any >> tutorial, just >> nothing happens ;( > > You might check you version of Rev. Older versions will not always > be able > to read new stacks. The author of a stack can choose to save in > Legacy > format, but the user cannot make a choice to open in Legacy format. > > Hope this helps. > > Jim Ault > Las Vegas Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From scott at tactilemedia.com Thu Jul 10 13:26:18 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Jul 2008 10:26:18 -0700 Subject: The mystery of inks In-Reply-To: <8DE80C0D-2A5F-4A07-ABB1-CA58EA60E2ED@dvglasgow.wanadoo.co.uk> Message-ID: Recently, David Glasgow wrote: > I want to have a primary > colour show through the human figure but not the background. So by > changing an underlying grc fill, the figure should switch from blue > to yellow, to green, etc. I don't mind the colour of the swimwear > changing, but the skin should take as much of the underlying colour > as possible. Hi Dave: If you have a stack or just source images you can send, I might be able to figure it out (somewhat impossible using a text description). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From andre at andregarzia.com Thu Jul 10 14:26:34 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 10 Jul 2008 15:26:34 -0300 Subject: GET URL with cookies In-Reply-To: <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> Message-ID: <7c87a2a10807101126h2dc15520maf4e94dc04d9656b@mail.gmail.com> Hello Friends, The best way to monitor network traffic (IMHO) is Wireshark < http://www.wireshark.org/ >. It has a learning curve for it allows you to monitor everything and it is quite flexible. I usually allow it to monitor HTTP traffic to/from a given domain, this way I filter all the bg noise that mac os x and other apps might be generating. wireshark is free and open source and available to every platform. Andre On Thu, Jul 10, 2008 at 1:00 PM, Trevor DeVore wrote: > On Jul 10, 2008, at 11:56 AM, Bert Shuler wrote: > >> That is exactly the right direction I needed to go. Thanks. >> I am putting the cookie found by your routine into httpHeaders >> It still isnt working, but I feel like this is the right path. I need to >> validate that the cookie is actually being sent. >> I wish there was a way to watch the http traffic go by. > > What platform are you on? I'm on OS X use the traffic watcher in Interarchy > 8 to watch HHTP traffic coming and going from my computer while I work with > headers. I'm imagine there are some free utilities available as well. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From bertshuler at yahoo.com Thu Jul 10 16:10:52 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 16:10:52 -0400 Subject: GET URL with cookies In-Reply-To: <3C814E18-0677-4553-99CA-B0221D71F397@mangomultimedia.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> <701801DA-5616-42F8-8A45-E7883E92F361@yahoo.com> <3C814E18-0677-4553-99CA-B0221D71F397@mangomultimedia.com> Message-ID: <4ED3859D-9EC9-497F-9938-939B484CD1CC@yahoo.com> Your advice was dead on. Thanks. On Jul 10, 2008, at 12:26 PM, Trevor DeVore wrote: > On Jul 10, 2008, at 12:23 PM, Bert Shuler wrote: > >> I found http://www.charlesproxy.com/download_action.php?os=macosx >> the trial works well, and shows that cookies are not being sent >> with my requests. >> >> put "Cookie: test=mytest;" >> put sCookieHeader into httpHeaders >> put URL "http://mysite.com?uid=bert at mysite.com&password=mypass" >> >> seems like that should work, but it does not. > > httpHeaders is a property so try: > > set the httpHeaders to sCookieHeader > > (assuming sCookieHeader has a value) > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bertshuler at yahoo.com Thu Jul 10 16:12:51 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 16:12:51 -0400 Subject: matchText, does it really exist? Message-ID: <35738458-C754-4BA1-98A3-EFFA7506F3C1@yahoo.com> This code is from the docs, but seems to fail as if matchText is not a function. on mouseUp matchText("Goodbye","bye") end mouseUp executing at 4:09:47 PM Type Handler: can't find handler Object Button Line matchText("Goodbye","bye") Hint matchText Any Ideas? Bert From stephenREVOLUTION2 at barncard.com Thu Jul 10 16:18:14 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 10 Jul 2008 13:18:14 -0700 Subject: GET URL with cookies In-Reply-To: <7c87a2a10807101126h2dc15520maf4e94dc04d9656b@mail.gmail.com> References: <95E79B26-F2FF-4F3E-9A09-39122CC8C220@yahoo.com> <6BA9D4CD-690E-4E1F-859A-E2DC0677F509@mangomultimedia.com> <379601DF-AC59-4CA0-8B07-A1A88F9EFB6A@mangomultimedia.com> <7c87a2a10807101126h2dc15520maf4e94dc04d9656b@mail.gmail.com> Message-ID: Netshark is awesome! thanks, Andre... >Hello Friends, > >The best way to monitor network traffic (IMHO) is Wireshark < >http://www.wireshark.org/ >. It has a learning curve for it allows you >to monitor everything and it is quite flexible. I usually allow it to >monitor HTTP traffic to/from a given domain, this way I filter all the >bg noise that mac os x and other apps might be generating. > >wireshark is free and open source and available to every platform. > >Andre -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From janschenkel at yahoo.com Thu Jul 10 16:25:46 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Jul 2008 13:25:46 -0700 (PDT) Subject: matchText, does it really exist? In-Reply-To: <35738458-C754-4BA1-98A3-EFFA7506F3C1@yahoo.com> Message-ID: <471756.6170.qm@web65412.mail.ac4.yahoo.com> --- Bert Shuler wrote: > This code is from the docs, but seems to fail as if > matchText is not a > function. > > on mouseUp > matchText("Goodbye","bye") > end mouseUp > > executing at 4:09:47 PM > Type Handler: can't find handler > Object Button > Line matchText("Goodbye","bye") > Hint matchText > > Any Ideas? > > Bert > Hi Bert, 'matchText' is a function, not a command - so use it like this: ## on mouseUp answer matchText("Goodbye","bye") end mouseUp ## Admittedly, the docs for other functions sometimes contain a 'put xxx' example, whereas the entry for 'matchText' does not. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From bertshuler at yahoo.com Thu Jul 10 16:28:33 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Thu, 10 Jul 2008 16:28:33 -0400 Subject: matchText, does it really exist? In-Reply-To: <471756.6170.qm@web65412.mail.ac4.yahoo.com> References: <471756.6170.qm@web65412.mail.ac4.yahoo.com> Message-ID: <36870BD9-9EE3-4E01-8AF1-E23FEA914946@yahoo.com> worked. Thanks for the quick help. Bert On Jul 10, 2008, at 4:25 PM, Jan Schenkel wrote: > --- Bert Shuler wrote: >> This code is from the docs, but seems to fail as if >> matchText is not a >> function. >> >> on mouseUp >> matchText("Goodbye","bye") >> end mouseUp >> >> executing at 4:09:47 PM >> Type Handler: can't find handler >> Object Button >> Line matchText("Goodbye","bye") >> Hint matchText >> >> Any Ideas? >> >> Bert >> > > Hi Bert, > > 'matchText' is a function, not a command - so use it > like this: > ## > on mouseUp > answer matchText("Goodbye","bye") > end mouseUp > ## > > Admittedly, the docs for other functions sometimes > contain a 'put xxx' example, whereas the entry for > 'matchText' does not. > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Thu Jul 10 18:40:15 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Jul 2008 00:40:15 +0200 Subject: matchText, does it really exist? In-Reply-To: <35738458-C754-4BA1-98A3-EFFA7506F3C1@yahoo.com> References: <35738458-C754-4BA1-98A3-EFFA7506F3C1@yahoo.com> Message-ID: <92FC88EC-91AE-4215-8424-93D8E628952C@economy-x-talk.com> put -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 10 jul 2008, at 22:12, Bert Shuler wrote: > This code is from the docs, but seems to fail as if matchText is not > a function. > > on mouseUp > matchText("Goodbye","bye") > end mouseUp > > executing at 4:09:47 PM > Type Handler: can't find handler > Object Button > Line matchText("Goodbye","bye") > Hint matchText > > Any Ideas? > > Bert From toolbook at kestner.de Fri Jul 11 03:08:19 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 11 Jul 2008 09:08:19 +0200 Subject: answer printer crashes in standalone on XP Message-ID: <000701c8e324$e6d97d40$18b2a8c0@TiemoPC2> Hello, Rev 2.9, dev. on Win XP In one of my apps I have a plain "answer printer" to print a card. Up to now it works without problems. Now I got a feedback from two customers that my app crashes right when opening the printer dialog. One of them is on Win 2000, one on XP. Actually I am not sure if the app crashes on the "answer printer" or the next statement: "print card "print" from tTopLeft to tBottomRight into 60,46,646,792" Are there any known issues, perhaps any incompatibility with some printer drivers? Or anything I should change next time? Is "Open printing with dialog" perhaps more reliable, or is it under the hood just the same? Thanks for sharing your experiences Tiemo From scott at elementarysoftware.com Fri Jul 11 03:15:20 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 11 Jul 2008 00:15:20 -0700 Subject: combine shell scripts with administrator privileges Message-ID: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> I'm trying to combine 2 shell scripts and my knowledge of shell scripting (and how to combine it with AppleScript) is proving too minimal. I can do this: put "chmod 777"&& tInnerPath into tShellCmd put "do shell script" &"e& tShellCmd "e&& "with administrator privileges" into tCmd do tCmd as applescript What I want to do is piggyback a second script to chmod another file while making use of the previous admin privileges (Otherwise I end up with a second dialog box asking the user to enter the password again) Thanks, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com From sarah.reichelt at gmail.com Fri Jul 11 07:32:46 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 11 Jul 2008 21:32:46 +1000 Subject: combine shell scripts with administrator privileges In-Reply-To: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: On Fri, Jul 11, 2008 at 5:15 PM, Scott Morrow wrote: > I'm trying to combine 2 shell scripts and my knowledge of shell scripting > (and how to combine it with AppleScript) is proving too minimal. > > I can do this: > > put "chmod 777"&& tInnerPath into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with administrator > privileges" into tCmd > do tCmd as applescript > > What I want to do is piggyback a second script to chmod another file while > making use of the previous admin privileges > > (Otherwise I end up with a second dialog box asking the user to enter the > password again) If you want the standard OS X admin privileges dialog to appear, then you will have to do it the way you are going and just live with having two dialog boxes. A lot of apps do this anyway e.g. TextWrangler. However if you are prepared to ask for an admin password using a standard Rev dialog, then you can forget about AppleScript and just use the shell function directly. If the command does not require admin privileges, then you can just do this: put "chmod 777"&& tInnerPath into tShellCmd get shell(tShellCmd) If it requires admin privileges, then you will have to ask for the password, store it in a variable (tPass) and then combine it: put "#!/bin/sh" & cr into tScript put "pw=" & quote & tPass & quote & cr after tScript put "echo $pw | sudo -S " & tShellCmd & cr after tScript put shell(tScript) into tCheck -- do the command & get the result In this case, once you have the password, you can do as many shell commands as you want. Just one warning: if you are using file paths in a shell command, you will have a problem if there are any spaces in the folder or file name. Either surround the file path by quotes or escape the spaces. To see how this can be done, open the terminal and drag a file into the Terminal window. This will give you the full file path, escaped as the shell needs it. However I find it easier just to use quotes. Cheers, Sarah From jbv.silences at club-internet.fr Fri Jul 11 08:31:31 2008 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 11 Jul 2008 14:31:31 +0200 Subject: [semi OT] Display problem with pdf files uploaded via Rev cgi Message-ID: <487752A3.BA7D7EA1@club-internet.fr> Hi guys, Here I am, facing another weird problem... I have built a js file uploader, with rev cgi on the server side to parse the multipart/form-data and save the uploaded file in the right directory. After upload, the end user can check what's been uploaded in a webpage where all uploaded files are listed as links in a object. Everything works like a charm, except for one silly detail : pdf files that have been uploaded with my tool open as text in the browser, while other pdf files uploaded via a regular ftp client open fine in Acrobat Reader, and this happens ONLY in IE6+ on Windows, while any pdf file opens fine in Acrobat Reader in FF... Any suggestion on what I could check (and possibly fix) ? Thanks in adavance, JB From scott at elementarysoftware.com Fri Jul 11 10:05:29 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 11 Jul 2008 07:05:29 -0700 Subject: combine shell scripts with administrator privileges In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: Hello Sarah, Thanks for the lesson and the sample code! -Scott On Jul 11, 2008, at 4:32 AM, Sarah Reichelt wrote: > On Fri, Jul 11, 2008 at 5:15 PM, Scott Morrow > wrote: >> I'm trying to combine 2 shell scripts and my knowledge of shell >> scripting >> (and how to combine it with AppleScript) is proving too minimal. >> >> I can do this: >> >> put "chmod 777"&& tInnerPath into tShellCmd >> put "do shell script" &"e& tShellCmd "e&& "with administrator >> privileges" into tCmd >> do tCmd as applescript >> >> What I want to do is piggyback a second script to chmod another >> file while >> making use of the previous admin privileges >> >> (Otherwise I end up with a second dialog box asking the user to >> enter the >> password again) > > If you want the standard OS X admin privileges dialog to appear, then > you will have to do it the way you are going and just live with having > two dialog boxes. A lot of apps do this anyway e.g. TextWrangler. > > However if you are prepared to ask for an admin password using a > standard Rev dialog, then you can forget about AppleScript and just > use the shell function directly. > > If the command does not require admin privileges, then you can just > do this: > > put "chmod 777"&& tInnerPath into tShellCmd > get shell(tShellCmd) > > If it requires admin privileges, then you will have to ask for the > password, store it in a variable (tPass) and then combine it: > > put "#!/bin/sh" & cr into tScript > put "pw=" & quote & tPass & quote & cr after tScript > put "echo $pw | sudo -S " & tShellCmd & cr after tScript > put shell(tScript) into tCheck -- do the command & get the result > > In this case, once you have the password, you can do as many shell > commands as you want. > > Just one warning: if you are using file paths in a shell command, you > will have a problem if there are any spaces in the folder or file > name. Either surround the file path by quotes or escape the spaces. To > see how this can be done, open the terminal and drag a file into the > Terminal window. This will give you the full file path, escaped as the > shell needs it. However I find it easier just to use quotes. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at club-internet.fr Fri Jul 11 10:53:37 2008 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 11 Jul 2008 16:53:37 +0200 Subject: [semi OT] Display problem with pdf files uploaded via Rev cgi References: <487752A3.BA7D7EA1@club-internet.fr> Message-ID: <487773EC.441D7A14@club-internet.fr> Hi again, If anyone interested, I found the solution. In the first version of my cgi script, before saving the pdf code as a bin file on the server, I was running the following loop : repeat while first char of myPDF = cr delete first char of myPDF end repeat but the wasn't enough; the code to run is : repeat while first char of myPDF = cr or the chartonum of first char of myPDF = 13 delete first char of myPDF end repeat If the pdf code contains some junk before the actual 1st line of pdf %PDF-1.3 which indicates the file format and the pdf version IE6+ treats the file as text, while FF seems to check a little further... Best, JB > Hi guys, > > Here I am, facing another weird problem... > > I have built a js file uploader, with rev cgi on the server side to > parse > the multipart/form-data and save the uploaded file in the right > directory. > After upload, the end user can check what's been uploaded in a webpage > where all uploaded files are listed as links in a
object. > > Everything works like a charm, except for one silly detail : pdf files > that > have been uploaded with my tool open as text in the browser, while other > > pdf files uploaded via a regular ftp client open fine in Acrobat Reader, > and > this happens ONLY in IE6+ on Windows, while any pdf file opens fine in > Acrobat Reader in FF... > > Any suggestion on what I could check (and possibly fix) ? > > Thanks in adavance, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: From andres at bakno.com Fri Jul 11 13:01:54 2008 From: andres at bakno.com (Andres Martinez) Date: Fri, 11 Jul 2008 13:01:54 -0400 Subject: Cropped Window Shape In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: Hello A window shape that is 1100 lines tall, looks fine in development environment, but somehow the compiled version is cropped at 900 approx. and the bottom part is not shown. I have increased the stack size and it does not work. Any suggestion is welcome. Regards, Andres Martinez www.baKno.com From andres at bakno.com Fri Jul 11 13:06:41 2008 From: andres at bakno.com (Andres Martinez) Date: Fri, 11 Jul 2008 13:06:41 -0400 Subject: Cropped Window Shape In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: Hello This has to do with the display resolution. I just changed it to 800 lines and the window is now cropped at 800. Does anyone know how to fully show a bigger than display window? Regards, Andres Martinez www.baKno.com On Jul 11, 2008, at 1:01 PM, Andres Martinez wrote: > Hello > > A window shape that is 1100 lines tall, looks fine in development > environment, but somehow the compiled version is cropped at 900 > approx. and the bottom part is not shown. I have increased the > stack size and it does not work. > > Any suggestion is welcome. > > Regards, > Andres Martinez > www.baKno.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Jul 11 13:08:56 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Jul 2008 19:08:56 +0200 Subject: Cropped Window Shape In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: <6B031326-0000-4597-93EE-6BFE166308A0@economy-x-talk.com> Hi Andres, Do you have a menubar? If so, have a look at the Menubar Solution stack in my user space on RevOnline. My user name is Mark. The stack shows how to use a menubar with a custom window shape. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 11 jul 2008, at 19:01, Andres Martinez wrote: > Hello > > A window shape that is 1100 lines tall, looks fine in development > environment, but somehow the compiled version is cropped at 900 > approx. and the bottom part is not shown. I have increased the > stack size and it does not work. > > Any suggestion is welcome. > > Regards, > Andres Martinez > www.baKno.com From m.schonewille at economy-x-talk.com Fri Jul 11 13:11:46 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Jul 2008 19:11:46 +0200 Subject: Cropped Window Shape In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: Andres, This sounds like a bug: http://quality.runrev.com/qacenter/show_bug.cgi?id=3761 I don't know what might be a workaround for this problem, right now. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 11 jul 2008, at 19:06, Andres Martinez wrote: > Hello > > This has to do with the display resolution. > > I just changed it to 800 lines and the window is now cropped at 800. > > Does anyone know how to fully show a bigger than display window? > > Regards, > Andres Martinez > www.baKno.com From andres at bakno.com Fri Jul 11 13:44:44 2008 From: andres at bakno.com (Andres Martinez) Date: Fri, 11 Jul 2008 13:44:44 -0400 Subject: Cropped Window Shape In-Reply-To: References: <4F88439A-65C9-4F35-B692-178C79C08780@elementarysoftware.com> Message-ID: Thanks Mark I found a workaround by forcing the window size after it has been opened. Regards, Andres Martinez www.baKno.com On Jul 11, 2008, at 1:11 PM, Mark Schonewille wrote: > Andres, > > This sounds like a bug: > > http://quality.runrev.com/qacenter/show_bug.cgi?id=3761 > > I don't know what might be a workaround for this problem, right now. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > > On 11 jul 2008, at 19:06, Andres Martinez wrote: > >> Hello >> >> This has to do with the display resolution. >> >> I just changed it to 800 lines and the window is now cropped at 800. >> >> Does anyone know how to fully show a bigger than display window? >> >> Regards, >> Andres Martinez >> www.baKno.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From henk at iglow-media.nl Fri Jul 11 15:55:53 2008 From: henk at iglow-media.nl (Henk van der Velden) Date: Fri, 11 Jul 2008 21:55:53 +0200 Subject: Passing variables between Flash and Rev Message-ID: > > In the end, it works like this... you have Rev start listening for a > > socket connection, you have Flash connect to it, and you start > > communicating back and forth. > > I had trouble working out how to manage the connection from the Rev > side. If you want Rev to push data to the Flash element at arbitrary > times, you need to keep the connection open. But if you also want to > accept data from the Flash element, doesn't the Flash script need to > reset the connection prior to sending data otherwise Rev doesn't know > when to read from the socket. In the example above, Rev closes the > socket each time after sending the data, forcing the Flash component > to reconnect. Is there a cleaner approach to this? I'm trying to build something like this, but I run into some issues I don't understand. The setup: A Rev app opening a socket connection 1987, starts listening at it. A flash movie displayed within a Rev window by revBrowser. Flash movie connects to the socket. First strange thing: when I open socket 1987 in Rev, and then have the Flash app connect to it, a second socket is opened. From Terminal lsof -i -P: Flash\x20 5051 username 13u IPv4 0x03d6594c 0t0 TCP *:1987 (LISTEN) Flash\x20 5051 username 22u IPv4 0x03d64200 0t0 TCP localhost:51733->localhost:1987 (ESTABLISHED) Flash\x20 5051 username 23u IPv4 0x03d71740 0t0 TCP localhost:1987->localhost:51733 (ESTABLISHED) Rev also lists 51733 in opensockets. Why is that? Is that normal? Second issue: Then I start sending from Flash to Rev by clicking a button in Flash movie. First time everything is OK: message is received by Rev. Then I try to send a second time, but nothing is received by Rev. How can that be? Third issue: when clicking on a Flash button to write to a socket, I need to click outside the browser image before I can click that button again. Kind regards, Henk -------------------------- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl From geradamas at yahoo.com Sat Jul 12 06:27:46 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 12 Jul 2008 03:27:46 -0700 (PDT) Subject: Cropped Window Shape Message-ID: <754805.70557.qm@web37502.mail.mud.yahoo.com> on preOpenCard set the lockScreen to true set the height of stack "Sizer" to 1200 set the lockScreen to false end preOpenCard "Rocket Science!" - NOT! However, be careful or you will end up with the top of the stack being off the top of your monitor. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Sat Jul 12 10:52:29 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 12 Jul 2008 07:52:29 -0700 (PDT) Subject: Cropped Window Shape [After Siesta Version] Message-ID: <501064.97345.qm@web37508.mail.mud.yahoo.com> Sorry, chaps; previous offering a bit goofy. This one runs "instantly" and clears the top of the screen on preOpenCard set the lockScreen to true set the height of stack "Sizer" to 1200 set the lockScreen to false set the topleft of stack "sizer" to 40,100 end preOpenCard The inevitable question has to be; "Why do you want a stack that is taller than the screen?" If I want a lot of "real estate" I do something like this: Make a graphic/field/what-have-you that is the desired size (e.g. 400, 1400) then Group it (with itself - this sounds funny but is very effective), then set the Group size to fit within the screenRect and give it a vertical scrollbar. I have used this quite effectively using a sideways scrolling PNG image (3 times the width of the screen) for EFL learners to 'discover' stuff for grammar exercises. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Sat Jul 12 11:47:48 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 12 Jul 2008 08:47:48 -0700 (PDT) Subject: [OT] Sweaty CPUs Message-ID: <110389.47345.qm@web37507.mail.mud.yahoo.com> I have recently had a large problem with my G4 MDD's CPU temperature going up into the 70s Centigrade and really don't have lots of stray money to cut holes in the roof and bung in lots of fans, bigger heat sinks and so on. So, installed CHUD and found that this installed a preference pane called Hardware/Processor (earlier versions/later versions); up until about version 3.5 CHUD allows you to turn on NAP, after that one cannot. Get CHUD from Apple Developer Connection (FREE!); it pulled my CPU down from an average of 65 C to 57 C, and it also throttled the fans so the "Wind Tunnel" Mac gives me a bit more P and Q. For those of you with Intel Macs you will need later versions of CHUD; I believe that the version included with Developer Tools 3.1 (released just NOW) will allow NAP control both in PPC and INTEL Macs. Some Macs have NAP set by default (my Mac Mini PPC does). http://www.macupdate.com/info.php/id/13621/apple-xcode also 'FREE' for the price of your name and e-mail address. The only slight snag is that every time one turns one's Mac on one has to reset this feature; but it seems a cheap alternative to a cheese-burgered computer. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From mkoob at rogers.com Sat Jul 12 12:52:20 2008 From: mkoob at rogers.com (Martin Koob) Date: Sat, 12 Jul 2008 16:52:20 +0000 (UTC) Subject: hang when changing stack height References: <41E9F85C-8692-4BF4-AB9F-35924F0ABC22@economy-x-talk.com> <8CDD5EBD-16C8-47A2-8A51-94F1626AC54C@economy-x-talk.com> Message-ID: Mark Schonewille writes: > > Hi Martin, > > I think you are running into a rare combination of Rev peculiarities. > Unfortunaly, I don't exactly remember how I solved this problem when I > stumbled upon it, but I believe that you can still use the lock screen > command. Locking messages before locking the screen might help (or > maybe not) and the exact place of the lock screen command in your > script may have an effect, too. Surely, as you wrote, removing the > lock screen command altogether is also an option. I wonder whether the > problem would persist, if you set the editmenus to true. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Hi Mark. I was not able to get it to work using lock screen. I did get it to change size correctly by always ensuring that the player window never goes outside of the stack boundries while the two sizes are being increased or decreased. To hide the changes for the user I used the hide stack command. One issue around this is that I need to get the height and width of the movie loaded in the player. However these are not updated till the stack is shown so I have to set the filename of the player, show the stack, retrieve the native movie height and width, hide the stack, resize the player at a multiple of the movie's native height then the stack accordingly, then show the stack. The hiding and showing creates a visual flash but is better than viewing all the contortions as the player shifts into its new size. I am sure there is an easier way to do this but it seems to work. Is the problem with lock screen a reported bug? Martin From katir at hindu.org Sat Jul 12 16:07:16 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 12 Jul 2008 10:07:16 -1000 Subject: what actually happens when sending a message out of a repeat loop? In-Reply-To: <485FD32E.6040502@fourthworld.com> References: <485FD32E.6040502@fourthworld.com> Message-ID: <48790EF4.5070006@hindu.org> Just catching up on my posts to this list after some time... Richard Gaskin wrote: > > It's been a good journey, eh? > > But if I'm not mistaken, didn't we first meet at a SuperCard > conference in '96? Or was that another gentleman from your ashram? Well I would never have gone to a conference, but I was using Supercard from the day it was released. (color!) so you are right, we did "meet" very early in the Supercard era/forums. It looks like some of my first MC stacks are dated around 1999, so you were waving the flag for me to take a look at Metacard well before that... > >> I have an interest in the above "send" issues... >> You say "...then the repeat loop will continue, and DoSomething (like >> all timer messages) will only be fired once the engine hits idle." >> >> But, are they not piling up in the MessageQueue, to be executed, one >> after another, never the less? And if params are sent along with the >> cmd, are they also queued up? > > That's my understanding: all pending messages are queued until idle, > which can raise concerns about the sort of race conditions the > original poster mentioned. > > One of the best ways I've found to reduce CPU usage is to turn down > the frequency of any polling timers (timers that call themselves); for > the user there's often not much difference between 1/100th of a second > and 1/20th, but it can take a huge load off the CPU to turn it down. > > Also, in polling timers I've found it very helpful to first check to > see if a message is already queued before queueing it again, e.g.: > > on DoPolling > DoSomething > if "DoPolling" is not in the pendingMessages then > send "DoPolling" to me in 200 millisecs > end if > end DoPolling > > Without that check, if the time between idle exceeds the time to your > next pending message you can queue up redundant calls. Hmm, So obvious! But I've never done that... I guess because I was assuming too much. I wonder how many of my spinning balls and delays in some apps are run away pending message piling up.... where is the one and only location for all xTalks tips and tricks? (hehe... old discussion, never comes to a conclusion...) Thanks From katir at hindu.org Sat Jul 12 16:07:42 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 12 Jul 2008 10:07:42 -1000 Subject: Vscroll Property of a field that is scrolled to the end In-Reply-To: References: Message-ID: <48790F0E.3060208@hindu.org> Scott Rossi wrote: > Recently, Sivakatirswami wrote: > > >> How do you get the vscroll of a field that would be scrolled all the way >> to the end, without actually scrolling it to the end? >> > > The formattedHeight of the field - the height of the field - the margins of > the field comes very close. But for an exact number, I usually lock the > screen, set the vscroll to a huge amount (100000000), get the scroll of the > fld, reset the vscroll to its original value, and then unlock the screen. A > bit goofy but it's fast and it works. > Ha! I love it... another Widget from the House of WHEW (WHatEverWorks). Thanks :-) and Mark, your response was also very instructive and useful... first time I'm understanding it clearly. Thanks > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Sat Jul 12 16:08:00 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 12 Jul 2008 10:08:00 -1000 Subject: ANN: Quartz Composition Filters in Revolution for OSX In-Reply-To: References: <482260B4.2010301@hindu.org> <48227976.3000907@hindu.org> Message-ID: <48790F20.3050509@hindu.org> We ended up using Wilhelm Sanke's unsharp mask script.. a bit pokey, but all native transcript and I'm not in a rush and it does a good job. Thanks Wilhelm... I finally put your script to work! Sivakatirswami Thomas McGrath III wrote: > Kind words, > > I did find an Automator action for unSharp Mask but it has different > parameters than the Quartz suite and is not a part of it. It should > work as an Automator Application but my first try to access it in Rev > failed. I will play more tomorrow with it. > > There are others too in Utilities in Automator: > Scale > Sharpness (graphic converter) > Brightness > Autolevel > Rotate > > Also saw some for PDFs URLs etc. > > Let ya know, > > Tom > > On May 7, 2008, at 11:54 PM, Sivakatirswami wrote: > >> Aloha, Thomas: >> >> Thanks for that very clear response. >> First, I don't call this cheating, >> I think a lot of us Rev to get various horses under the same harness... >> No better tool for that! >> >> Though if there is no unsharp mask ("critical" for web photos in our >> book) I will probably use Wilhelm's script which he was kind enough >> to give a long while back but I've too busy to get into action, but >> will be needed very soon... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Jul 12 16:08:49 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 12 Jul 2008 10:08:49 -1000 Subject: 3.0.0dp6 Crashing on Stop Editing Group In-Reply-To: References: <487449C3.9040009@hindu.org> Message-ID: <48790F51.6010604@hindu.org> Kay C Lan wrote: > On Wed, Jul 9, 2008 at 1:16 PM, Sivakatirswami wrote: > > > >> I have to force quite (OSX 10.5.2) >> >> 10.5.0 - 10.5.2 is Vistaware. What happens if you update to 10.5.4? >> > Sarah: it was a new stack with virtually no scripts Kay: 10.5.4 did it! I just updated today... problem gone, back to 3.0.0 and gradients, and tabbed scripting! (smile) I'm cross posting to Improve... as I hope rev engineers are not wasting time debugging against Mac OSX 10.5.2 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Sat Jul 12 16:30:16 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 12 Jul 2008 10:30:16 -1000 Subject: Stacks inside OSX Package Message-ID: <48791458.5010101@hindu.org> I rarely contribute here because I feel was outclassed. But sometimes things can be simple. I know that many know this already, but because newbies may not... I just did my first standalone where I added a data stack (where data is saved) right inside the standalone package on OSX. I build in house production tools for our editors and team here for different things. and distribution of a "player" and the actual "app" (which was a stack that needed to save data and has all the functional code in it) as two component thing was a bit of a nuisance. Things inevitably get separated... Now I can tell everyone "it's double clickable, no problem, when you are finished, just put it back on the server..." I can even dig that data stack, from inside the app, over the network from their public folder and update it and read or extract their work... I should try Ken Ray's stack runner one day...For those who may not have the time or need for such things as the GLX framework (I still have the documentation on my desk, not sure when I will ever get a chance to read it...) From the House of Keep It Simple: All you really need to get started in your splash screen is: on openstack send "BootMe" to me in 2 seconds end openstack on BootMe topLevel "MyDataStack.rev" end BootMet On closeStack if the environment <> "development" then quit end closeStack then make your standalone and then put your "MyDataStack.rev" in MyStandAlone.app /Contents /MacOS MyStandAlone # this is the *real* standalone inside the package MyDataStack.rev Just make sure you have a lot of save routines in your MyDataStack.rev on closestack save this stack end CloseStack a save button on the UI (or menus) I also always add an auto save (every five minutes) to most of my stuff that I distribute to volunteers on openStack send "SaveMe" to me in 300 seconds end OpenStack on SaveMe save this stack send "SaveMe" to me in 300 seconds end SaveMe and I never get any support calls for "Oh, I did this or that and lost everything." Meanwhile The Great Adobe, clobbers me on the head with problems at least 2 or three times a month. Freeze, force quit, can't reboot, got to go and trash bogus recovery files and cache, restart your machine and *maybe* just maybe the work you were doing up to the point of the crash was saved... or not.. point: Revolution is probably one of the most stable apps on my machine. From stephenREVOLUTION2 at barncard.com Sat Jul 12 16:50:26 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 12 Jul 2008 13:50:26 -0700 Subject: Stacks inside OSX Package In-Reply-To: <48791458.5010101@hindu.org> References: <48791458.5010101@hindu.org> Message-ID: Just a reminder from the house of cubes... Saving data inside a package works great, as long as one's backup scheme doesn't include reading the DATE from the application package. Changing data inside a folder in MacOSX does not change the date of the folder, and neither does it change in an .app package. I learned this the hard way midway in a big project and had to rebuild everything - I didn't have a recent backup. I now have handlers that save all the stacks or scripts or the entire package to an offsite server. At 10:30 AM -1000 7/12/08, Sivakatirswami wrote: > >I just did my first standalone where I added a data stack (where >data is saved) right inside the standalone package on OSX. I build >in house production tools for our editors and team here for >different things. and distribution of a -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From tereza at califex.com Sat Jul 12 18:18:44 2008 From: tereza at califex.com (Tereza Snyder) Date: Sat, 12 Jul 2008 17:18:44 -0500 Subject: Stacks inside OSX Package In-Reply-To: <48791458.5010101@hindu.org> References: <48791458.5010101@hindu.org> Message-ID: <08DD5847-14CB-4E2F-97AD-8212D5135F51@califex.com> On Jul 12, 2008, at 3:30 PM, Sivakatirswami wrote: > I know that many know this already, but because newbies may not... > > I just did my first standalone where I added a data stack (where > data is saved) right inside the standalone package on OSX. Here's a technique that I use that takes it to the next level: When you build your standalone on MacOS X, the 'executable' is inside 'MacOS' inside 'Contents'. As you put it: > MyStandAlone.app > /Contents > /MacOS > MyStandAlone # this is the *real* standalone inside the package Instead of putting 'MyDataStack.rev' next to 'MyStandalone' in 'MacOS', create a new folder in 'Contents' called whatever you want, or use 'Resources' like other apps do and put MyDataStack.rev in it. Like so: MyStandAlone.app /Contents /MacOS MyStandAlone # this is the *real* standalone inside the package /Resources MyDataStack.rev Go one step farther and make subdirectories in 'Resources' to hold stuff your application needs: MyStandAlone.app /Contents /MacOS MyStandAlone # this is the *real* standalone inside the package /Resources MyDataStack.rev /Images /Texts /Sounds Now here's the good part. Create another folder in 'Contents' and call it 'Win32' and put your Windows standalone in it: MyStandAlone.app /Contents /MacOS MyStandAlone # this is the *real* standalone inside the package /Resources MyDataStack.rev /Images /Texts /Sounds /Win32 MyStandalone.exe # another *real* standalone inside the package If you still make standalones for Classic, you can do that too: MyStandAlone.app /Contents /MacOS MyStandAlone # this is the *real* standalone inside the package /Resources MyDataStack.rev /Images /Texts /Sounds /Win32 MyStandalone.exe # another *real* standalone inside the package /Classic MyStandAlone # yet another *real* standalone inside the package What does this do for you? - Lets you distribute a single package for all platforms that has only *one* copy of MyDataStack and all those images, texts, and sounds. - Lets you drag that package to your multi-platform network. Everything goes with it. - Lets you standardize your paths relative to MyDataStack. Set the default directory to 'Resources' and you're done. Never worry about whether you have to dodge around 'Contents' again on one platform and not on the other(s). - Lets you put stuff that's specific to the OS (like externals) next to the executables in the proper folders for the executables; and put stuff, like MyDataStack, that pertain strictly to your application in a single, separate place. Conceptual purity at last! - While you're developing, you can keep MyDataStack.rev next to / Images, /Texts, and /Sounds in your development folder and use the same path logic in both Development and Standalone. But, you say, what about Windows? You can't double-click an app in Windows! Create, or have your installer create, a shortcut outside the .app folder to the executable. Put that shortcut in the start menu with all the other shortcuts to applications. Or on the desktop. Or wherever. It works! t -- Tereza Snyder Califex Software, Inc. From kkaufman at snet.net Sat Jul 12 22:13:49 2008 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 12 Jul 2008 22:13:49 -0400 Subject: Special codec for RunRev training videos? Message-ID: <9BC6AA27-A8AD-4814-A63E-19F8D69672EF@snet.net> I'm trying to view a tutorial video from within the Revolution 2.9 video viewer (the "Getting Started" Tab). The soundtrack plays but there is no video. Is there a special codec that I have to (re-)install? How would I do so? (Mac OS 10.5.4) Thanks, Kurt From jacque at hyperactivesw.com Sun Jul 13 01:10:33 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Jul 2008 00:10:33 -0500 Subject: Special codec for RunRev training videos? In-Reply-To: <9BC6AA27-A8AD-4814-A63E-19F8D69672EF@snet.net> References: <9BC6AA27-A8AD-4814-A63E-19F8D69672EF@snet.net> Message-ID: <48798E49.6080407@hyperactivesw.com> Kurt Kaufman wrote: > I'm trying to view a tutorial video from within the Revolution 2.9 video > viewer (the "Getting Started" Tab). The soundtrack plays but there is > no video. Is there a special codec that I have to (re-)install? How > would I do so? (Mac OS 10.5.4) Yes, you need the Ensharpen codec. Rev offers to install it when you install Rev. You can either re-install Rev and agree to have the codec installed (it asks at the very end of the installation) or pick up an independent copy here: <> -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Sun Jul 13 02:35:51 2008 From: psahores at free.fr (Pierre Sahores) Date: Sun, 13 Jul 2008 08:35:51 +0200 Subject: Stacks inside OSX Package In-Reply-To: <08DD5847-14CB-4E2F-97AD-8212D5135F51@califex.com> References: <48791458.5010101@hindu.org> <08DD5847-14CB-4E2F-97AD-8212D5135F51@califex.com> Message-ID: <8052540B-E370-4972-B690-BBD020D8CE74@free.fr> So clearly elegant ! Thanks so much, Tereza :-) -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 13 juil. 08 ? 00:18, Tereza Snyder a ?crit : > > On Jul 12, 2008, at 3:30 PM, Sivakatirswami wrote: > >> I know that many know this already, but because newbies may not... >> >> I just did my first standalone where I added a data stack (where >> data is saved) right inside the standalone package on OSX. > > Here's a technique that I use that takes it to the next level: > > When you build your standalone on MacOS X, the 'executable' is > inside 'MacOS' inside 'Contents'. As you put it: > >> MyStandAlone.app >> /Contents >> /MacOS >> MyStandAlone # this is the *real* standalone inside the package > > Instead of putting 'MyDataStack.rev' next to 'MyStandalone' in > 'MacOS', create a new folder in 'Contents' called whatever you want, > or use 'Resources' like other apps do and put MyDataStack.rev in it. > Like so: > > > MyStandAlone.app > /Contents > /MacOS > MyStandAlone # this is the *real* standalone inside the package > /Resources > MyDataStack.rev > > > Go one step farther and make subdirectories in 'Resources' to hold > stuff your application needs: > > MyStandAlone.app > /Contents > /MacOS > MyStandAlone # this is the *real* standalone inside the package > /Resources > MyDataStack.rev > /Images > /Texts > /Sounds > > > > Now here's the good part. Create another folder in 'Contents' and > call it 'Win32' and put your Windows standalone in it: > > MyStandAlone.app > /Contents > /MacOS > MyStandAlone # this is the *real* standalone inside the package > /Resources > MyDataStack.rev > /Images > /Texts > /Sounds > /Win32 > MyStandalone.exe # another *real* standalone inside the package > > > If you still make standalones for Classic, you can do that too: > > MyStandAlone.app > /Contents > /MacOS > MyStandAlone # this is the *real* standalone inside the package > /Resources > MyDataStack.rev > /Images > /Texts > /Sounds > /Win32 > MyStandalone.exe # another *real* standalone inside the package > /Classic > MyStandAlone # yet another *real* standalone inside the package > > > What does this do for you? > - Lets you distribute a single package for all platforms that has > only *one* copy of MyDataStack and all those images, texts, and > sounds. > - Lets you drag that package to your multi-platform network. > Everything goes with it. > - Lets you standardize your paths relative to MyDataStack. Set the > default directory to 'Resources' and you're done. Never worry about > whether you have to dodge around 'Contents' again on one platform > and not on the other(s). > - Lets you put stuff that's specific to the OS (like externals) next > to the executables in the proper folders for the executables; and > put stuff, like MyDataStack, that pertain strictly to your > application in a single, separate place. Conceptual purity at last! > - While you're developing, you can keep MyDataStack.rev next to / > Images, /Texts, and /Sounds in your development folder and use the > same path logic in both Development and Standalone. > > But, you say, what about Windows? You can't double-click an app in > Windows! Create, or have your installer create, a shortcut outside > the .app folder to the executable. Put that shortcut in the start > menu with all the other shortcuts to applications. Or on the > desktop. Or wherever. > > It works! > > t > > > > > > > > > -- > Tereza Snyder > Califex Software, Inc. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Jul 13 08:41:34 2008 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 13 Jul 2008 08:41:34 -0400 Subject: Special codec for RunRev training videos? Message-ID: <99BFA218-22CE-4CC3-BD0A-66728B15A800@snet.net> Thanks, Jacqueline. That did the trick! Kurt JLG wrote: > Yes, you need the Ensharpen codec. Rev offers to install it when you > install Rev. You can either re-install Rev and agree to have the codec > installed (it asks at the very end of the installation) or pick up an > independent copy here: < codecs.asp>> From jrvalent at wisc.edu Sun Jul 13 13:46:50 2008 From: jrvalent at wisc.edu (Randolph Valentine) Date: Sun, 13 Jul 2008 13:46:50 -0400 Subject: copying unicode text into other applications Message-ID: Hello, all. I have Unicode text in a field, the text consisting of syllabic characters from the Canadian Aboriginal Syllabics portion of Unicode. It displays fine, and I?m very happily able to produce it via a script, but I can?t figure out how to copy it to the clipboard so that it comes out right pasted into, say, MicroSoft Word. The Revolution dictionary says: To copy or export Unicode text from a field while preserving font, style, size, and color information, use the htmlText property. Now, really, this note is not terribly helpful, because it doesn't tell you HOW to do this! So when I try something like: set the clipboarddata["htmltext"] to the htmlText of field "my_field" I get garbage pasted into Word. And when I try set the clipboarddata["htmltext"] to the unicodeText of field "my_field" Still garbage. What is the command (sequence) to get the Unicode text to properly copy? Thanks. rand valentine From m.schonewille at economy-x-talk.com Sun Jul 13 14:04:47 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 13 Jul 2008 20:04:47 +0200 Subject: copying unicode text into other applications In-Reply-To: References: Message-ID: <5F42B9EC-F6BB-40DC-821E-6430F890F41A@economy-x-talk.com> Hi Rand, This should be one of the following: set the clipboarddata["html"] to the htmlText of field "my_field" set the clipboarddata["rtf"] to the rtfText of field "my_field" set the clipboarddata["unicode"] to the unicodeText of field "my_field" Due to bugs in Revolution, each method has advantages and disadvantages. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 13 jul 2008, at 19:46, Randolph Valentine wrote: > Hello, all. I have Unicode text in a field, the text consisting of > syllabic > characters from the Canadian Aboriginal Syllabics portion of > Unicode. It > displays fine, and I?m very happily able to produce it via a script, > but I > can?t figure out how to copy it to the clipboard so that it comes > out right > pasted into, say, MicroSoft Word. > > The Revolution dictionary says: > > To copy or export Unicode text from a field while preserving font, > style, > size, and color information, use the htmlText property. > > Now, really, this note is not terribly helpful, because it doesn't > tell you > HOW to do this! > > So when I try something like: > > set the clipboarddata["htmltext"] to the htmlText of field "my_field" > > I get garbage pasted into Word. > > And when I try > > set the clipboarddata["htmltext"] to the unicodeText of field > "my_field" > > Still garbage. What is the command (sequence) to get the Unicode > text to > properly copy? Thanks. > > rand valentine > From janschenkel at yahoo.com Sun Jul 13 14:05:39 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Jul 2008 11:05:39 -0700 (PDT) Subject: copying unicode text into other applications In-Reply-To: Message-ID: <346949.57223.qm@web65405.mail.ac4.yahoo.com> --- Randolph Valentine wrote: > Hello, all. I have Unicode text in a field, the > text consisting of syllabic > characters from the Canadian Aboriginal Syllabics > portion of Unicode. It > displays fine, and I?m very happily able to produce > it via a script, but I > can?t figure out how to copy it to the clipboard so > that it comes out right > pasted into, say, MicroSoft Word. > > The Revolution dictionary says: > > To copy or export Unicode text from a field while > preserving font, style, > size, and color information, use the htmlText > property. > > Now, really, this note is not terribly helpful, > because it doesn't tell you > HOW to do this! > > So when I try something like: > > set the clipboarddata["htmltext"] to the htmlText of > field "my_field" > > I get garbage pasted into Word. > > And when I try > > set the clipboarddata["htmltext"] to the unicodeText > of field "my_field" > > Still garbage. What is the command (sequence) to > get the Unicode text to > properly copy? Thanks. > > rand valentine > Almost there - from the documentation for 'clipboardData': ## set the clipboardData["html"] to the htmlText of field "my_field" ## And in extreme cases where this doesn't work, you can still try the following trick: ## select char 1 to -1 of field "my_field" copy ## Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From katir at hindu.org Sun Jul 13 15:29:49 2008 From: katir at hindu.org (Sivakatirswami) Date: Sun, 13 Jul 2008 09:29:49 -1000 Subject: Stacks inside OSX Package In-Reply-To: <8052540B-E370-4972-B690-BBD020D8CE74@free.fr> References: <48791458.5010101@hindu.org> <08DD5847-14CB-4E2F-97AD-8212D5135F51@califex.com> <8052540B-E370-4972-B690-BBD020D8CE74@free.fr> Message-ID: <487A57AD.4030108@hindu.org> Tereza: Marvelous! but, one doubt: You wrote; - "Lets you standardize your paths relative to MyDataStack. Set the default directory to 'Resources' and you're done. Never worry about whether you have to dodge around 'Contents' again on one platform and not on the other(s)." But, if the Win32.exe is inside a folder but the Mac.exe standalone is not, won't the path reference to Resources differ? You would have to do: Mac standalone invokes: set the defaultfolder to "Resources" topLevel "MyDataStack.rev" Win32 would need to do: set the defaultfolder to "../Resources" topLevel "MyDataStack.rev" N'est ce pas? skts Pierre Sahores wrote: > So clearly elegant ! Thanks so much, Tereza :-) > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > Le 13 juil. 08 ? 00:18, Tereza Snyder a ?crit : > >> >> On Jul 12, 2008, at 3:30 PM, Sivakatirswami wrote: >> >>> I know that many know this already, but because newbies may not... >>> >>> I just did my first standalone where I added a data stack (where >>> data is saved) right inside the standalone package on OSX. >> >> Here's a technique that I use that takes it to the next level: >> >> When you build your standalone on MacOS X, the 'executable' is inside >> 'MacOS' inside 'Contents'. As you put it: >> >>> MyStandAlone.app >>> /Contents >>> /MacOS >>> MyStandAlone # this is the *real* standalone inside the package >> >> Instead of putting 'MyDataStack.rev' next to 'MyStandalone' in >> 'MacOS', create a new folder in 'Contents' called whatever you want, >> or use 'Resources' like other apps do and put MyDataStack.rev in it. >> Like so: >> >> >> MyStandAlone.app >> /Contents >> /MacOS >> MyStandAlone # this is the *real* standalone inside the package >> /Resources >> MyDataStack.rev >> >> >> Go one step farther and make subdirectories in 'Resources' to hold >> stuff your application needs: >> >> MyStandAlone.app >> /Contents >> /MacOS >> MyStandAlone # this is the *real* standalone inside the package >> /Resources >> MyDataStack.rev >> /Images >> /Texts >> /Sounds >> >> >> >> Now here's the good part. Create another folder in 'Contents' and >> call it 'Win32' and put your Windows standalone in it: >> >> MyStandAlone.app >> /Contents >> /MacOS >> MyStandAlone # this is the *real* standalone inside the package >> /Resources >> MyDataStack.rev >> /Images >> /Texts >> /Sounds >> /Win32 >> MyStandalone.exe # another *real* standalone inside the package >> >> >> If you still make standalones for Classic, you can do that too: >> >> MyStandAlone.app >> /Contents >> /MacOS >> MyStandAlone # this is the *real* standalone inside the package >> /Resources >> MyDataStack.rev >> /Images >> /Texts >> /Sounds >> /Win32 >> MyStandalone.exe # another *real* standalone inside the package >> /Classic >> MyStandAlone # yet another *real* standalone inside the package >> >> >> What does this do for you? >> - Lets you distribute a single package for all platforms that has >> only *one* copy of MyDataStack and all those images, texts, and sounds. >> - Lets you drag that package to your multi-platform network. >> Everything goes with it. >> - Lets you standardize your paths relative to MyDataStack. Set the >> default directory to 'Resources' and you're done. Never worry about >> whether you have to dodge around 'Contents' again on one platform and >> not on the other(s). >> - Lets you put stuff that's specific to the OS (like externals) next >> to the executables in the proper folders for the executables; and put >> stuff, like MyDataStack, that pertain strictly to your application in >> a single, separate place. Conceptual purity at last! >> - While you're developing, you can keep MyDataStack.rev next to >> /Images, /Texts, and /Sounds in your development folder and use the >> same path logic in both Development and Standalone. >> >> But, you say, what about Windows? You can't double-click an app in >> Windows! Create, or have your installer create, a shortcut outside >> the .app folder to the executable. Put that shortcut in the start >> menu with all the other shortcuts to applications. Or on the desktop. >> Or wherever. >> >> It works! >> >> t >> >> >> >> >> >> >> >> >> -- >> Tereza Snyder >> Califex Software, Inc. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at elementarysoftware.com Sun Jul 13 18:13:52 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 13 Jul 2008 15:13:52 -0700 Subject: launching an OSX bundle Message-ID: <5DBAA2B9-7BE8-4EBC-BB27-F299592D5E9F@elementarysoftware.com> I'm wondering if issuing the "launch" command to: /Applications/OSX bundle.app produces different results than issuing the command to OSX bundle.app/Contents/MacOS/theBinFile Both seem to launch the app. Just curious if there is a difference that I might not be noticing? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com From tereza at califex.com Sun Jul 13 18:25:58 2008 From: tereza at califex.com (Tereza Snyder) Date: Sun, 13 Jul 2008 17:25:58 -0500 Subject: Stacks inside OSX Package In-Reply-To: <487A57AD.4030108@hindu.org> References: <48791458.5010101@hindu.org> <08DD5847-14CB-4E2F-97AD-8212D5135F51@califex.com> <8052540B-E370-4972-B690-BBD020D8CE74@free.fr> <487A57AD.4030108@hindu.org> Message-ID: <78A669E1-054C-42D8-BD7B-AD74B385ACFC@califex.com> On Jul 13, 2008, at 2:29 PM, Sivakatirswami wrote: > Tereza: Marvelous! but, one doubt: > > You wrote; - "Lets you standardize your paths relative to > MyDataStack. Set the default directory to 'Resources' and you're > done. Never worry about whether you have to dodge around 'Contents' > again on one platform and not on the other(s)." > > But, if the Win32.exe is inside a folder but the Mac.exe standalone > is not, won't the path reference to Resources differ? > > You would have to do: > > Mac standalone invokes: > > set the defaultfolder to "Resources" > topLevel "MyDataStack.rev" > > Win32 would need to do: > > set the defaultfolder to "../Resources" > topLevel "MyDataStack.rev" > > N'est ce pas? >>> \ The mac standalone executable is in MyApp.app/Contents/MacOS The win standalone executable is in MyApp.app/Contents/Win32 The resources (and other stacks) are in MyApp.app/Contents/Resources... ...so the resources are in the same relation to Win as to Mac. t -- Tereza Snyder Califex Software, Inc. From katir at hindu.org Sun Jul 13 21:14:16 2008 From: katir at hindu.org (Sivakatirswami) Date: Sun, 13 Jul 2008 15:14:16 -1000 Subject: launching an OSX bundle In-Reply-To: <5DBAA2B9-7BE8-4EBC-BB27-F299592D5E9F@elementarysoftware.com> References: <5DBAA2B9-7BE8-4EBC-BB27-F299592D5E9F@elementarysoftware.com> Message-ID: <487AA868.3040409@hindu.org> Scott: Say What? :-) When are you going to release the Mac InTel version? I have some people whose 1st language is not English that might enjoy this. Sivakatirswami Scott Morrow wrote: > I'm wondering if issuing the "launch" command to: > > /Applications/OSX bundle.app > > produces different results than issuing the command to > > OSX bundle.app/Contents/MacOS/theBinFile > > Both seem to launch the app. Just curious if there is a difference > that I might not be noticing? > > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Sun Jul 13 23:06:35 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Jul 2008 11:06:35 +0800 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: On Sun, Jul 13, 2008 at 4:50 AM, Stephen Barncard < stephenREVOLUTION2 at barncard.com> wrote: > Just a reminder from the house of cubes... > > Saving data inside a package works great, as long as one's backup scheme > doesn't include reading the DATE from the application package. Changing data > inside a folder in MacOSX does not change the date of the folder, and > neither does it change in an .app package Whilst this is certainly true, I just did a quick test with Time Machine by adding a small text file inside an App package, and whilst the App Created and Modified dates did not change, Time Machine did recognise that the package contents had changed and backed up the extra file. What I don't know is whether Time Machine backed up the entire App, or just the contents that changed. ***I ASSUME*** Apple is smart enough to treat an App just like any other folder and back up only the *FILES* that have changed, not entire folders. ***END ASSUMPTION*** I raise this because of what I've read on the net about what is termed 'Time Machine incompatible apps'. The classic example given is Eudora which I understand saves all it's e-mails in one DB file. If you have 200MB of e-mails and you get one 4KB e-mail every hour, Time Machine backups the entire 200MB DB every hour, thereby rapidly eating into your backup HD space. Apple's Mail on the other hand has separate files for each 'Mail Folder' you set up, so assuming you go to the trouble of setting up multiple 'Mail Folders', a 4KB e-mail may only require a 5MB file to be backed up. I know you can save all sorts of things in Custom Properties; images, sounds, even other stacks, but I see that this could, if the end product is large enough, create a Time Machine unfriendly stack. Tereza's solution, although not as KISS as Sivakatirswami original post, seems to offer both cross platform benefits and should keep (Time Machine) backup usage to a minimum. Anyone else have thoughts on making Rev Time Machine friendly? From lan.kc.macmail at gmail.com Sun Jul 13 23:27:38 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Jul 2008 11:27:38 +0800 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: On Mon, Jul 14, 2008 at 11:06 AM, Kay C Lan wrote: > > ***I ASSUME*** Apple is smart enough > > Forgot to mention, that Apple is not smart enough to look inside an App package when in Time Machine. This makes back tracking to an earlier version of your App based on some internal /Contents/Resource/ change virtually useless. You can't tell from the outside because the Create and Modification Dates are always the same, so you need to first restore, then look inside:-( Fortunately, again with Tereza's solution: > - While you're developing, you can keep MyDataStack.rev next to /Images, > /Texts, and /Sounds in your development folder and use the same path logic > in both Development and Standalone. > They are all just separate files and folders so you can use Time Machine to go back in time :-) From sarah.reichelt at gmail.com Sun Jul 13 23:52:43 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 14 Jul 2008 13:52:43 +1000 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: >> Forgot to mention, that Apple is not smart enough to look inside an App > package when in Time Machine. This makes back tracking to an earlier version > of your App based on some internal /Contents/Resource/ change virtually > useless. You can't tell from the outside because the Create and Modification > Dates are always the same, so you need to first restore, then look inside:-( I just tested this by putting a random file inside an application bundle and then telling Time Machine to back up. I opened the bundle in Finder first, selected a file inside the bundle, then went into Time Machine. With the bundle already open, I WAS able to check the dates on individual files inside the bundle and I could see that only my newly added file had been added to the backup - the other files in the bundle that had not changed, were not changed in the recent backups. So Apple is smart enough, but only if you demonstrate first that you are smart enough to be allowed to look around inside an app bundle :-) Cheers, Sarah From lan.kc.macmail at gmail.com Mon Jul 14 01:38:55 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Jul 2008 13:38:55 +0800 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: On Mon, Jul 14, 2008 at 11:52 AM, Sarah Reichelt wrote: > > So Apple is smart enough, but only if you demonstrate first that you > are smart enough to be allowed to look around inside an app bundle :-) > > Ahhh. Very Clever! Yes, I only wandered around in Time Machine trying to Cntrl Click on Apps to look inside but no success. This is a very neat tip to remember. Thanks, I'm enjoying TM more and more :-) From stephenREVOLUTION2 at barncard.com Mon Jul 14 02:28:14 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sun, 13 Jul 2008 23:28:14 -0700 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: >Whilst this is certainly true, I just did a quick test with Time Machine by >adding a small text file inside an App package, and whilst the App Created >and Modified dates did not change, Time Machine did recognise that the >package contents had changed and backed up the extra file. What I don't know >is whether Time Machine backed up the entire App, or just the contents that >changed. In my case I use FoldersSynchroniser for bootable image backup; Time Machine is only sometimes useful to me. I made the assumption that FS would know about changes in packages and was wrong. > >***I ASSUME*** Apple is smart enough to treat an App just like any other >folder and back up only the *FILES* that have changed, not entire folders. >***END ASSUMPTION*** > >I raise this because of what I've read on the net about what is termed 'Time >Machine incompatible apps'. The classic example given is Eudora which I >understand saves all it's e-mails in one DB file. This is just not true. Eudora has always had separate files for each mailbox in classic mbox format. Much loved by Eudora users because each mailbox is in plain text and easily parsed for archiving. Recent problems with Eudora in Leopard were solved by going back to the old separate style TOC files for each mailbox, as opposed to using resource forks. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From niconiko at gmail.com Mon Jul 14 02:43:25 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 14 Jul 2008 15:43:25 +0900 Subject: creation date of a stack? Message-ID: <1e91b2b70807132343j2b349062mfaab29a6d2c74212@mail.gmail.com> Hello, Is there a way of getting the creation date of a stack and a standalone? Actually, while on this topic, how about the version-number info that's set by the standalone settings? And, what if the stack or the standalone is on a webserver? Is there a way of getting any of the above? Without downloading the stack/standalone? Thanks. -- Nicolas Cueto From sarah.reichelt at gmail.com Mon Jul 14 02:53:50 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 14 Jul 2008 16:53:50 +1000 Subject: creation date of a stack? In-Reply-To: <1e91b2b70807132343j2b349062mfaab29a6d2c74212@mail.gmail.com> References: <1e91b2b70807132343j2b349062mfaab29a6d2c74212@mail.gmail.com> Message-ID: On Mon, Jul 14, 2008 at 4:43 PM, Nicolas Cueto wrote: > Hello, > > Is there a way of getting the creation date > of a stack and a standalone? Have a look at the docs for "the long files" > Actually, while on this topic, how > about the version-number info that's > set by the standalone settings? On a Mac, you can get this using AppleScript. I've no idea for any other platform. > And, what if the stack or the standalone > is on a webserver? Is there a way of > getting any of the above? Without > downloading the stack/standalone? Not from the file itself. I either keep a text file on the server listing the current file numbers, or i include the version number in the file name when uploading e.g stack.120.rev.gz would be version 1.2.0 of "stack.rev" which has been compressed. Cheers, Sarah From lan.kc.macmail at gmail.com Mon Jul 14 04:45:19 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Jul 2008 16:45:19 +0800 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: On Mon, Jul 14, 2008 at 2:28 PM, Stephen Barncard < stephenREVOLUTION2 at barncard.com> wrote: > This is just not true. Eudora has always had separate files for each > mailbox in classic mbox format. Much loved by Eudora users because each > mailbox is in plain text and easily parsed for archiving. > > OK, my error. I've not used Eudora so I guess I incorrectly remembered which apps were lumped in the 'TM unfriendly' category. Now, of course I can't find the on line article:-( From lan.kc.macmail at gmail.com Mon Jul 14 05:07:55 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Jul 2008 17:07:55 +0800 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: On Mon, Jul 14, 2008 at 2:28 PM, Stephen Barncard < stephenREVOLUTION2 at barncard.com> wrote: This is just not true. Eudora has always had separate files for each > mailbox in classic mbox format. OK, I see the error of my ways. It was that other e-mail client that started with e, entourage. I still can't find the specific article but this gives an indication of what people are doing to cope with a Time Machine unfriendly app: http://blog.entourage.mvps.org/2008/01/entourage_and_time_machine.html I didn't mean to start an e-mail client comparison, I mentioned it more as 'food for thought' for how to develop Rev apps so as to make the smallest Time Machine footprint as possible. From sarah.reichelt at gmail.com Mon Jul 14 04:58:37 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 14 Jul 2008 18:58:37 +1000 Subject: Stacks inside OSX Package In-Reply-To: References: <48791458.5010101@hindu.org> Message-ID: >> This is just not true. Eudora has always had separate files for each >> mailbox in classic mbox format. Much loved by Eudora users because each >> mailbox is in plain text and easily parsed for archiving. >> >> OK, my error. I've not used Eudora so I guess I incorrectly remembered > which apps were lumped in the 'TM unfriendly' category. Now, of course I > can't find the on line article:-( Even if it is one file per mbox, depending on how you organize your mail folders, that can still mean a large file needs to be backed up for a single email. Apple Mail actually has one file per email, so it is very TM friendly. Cheers, Sarah From henk at iglow-media.nl Mon Jul 14 11:00:01 2008 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 14 Jul 2008 17:00:01 +0200 Subject: Passing variables between Flash and Rev Message-ID: >> But if you also want to accept data from the Flash element, >> doesn't the Flash script need to reset the connection prior to >> sending data otherwise Rev doesn't know when to read from the >> socket. In the example above, Rev closes the socket each time >> after sending the data, forcing the Flash component to reconnect. >> Is there a cleaner approach to this? > > > I believe that when I've done this in the past, I've just polled > the socket for data. Hello Dave, Troy, and others, if I may ask another question about this one: Just polling the socket for data, does that mean doing a 'read from socket' say every second? Dave's solution is to close the socket every time. But that means you can't keep the connection to the Flash movie open, isn't it? I hoped I could open a Flash movie, set the initial variable values of it by sending them from Rev, and read these variables from the Flash movie before leaving the Rev card. Something like this: 1. open Flash movie, Flash movie connects to socket, Rev writes values to socket, Flash movie reads them and uses them to 'initialise' movie 2. user changes all sorts of values by clicking, dragging etc in Flash movie 3. when user clicks a Save button (in Rev), Rev writes "returnVariables" or something to socket, Flash reads it and then writes the variable values back to the socket. Rev reads them and saves them to a file. Kind regards, Henk -------------------------- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl From tedl at voyager.net Mon Jul 14 12:32:55 2008 From: tedl at voyager.net (Ted) Date: Mon, 14 Jul 2008 12:32:55 -0400 Subject: Revolution Project and eSellerate Product Activation Message-ID: <001801c8e5cf$6c75a760$edfc5f45@egl> I'm planning to use an eSellerate web store to distribute a Revolution project. Does anyone know how a Revolution stack can integrate with eSellerate's anti-piracy product activation? Thanks, Ted From eric.chatonet at sosmartsoftware.com Mon Jul 14 16:08:04 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 14 Jul 2008 22:08:04 +0200 Subject: [ANN][EN][FR] Changed Code Picker 1.0 Utility by So Smart Software Message-ID: <8409D149-291E-496D-984C-41BDBA691C47@sosmartsoftware.com> Paris, Bastille day 2008 ---------------------- English version ------------------------- I'm happy to announce that "Changed Code Picker 1.0" is available: At the beginning, I developed this utility for my projects purposes and it saved my life so often that I decided to make it available for all :-) This utility for Revolution 2.8 or later analyses two states of a project (stack and substacks) and highlights all modifications made in the code (handlers and headers) between both. It is compatible with Rev 2.8, 2.9, 3.0 and GLX2 script editors. Changed Code Picker makes it easy to update complex projects without forgetting anything, to track a bug the origin of which stays mysterious, etc. Many preferences settings and help included. You will find it by going to http://www.sosmartsoftware.com - Revolution/Plugins section. Best regards, Eric Chatonet. --------------------- Version fran?aise ------------------------ J'ai de plaisir d'annoncer la disponibilit? de "Changed Code Picker 1.0" : Au d?part, j'avais d?velopp? cet utilitaire pour mes propres projets mais il m'a sauv? la vie tant de fois que j'ai d?cid? de le rendre public :-) Cet utilitaire pour Revolution 2.8 ou ult?rieur analyse deux ?tats d'un projet (stack et substacks) et affiche en regard les ?ventuelles modifications du code (handlers et d?clarations) entre les deux. Il est compatible avec les ?diteurs de script de Rev 2.8, 2.9, 3.0 et GLX2. Changed Code Picker permet de mettre ? jour facilement des projets complexes entre eux sans rien oublier, de traquer un bogue introduit dont l'origine reste myst?rieuse, etc. Nombreuses pr?f?rences et aide (en anglais) incluse. Rendez-vous sur http://www.sosmartsoftware.com - Section Revolution/ Plugins. Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From jacque at hyperactivesw.com Mon Jul 14 22:06:43 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Jul 2008 21:06:43 -0500 Subject: Persistent edit mode Message-ID: <487C0633.6050007@hyperactivesw.com> Does anyone know of a reason (a plugin or a setting, for example) that would cause the user to be unable to switch back to browse mode? I have a client who says that's the case, but I can't reproduce it. There's nothing in the stack scripts that would change it, so it has to be something external to my stack. He says he clicks on the browse tool in the tool palette, but as soon as the cursor clears the tools, it goes back into edit mode. He may be running an older version of Rev, I'll have to find out. Just thought I'd check here to see if anyone has seen this before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikeythek at gmail.com Mon Jul 14 22:21:00 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 14 Jul 2008 22:21:00 -0400 Subject: Persistent edit mode In-Reply-To: <487C0633.6050007@hyperactivesw.com> References: <487C0633.6050007@hyperactivesw.com> Message-ID: <9b408d8e0807141921h44031f06j1d2f39a4181a1a8e@mail.gmail.com> Ask your client to drag down, not just right, to clear. Also ask client to try clicking on a button. I've seen cases on XP where the OS doesn't get the equivalent of a mouseUp message, or gets the left and right mouse buttons confused. So after trying the above, try right-clicking and see what happens. On my lappie, for instance, if I sleep it instead of hibernating, it will sometimes confuse the keyboard return key with the keypad enter key. It will also mix the mouse buttons. Hibernating seems to fix this for me. I'm guessing it's a funky driver/OS issue, and it could take quite a while to figure it out (in my case it took a couple of years before I finally stumbled on the hibernate/sleep problem) From jacque at hyperactivesw.com Mon Jul 14 22:30:52 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Jul 2008 21:30:52 -0500 Subject: Persistent edit mode In-Reply-To: <9b408d8e0807141921h44031f06j1d2f39a4181a1a8e@mail.gmail.com> References: <487C0633.6050007@hyperactivesw.com> <9b408d8e0807141921h44031f06j1d2f39a4181a1a8e@mail.gmail.com> Message-ID: <487C0BDC.9030902@hyperactivesw.com> Mikey wrote: > Ask your client to drag down, not just right, to clear. Also ask client to > try clicking on a button. I've seen cases on XP where the OS doesn't get > the equivalent of a mouseUp message, or gets the left and right mouse > buttons confused. > > So after trying the above, try right-clicking and see what happens. > > On my lappie, for instance, if I sleep it instead of hibernating, it will > sometimes confuse the keyboard return key with the keypad enter key. It > will also mix the mouse buttons. Hibernating seems to fix this for me. > > I'm guessing it's a funky driver/OS issue, and it could take quite a while > to figure it out (in my case it took a couple of years before I finally > stumbled on the hibernate/sleep problem) Thanks much, I'll ask him. I also just found a bug report in the database about getting stuck in edit mode, but no one can reproduce it reliably, not even the person who wrote it. So apparently there's some glitch somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at comcast.net Mon Jul 14 23:03:24 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Mon, 14 Jul 2008 23:03:24 -0400 Subject: Persistent edit mode In-Reply-To: <487C0633.6050007@hyperactivesw.com> References: <487C0633.6050007@hyperactivesw.com> Message-ID: <18422E57-F468-4683-9F70-EF077432C739@comcast.net> Jac, This happened once because an error dialog was open but behind the stack I was using. That may be it.... Tom McGrath On Jul 14, 2008, at 10:06 PM, J. Landman Gay wrote: > Does anyone know of a reason (a plugin or a setting, for example) > that would cause the user to be unable to switch back to browse > mode? I have a client who says that's the case, but I can't > reproduce it. There's nothing in the stack scripts that would change > it, so it has to be something external to my stack. He says he > clicks on the browse tool in the tool palette, but as soon as the > cursor clears the tools, it goes back into edit mode. > > He may be running an older version of Rev, I'll have to find out. > Just thought I'd check here to see if anyone has seen this before. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Jul 15 02:52:57 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Jul 2008 08:52:57 +0200 Subject: Persistent edit mode In-Reply-To: <487C0633.6050007@hyperactivesw.com> References: <487C0633.6050007@hyperactivesw.com> Message-ID: H Jacque, Another reason why this might happen, is the lockCursor being set to true by one of the messages that are still sent in edit mode. I think I also had a case where the error dialog prevented me from going to browse mode while the dialog was hidden behind another window, as Tom suggests. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 15 jul 2008, at 04:06, J. Landman Gay wrote: > Does anyone know of a reason (a plugin or a setting, for example) > that would cause the user to be unable to switch back to browse > mode? I have a client who says that's the case, but I can't > reproduce it. There's nothing in the stack scripts that would change > it, so it has to be something external to my stack. He says he > clicks on the browse tool in the tool palette, but as soon as the > cursor clears the tools, it goes back into edit mode. > > He may be running an older version of Rev, I'll have to find out. > Just thought I'd check here to see if anyone has seen this before. From lists at mangomultimedia.com Tue Jul 15 09:00:12 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Jul 2008 09:00:12 -0400 Subject: Revolution Project and eSellerate Product Activation In-Reply-To: <001801c8e5cf$6c75a760$edfc5f45@egl> References: <001801c8e5cf$6c75a760$edfc5f45@egl> Message-ID: <69950069-CECD-4DF4-B52E-8A13EF79DC8B@mangomultimedia.com> On Jul 14, 2008, at 12:32 PM, Ted wrote: > I'm planning to use an eSellerate web store to distribute a Revolution > project. > > Does anyone know how a Revolution stack can integrate with > eSellerate's > anti-piracy product activation? Hi Ted, I have an external wrapped around the eSellerate SDK. If you are interested you can contact me off-list. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From jacque at hyperactivesw.com Tue Jul 15 11:32:54 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Jul 2008 10:32:54 -0500 Subject: Persistent edit mode In-Reply-To: References: <487C0633.6050007@hyperactivesw.com> Message-ID: <487CC326.5000305@hyperactivesw.com> Mark Schonewille wrote: > H Jacque, > > Another reason why this might happen, is the lockCursor being set to > true by one of the messages that are still sent in edit mode. > > I think I also had a case where the error dialog prevented me from going > to browse mode while the dialog was hidden behind another window, as Tom > suggests. Thanks for all the suggestions. As it turns out, the client was running 2.8.1, and when he upgraded to 2.9 the problem went away. I never saw the issue with 2.8.1 myself so I'm not sure what happened, but apparently it's fixed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From barry_barber at yahoo.it Tue Jul 15 13:06:13 2008 From: barry_barber at yahoo.it (Barry Barber) Date: Tue, 15 Jul 2008 17:06:13 +0000 (GMT) Subject: script error Message-ID: <914000.9585.qm@web26102.mail.ukl.yahoo.com> Hello List group, I have a group of images containing a green and a blue button, each of which lays above an invisible image which when shown appears as a halo or glow around the button img as a hilite. The script in each is the same, apart from the colour names, as below and of course works fine. on mouseEnter set the vis of img "greenglo.png" to true end mouseEnter on mouseLeave set the vis of img "greenglo.png" to false end mouseLeave However, I need several of these groups on the same card to control different objects but when I duplicate it, despite it receiving a different ID, the script activates the visible of the images in the original group not those the mouse is over! I have tried defining the group specificly (with and without quotes) but then nothing happens in either the original or the copy and I get this error message. Type Chunk: can't find background Object greenbutton.png Line set the vis of img "greenglo.png" of this group to true Hint true What background is it looking for and why is true indicated as an error? Always grateful for any help Barry Barber Posta, news, sport, oroscopo: tutto in una sola pagina. Crea l'home page che piace a te! www.yahoo.it/latuapagina From jacque at hyperactivesw.com Tue Jul 15 13:33:58 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Jul 2008 12:33:58 -0500 Subject: script error In-Reply-To: <914000.9585.qm@web26102.mail.ukl.yahoo.com> References: <914000.9585.qm@web26102.mail.ukl.yahoo.com> Message-ID: <487CDF86.8060004@hyperactivesw.com> Barry Barber wrote: > However, I need several of these groups on the same card to control different objects but when I duplicate it, despite it receiving a different ID, the script activates the visible of the images in the original group not those the mouse is over! > I have tried defining the group specificly (with and without quotes) but then nothing happens in either the original or the > copy and I get this error message. > > Type Chunk: can't find background > Object greenbutton.png > Line set the vis of img "greenglo.png" of this group to true > Hint true > > What background is it looking for and why is true indicated as an error? "This" can only be used with cards or stacks. "This group" isn't a valid construct. However, if the script is in the group, then you can refer to it as "me": set the vis of img "greenglo.png" of me to true -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Tue Jul 15 17:13:18 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 16 Jul 2008 07:13:18 +1000 Subject: MySQL timeout In-Reply-To: <487CDF86.8060004@hyperactivesw.com> Message-ID: I have a 'startup' routine that checks to see whether my mySQL database is online. The problem if that when it isn't it hangs for 75 seconds. Is there a way to specify a (much) shorter timeout interval? Terry... From kray at sonsothunder.com Tue Jul 15 17:50:05 2008 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 15 Jul 2008 16:50:05 -0500 Subject: MySQL timeout In-Reply-To: Message-ID: On 7/15/08 4:13 PM, "Terry Judd" wrote: > I have a 'startup' routine that checks to see whether my mySQL database is > online. The problem if that when it isn't it hangs for 75 seconds. Is there > a way to specify a (much) shorter timeout interval? How are you checking? Are you using the mysqladmin "ping" command? Oh and what platform(s) are you doing this on? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From tsj at unimelb.edu.au Tue Jul 15 17:59:33 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 16 Jul 2008 07:59:33 +1000 Subject: MySQL timeout In-Reply-To: Message-ID: On 16/7/08 7:50 AM, "Ken Ray" wrote: > On 7/15/08 4:13 PM, "Terry Judd" wrote: > >> I have a 'startup' routine that checks to see whether my mySQL database is >> online. The problem if that when it isn't it hangs for 75 seconds. Is there >> a way to specify a (much) shorter timeout interval? > > How are you checking? Are you using the mysqladmin "ping" command? Oh and > what platform(s) are you doing this on? Hi Ken - Nothing as fancy as that. I'm just using revOpenDatabase to get a connection ID. If either I or the database are offline I get the spinning pizza (Mac OSX) for a full 75 seconds before it returns a 'Can't connect to Mysql' error. Terry... > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From tsj at unimelb.edu.au Tue Jul 15 19:45:11 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 16 Jul 2008 09:45:11 +1000 Subject: MySQL timeout In-Reply-To: Message-ID: On 16/7/08 7:59 AM, "Terry Judd" wrote: > On 16/7/08 7:50 AM, "Ken Ray" wrote: > >> On 7/15/08 4:13 PM, "Terry Judd" wrote: >> >>> I have a 'startup' routine that checks to see whether my mySQL database is >>> online. The problem if that when it isn't it hangs for 75 seconds. Is there >>> a way to specify a (much) shorter timeout interval? >> >> How are you checking? Are you using the mysqladmin "ping" command? Oh and >> what platform(s) are you doing this on? > > Hi Ken - Nothing as fancy as that. I'm just using revOpenDatabase to get a > connection ID. If either I or the database are offline I get the spinning > pizza (Mac OSX) for a full 75 seconds before it returns a 'Can't connect to > Mysql' error. Hmm, seems like sockettimeoutinterval doesn't work with revDB functions. There is a web server on the same box as the mySQL server so I guess I can set the sockettimoutinterval to something small and try to get a url from that. If it's offline then mySQL will probably be as well. Terry... > > Terry... >> >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From kray at sonsothunder.com Tue Jul 15 19:51:49 2008 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 15 Jul 2008 18:51:49 -0500 Subject: MySQL timeout In-Reply-To: Message-ID: > Hi Ken - Nothing as fancy as that. I'm just using revOpenDatabase to get a > connection ID. If either I or the database are offline I get the spinning > pizza (Mac OSX) for a full 75 seconds before it returns a 'Can't connect to > Mysql' error. There's an environment variable called "$MYSQL_CLIENT_TIMEOUT" that you can set... I'm reading the value from a preference and executing: put gPrefsData["MySQLTimeout"] into $MYSQL_CLIENT_TIMEOUT The timeout value is in seconds, btw... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From tsj at unimelb.edu.au Tue Jul 15 20:06:13 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 16 Jul 2008 10:06:13 +1000 Subject: MySQL timeout In-Reply-To: Message-ID: On 16/7/08 9:51 AM, "Ken Ray" wrote: > >> Hi Ken - Nothing as fancy as that. I'm just using revOpenDatabase to get a >> connection ID. If either I or the database are offline I get the spinning >> pizza (Mac OSX) for a full 75 seconds before it returns a 'Can't connect to >> Mysql' error. > > There's an environment variable called "$MYSQL_CLIENT_TIMEOUT" that you can > set... I'm reading the value from a preference and executing: > > put gPrefsData["MySQLTimeout"] into $MYSQL_CLIENT_TIMEOUT > > The timeout value is in seconds, btw... I set it to 3 seconds but the revOpenDatabase function still blocks for 75 seconds :( Terry... > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From revolution at derbrill.de Wed Jul 16 09:56:18 2008 From: revolution at derbrill.de (Malte Brill) Date: Wed, 16 Jul 2008 15:56:18 +0200 Subject: MySQL timeout In-Reply-To: <20080715170005.22362488E7A@mail.runrev.com> References: <20080715170005.22362488E7A@mail.runrev.com> Message-ID: <0227F8B3-FA3D-4ED7-987F-0F1A99C49B0B@derbrill.de> Hi Terry, I experienced the same. The problem was only the case, if the machine running the mySQL server is not found on the Network though. If the machine is there, but the server is down it times out immediately, so I went for pinging the server first using shell and if that was successful try to connect to the DB. Hope that is any help, Malte From eric.chatonet at sosmartsoftware.com Wed Jul 16 09:58:23 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 16 Jul 2008 15:58:23 +0200 Subject: [ANN][EN][FR] Email Adresses Picker 1.0 Utility by So Smart Software Message-ID: Paris, Wednesday, July 16, 2008 ---------------------- English version ------------------------- I'm happy to announce that "Email Adresses Picker 1.0" is available: From a text file exported from your emailer, this utility for Revolution 2.7 or later extracts all valid emails adresses. Choice of the list separator. Tags handling. Custom list of excluded strings. You will find this free utility by going to http:// www.sosmartsoftware.com - Revolution/Plugins section. Best regards, Eric Chatonet. --------------------- Version fran?aise ------------------------ J'ai de plaisir d'annoncer la disponibilit? de "Email Adresses Picker 1.0" : A partir d'un fichier texte seul g?n?r? dans votre client mail, cet utilitaire pour Revolution 2.7 ou ult?rieur extrait toutes les adresses mail valides trouv?es. Choix du d?parateur des listes cr??es. Insertion ou nom des tags. Liste param?trable des expressions exclues. Vous trouverez cet utilitaire gratuit sur http:// www.sosmartsoftware.com - Revolution/Section Plugins. Cordialement, Eric Chatonet. ------------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From tsj at unimelb.edu.au Wed Jul 16 16:10:47 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 17 Jul 2008 06:10:47 +1000 Subject: MySQL timeout In-Reply-To: <0227F8B3-FA3D-4ED7-987F-0F1A99C49B0B@derbrill.de> Message-ID: On 16/7/08 11:56 PM, "Malte Brill" wrote: > Hi Terry, > > I experienced the same. The problem was only the case, if the machine > running the mySQL server is not found on the Network though. If the > machine is there, but the server is down it times out immediately, so > I went for pinging the server first using shell and if that was > successful try to connect to the DB. > > Hope that is any help, Very helpful - thanks Malte. Terry... > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From barry_barber at yahoo.it Wed Jul 16 17:23:21 2008 From: barry_barber at yahoo.it (Barry Barber) Date: Wed, 16 Jul 2008 21:23:21 +0000 (GMT) Subject: Script error Message-ID: <210658.76524.qm@web26104.mail.ukl.yahoo.com> Thanks Jacqueline for your usual rapid and clear reply. A small step for Revkind - a great leap forward for this man! Barry Posta, news, sport, oroscopo: tutto in una sola pagina. Crea l'home page che piace a te! www.yahoo.it/latuapagina From josh at dvcreators.net Wed Jul 16 21:10:31 2008 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 16 Jul 2008 18:10:31 -0700 Subject: Revolution and ColorSync? Message-ID: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> I set the filename of a player in Revolution to a Quicktime movie. The top image here: http://revcoders.org/color-issue/ is how the movie appears in Revolution, the bottom image is how it appears in Quicktime Player. You can see the top image looked faded and ?washed out?. It seems that QT Player is applying some kind of ColorSync or other color management profile adjustment where Revolution is not? The codec of the movie is ProRes422, Apple?s new codec. No other codec I tested exhibits this behavior, they look the same in QT Player and in a player in Revolution. I just wondered if anyone had run into movies displaying differently in Revolution and how they dealt with it. Thanks for any illumination! From geradamas at yahoo.com Thu Jul 17 05:59:31 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 17 Jul 2008 02:59:31 -0700 (PDT) Subject: iPhone anyone ? Message-ID: <229475.88783.qm@web37502.mail.mud.yahoo.com> If you cannot afford an iPhone, or can but cannot be bothered to buy one; you can download the Apple iPhone developer tools for free: http://developer.apple.com/ These tools contain an iPhone emulator. I have just checked the Use-List using iPhone's version of Safari, which has served several purposes: 1. Tells me that should I have the money it would be better spent elsewhere because: 1.1 I don't have eyes that are good enough to read Use-Lists that appear as small as they do on iPhone. 1.2 I like using a mouse. 2. Confirms my belief that a PC is one thing, and a telephone is another thing. However, fooling around with the iPhone emulator made me start thinking about how to develop something for it with RR: why? 'cause its there! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From mikeythek at gmail.com Thu Jul 17 11:02:52 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 17 Jul 2008 11:02:52 -0400 Subject: Driving a DLL Message-ID: <9b408d8e0807170802vf97b85eq12eb3ac64dda4d69@mail.gmail.com> I've got a DLL I'd like to think about using in a RR project, but I have no idea how to talk to it from RR. -- Laurence J. Peter - "Originality is the fine art of remembering what you hear but forgetting where you heard it." From m.schonewille at economy-x-talk.com Thu Jul 17 11:16:07 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 17 Jul 2008 17:16:07 +0200 Subject: Revolution and ColorSync? In-Reply-To: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> References: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> Message-ID: <8C22D8D9-6181-447D-AA1E-9FECFEC4295A@economy-x-talk.com> Hi Josh, Apparently, QT Player takes some gamma value into account, while the Rev player object can't do that. I don't think there is any solution for this other than using a different codec (which won't take any gamma values into account at all). In Revolution, one may set a gamma value, but it applies to PNG images only, AFAIK. Are you sure that your player object doesn't have any inks or blendLevel set? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 17 jul 2008, at 03:10, Josh Mellicker wrote: > I set the filename of a player in Revolution to a Quicktime movie. > > The top image here: > > http://revcoders.org/color-issue/ > > is how the movie appears in Revolution, the bottom image is how it > appears in Quicktime Player. You can see the top image looked faded > and ?washed out?. > > It seems that QT Player is applying some kind of ColorSync or other > color management profile adjustment where Revolution is not? > > The codec of the movie is ProRes422, Apple?s new codec. No other > codec I tested exhibits this behavior, they look the same in QT > Player and in a player in Revolution. > > I just wondered if anyone had run into movies displaying differently > in Revolution and how they dealt with it. From 3mcgrath at comcast.net Thu Jul 17 12:48:58 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 17 Jul 2008 12:48:58 -0400 Subject: iPhone anyone ? In-Reply-To: <229475.88783.qm@web37502.mail.mud.yahoo.com> References: <229475.88783.qm@web37502.mail.mud.yahoo.com> Message-ID: <71ED4402-34EB-4023-91FA-60E05F31802A@comcast.net> Richmond, If you rotate the phone sideways the text is much larger and then you can also zoom in from there. In fact you can zoom in so that each word fits on screen. It is not comfortable enough to read a book with but for email and use lists it is just fine and websites are amazing. You can't get the feel of 'touch' or 'pinch' from the emulator so comparing it to a mouse won't give you a great comparison. Neither of these issues seems the right parameters anyway for choosing a phone? For me this is the first of many, many pda's that even comes close to allowing me to be productive and I use mine all day long for everything from directions, email check ups, sms, pictures, web browsing, Calendar reminders, passing away free time with YouTube and games etc. I check the weather a few times a day and listening to my music. I bring it to camp to plug into my TV for Movies, I bring on my boat for Music, I hook it up to my RV for both Videos, Movies and for Music. My last vacation I didn't even bring my laptop which is a first since I have my iPhone and can stay productive. I find this to be the most useful portable device I have ever bought. I am also using Revolution to prototype software for the iPhone and my company is putting it's software on it. I can't imagine money better spent than on an iPhone. It truly is amazing for day to day use. I can type almost as fast on it as I can with a full keyboard. The interface is completely intuitive and I have not yet let someone use it that did not get how to use it immediately. It is not meant to be a full fledged computer but for most things that I do outside of the office or home it can't be beat. I only wish it had more space and copy paste (coming soon). Tom McGrath On Jul 17, 2008, at 5:59 AM, Richmond Mathewson wrote: > If you cannot afford an iPhone, or can but cannot be bothered to buy > one; you can download the Apple iPhone developer tools for free: > > http://developer.apple.com/ > > These tools contain an iPhone emulator. > > I have just checked the Use-List using iPhone's version of Safari, > which has served several purposes: > > 1. Tells me that should I have the money it would be better spent > elsewhere because: > > 1.1 I don't have eyes that are good enough to read Use-Lists that > appear as small as they do on iPhone. > > 1.2 I like using a mouse. > > 2. Confirms my belief that a PC is one thing, and a telephone is > another thing. > > However, fooling around with the iPhone emulator made me start > thinking about how to develop something for it with RR: why? 'cause > its there! > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ > > > __________________________________________________________ > Not happy with your email address?. > Get the one you really want - millions of new email addresses > available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Thu Jul 17 13:19:18 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 17 Jul 2008 10:19:18 -0700 (PDT) Subject: Driving a DLL In-Reply-To: <9b408d8e0807170802vf97b85eq12eb3ac64dda4d69@mail.gmail.com> Message-ID: <34761.69152.qm@web65413.mail.ac4.yahoo.com> --- Mikey wrote: > I've got a DLL I'd like to think about using in a RR > project, but I have no > idea how to talk to it from RR. > Hi Mikey, Hopefully this tip from Ken Ray will get you started: Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From josh at dvcreators.net Thu Jul 17 13:39:55 2008 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 17 Jul 2008 10:39:55 -0700 Subject: Revolution and ColorSync? In-Reply-To: <8C22D8D9-6181-447D-AA1E-9FECFEC4295A@economy-x-talk.com> References: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> <8C22D8D9-6181-447D-AA1E-9FECFEC4295A@economy-x-talk.com> Message-ID: <4D047F7D-9B13-4BC9-A4EB-BC1F84DC7EDF@dvcreators.net> On Jul 17, 2008, at 8:16 AM, Mark Schonewille wrote: > Hi Josh, > > Apparently, QT Player takes some gamma value into account, while the > Rev player object can't do that. I don't think there is any solution > for this other than using a different codec (which won't take any > gamma values into account at all). > > In Revolution, one may set a gamma value, but it applies to PNG > images only, AFAIK. > > Are you sure that your player object doesn't have any inks or > blendLevel set? > > -- > Best regards, > > Mark Schonewille Hi Mark, No, it doesn't have inks or blend, other codecs match up perfectly. Thanks for your reply, I think this is something we'll just have to live with. From geradamas at yahoo.com Thu Jul 17 15:19:33 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 17 Jul 2008 12:19:33 -0700 (PDT) Subject: iPhone anyone ? Message-ID: <390307.11044.qm@web37504.mail.mud.yahoo.com> Um . . . Maybe the reason I cannot appreciate any of Thomas McGrath III's listed advantages are that I have a 12 year-old Citroen (which I love); no RV, no boat, and this year cannot find the money for a vacation. Not that I mind any of this as I chose to live in Bulgaria and work my "B" off for peanuts. However (possibly my favourite word); most people don't have RVs and boats (except "productive" fishing boats), so they may not feel the need to have an iPhone in quite the same way. I normally "pass away" my "free time" programming content delivery and reinforcement stuff, marking tests, telling parents either that their children are "geniuses", "doing fine" or "fairly moronic". If I had the price of an iPhone (at the moment I have the money for next month's food, internet, electricity and water) I would probably spend about 20% of it on some cheap-and-nasty mobile phone and invest the rest in a few "free" text books for a couple of really bright kids I met at the local orphanage so I can smuggle them into my school to shake up some of the rich kids I normally teach. Bye-the-bye, Tom, this is not an attack on you; I am jolly happy for you that you have all the pleasures that your work can bring. However, I cannot help but see the iPhone as something fairly gratuitous when I see horrible poverty just down the road from where I live. Now, if somebody would start a factory making mobile phones in Bulgaria, rather than propping up the stinking Chinese communist regime (Apple!!!!!) quite a few Bulgarians might well be able to improve their standard of living even to the extent that they can afford an iPhone. I am sorry to get "all political" on the RR Use-List, but the iPhone does seem, somehow, a political issue; as do all the other luxury electronic goods, all made in countries with nasty, non-democratic regimes. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From shoreagent at gmail.com Thu Jul 17 17:21:53 2008 From: shoreagent at gmail.com (william humphrey) Date: Thu, 17 Jul 2008 17:21:53 -0400 Subject: iPhone anyone ? In-Reply-To: <390307.11044.qm@web37504.mail.mud.yahoo.com> References: <390307.11044.qm@web37504.mail.mud.yahoo.com> Message-ID: <459b22a90807171421k3b68d7b4gd5f6f5a1277331f5@mail.gmail.com> Do you really tell parents their children are "fairly moronic"? From lfredricks at proactive-intl.com Thu Jul 17 21:59:45 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 17 Jul 2008 18:59:45 -0700 Subject: iPhone anyone ? In-Reply-To: <390307.11044.qm@web37504.mail.mud.yahoo.com> References: <390307.11044.qm@web37504.mail.mud.yahoo.com> Message-ID: <006601c8e879$f42c4d10$6501a8c0@GATEWAY> Richmond, > However, I cannot help but see the iPhone as something fairly > gratuitous when I see horrible poverty just down the road > from where I live. Now, if somebody would start a factory > making mobile phones in Bulgaria, rather than propping up the > stinking Chinese communist regime (Apple!!!!!) quite a few > Bulgarians might well be able to improve their standard of > living even to the extent that they can afford an iPhone. > > I am sorry to get "all political" on the RR Use-List, but the > iPhone does seem, somehow, a political issue; as do all the > other luxury electronic goods, all made in countries with > nasty, non-democratic regimes. Hey, arent you a Mac user - a user of the elite, luxury computer that costs 50% more than the equivalent PC? ;-) When I look at it, I see the final death stroke to the "PDA". There's no reason now to get something that isnt also a phone - but is it really a phone, or is it a very powerful little computer that has phone capabilities almost seamlessly melded into it? It seems to me that if it had more local storage and didn't have the Apple distribution stranglehold on applications, the iPhone could eliminate the need for many to carry laptops. There was a time where I left my laptop when I traveled and only carried a Palm Pilot and cell phone. That combination of functionality met all my needs (at the time). I think of the personal value of that combination, and the iPhone seems reasonable. Of course, it just seems plain wrong when my kid's friends parents are out buying iPhones for their 14-15 year olds and adding +$70/month to their family plans.... ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From cszasz at mac.com Thu Jul 17 22:02:05 2008 From: cszasz at mac.com (Charles Szasz) Date: Thu, 17 Jul 2008 19:02:05 -0700 (PDT) Subject: A nagging problem with controlling data entry Message-ID: <18521298.post@talk.nabble.com> I have run into a nagging problem with controlling data entry by the user. I used the following code to limit input to three numbers: on keyDown pkey if pKey is in "1234567890" and the number of chars of target <4 then pass keydown end keyDown I also use the following script in the sext entry field to make sure that the user enters a score of 90 or higher: on exitField if field "score" < 90 then answer information "The total score must be 90 or higher before a computation can be completed." focus on field "ach" delete the selection end if end exitField The problem arises when I am testing the program. It will provide a dialog when a number less than 90 is entered in the text field as expected. But sometimes it will NOT let me enter a number or go to the next field! I have tried deleting the focus and the selection from the code but that did not work either. On several occasions, I have to force quit Rev because changing from browse to edit mode did not solve the problem. I am using Rev 2.9 on a Mac. I have autoTab checked. The field is not locked. Is there a better code to check for numeric entry and monitor the entry of certain values in a text entry field? -- View this message in context: http://www.nabble.com/A-nagging-problem-with-controlling-data-entry-tp18521298p18521298.html Sent from the Revolution - User mailing list archive at Nabble.com. From jrarick at hpsk12.net Thu Jul 17 22:38:43 2008 From: jrarick at hpsk12.net (Jack Rarick) Date: Thu, 17 Jul 2008 22:38:43 -0400 Subject: Looking for USB remote control ... Message-ID: <487FC9F3020000DC0000EABB@hpsk12.net> Hi all! I am looking for a programmable USB device that will allow me to designate up to six different buttons that will send mouse clicks to certain places on the screen. We do a lot with multimedia, and we want to give a user the option of using the remote in a large classroom to go to the next video, rewind the video, stop the video etc. There are buttons on the screen to accomplish that ... I just want the user to be able to stand 50 feet away with a remote. Am I dreaming? All help will be appreciated! Thank you, Jack Rarick Braintree Athletic Systems From randall at randallreetz.com Thu Jul 17 22:34:34 2008 From: randall at randallreetz.com (Randall Reetz) Date: Thu, 17 Jul 2008 19:34:34 -0700 Subject: Looking for USB remote control ... Message-ID: <20080718023619.YKRY2955.atlmtaow01.cingularme.com@Inbox> I can answer your question in two hours when i get home. Have done this. Are you on a mac? -----Original Message----- From: "Jack Rarick" To: use-revolution at lists.runrev.com Sent: 7/17/2008 7:38 PM Subject: Looking for USB remote control ... Hi all! I am looking for a programmable USB device that will allow me to designate up to six different buttons that will send mouse clicks to certain places on the screen. We do a lot with multimedia, and we want to give a user the option of using the remote in a large classroom to go to the next video, rewind the video, stop the video etc. There are buttons on the screen to accomplish that ... I just want the user to be able to stand 50 feet away with a remote. Am I dreaming? All help will be appreciated! Thank you, Jack Rarick Braintree Athletic Systems _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Fri Jul 18 01:36:27 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 17 Jul 2008 22:36:27 -0700 Subject: Vista 256x256 icon Message-ID: <25EE6148-C827-44BB-B3C8-08741BF6CD0F@elementarysoftware.com> Does rev not support the Vista 256x256 icon size? If so, is a third party injection possible? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com From kray at sonsothunder.com Fri Jul 18 03:05:05 2008 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 18 Jul 2008 02:05:05 -0500 Subject: A nagging problem with controlling data entry In-Reply-To: <18521298.post@talk.nabble.com> Message-ID: > I am using Rev 2.9 on a Mac. I have autoTab checked. The field is not > locked. Is there a better code to check for numeric entry and monitor the > entry of certain values in a text entry field? I would recommend using a "send in time" command - gives the 'exitField'/'closeField' time to complete before the dialog is displayed. BTW, 'exitField' is sent only when there are NO changes in the field; 'closeField' is sent when there ARE changes, so that's the one you probably want to trap. Anyway, here's what I mean: on exitField if field "score" < 90 then send "TooLow" to me in 20 milliseconds end if end exitField on TooLow answer information "The total score must be 90 or higher before a computation can be completed." focus on field "ach" delete the selection end TooLow Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From m.schonewille at economy-x-talk.com Fri Jul 18 03:07:41 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Jul 2008 09:07:41 +0200 Subject: A nagging problem with controlling data entry In-Reply-To: <18521298.post@talk.nabble.com> References: <18521298.post@talk.nabble.com> Message-ID: <2170BA90-9775-4773-8194-B514F5AED95F@economy-x-talk.com> Hi Charles, Is this what you are experiencing: If so, please add your story to the bug entry. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 18 jul 2008, at 04:02, Charles Szasz wrote: > > I have run into a nagging problem with controlling data entry by the > user. I > used the following code to limit input to three numbers: > > on keyDown pkey > if pKey is in "1234567890" and the number of chars of target <4 > then > pass keydown > end keyDown > > I also use the following script in the sext entry field to make sure > that > the user enters a score of 90 or higher: > > on exitField > if field "score" < 90 > then > answer information "The total score must be 90 or higher > before a > computation can be completed." > focus on field "ach" > delete the selection > end if > end exitField > > The problem arises when I am testing the program. It will provide a > dialog > when a number less than 90 is entered in the text field as expected. > But > sometimes it will NOT let me enter a number or go to the next > field! I have > tried deleting the focus and the selection from the code but that > did not > work either. > > On several occasions, I have to force quit Rev because changing from > browse > to edit mode did not solve the problem. > > I am using Rev 2.9 on a Mac. I have autoTab checked. The field is not > locked. Is there a better code to check for numeric entry and > monitor the > entry of certain values in a text entry field? From geradamas at yahoo.com Fri Jul 18 04:16:16 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 18 Jul 2008 01:16:16 -0700 (PDT) Subject: iPhone anyone ? Message-ID: <120675.9557.qm@web37503.mail.mud.yahoo.com> william Humphrey wrote: "Do you really tell parents their children are "fairly moronic"?" Well . . . No; but I often feel an urge to :) sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From randall at randallreetz.com Fri Jul 18 05:10:25 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 18 Jul 2008 02:10:25 -0700 Subject: Looking for USB remote control ... In-Reply-To: <487FC9F3020000DC0000EABB@hpsk12.net> References: <487FC9F3020000DC0000EABB@hpsk12.net> Message-ID: <3477F50D-2FFE-42F0-84FF-4A6FCB20E896@randallreetz.com> Jack, I use AirClick remote. Then download and install the Proxy event editor. You can use the Proxy editor to turn AirClick remote button clicks to keyboard stroke events. Then capture these keystrokes with your xTalk handlers... and you are in business. I don't know what the range is of the AirClick devise. There is another USB devise event re-director called USBOverdrive. It might accept more devises. So long as you can get devise button events sent as keystrokes, you can capture these with runrev handlers. Randall On Jul 17, 2008, at 7:38 PM, Jack Rarick wrote: > Hi all! > > I am looking for a programmable USB device that will allow me to > designate up to six different buttons that will send mouse clicks > to certain places on the screen. We do a lot with multimedia, and > we want to give a user the option of using the remote in a large > classroom to go to the next video, rewind the video, stop the video > etc. There are buttons on the screen to accomplish that ... I just > want the user to be able to stand 50 feet away with a remote. Am I > dreaming? > > All help will be appreciated! > > Thank you, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at azurevision.co.uk Fri Jul 18 07:39:16 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 18 Jul 2008 12:39:16 +0100 Subject: Revolution and ColorSync? In-Reply-To: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> References: <0520C8A3-AA74-45DC-BF05-4713D5EE98AF@dvcreators.net> Message-ID: As far as I'm aware, Rev is entirely unaware of ColorSync/ICC profiles when displaying videos or images. :-( Ian On 17 Jul 2008, at 02:10, Josh Mellicker wrote: > It seems that QT Player is applying some kind of ColorSync or other > color management profile adjustment where Revolution is not? From scott at elementarysoftware.com Fri Jul 18 07:44:13 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 18 Jul 2008 04:44:13 -0700 Subject: Removing an OSX dock icon Message-ID: <3B3A7181-CD18-43A0-83DD-9EED7C90A8CA@elementarysoftware.com> With the following I'm able to add an icon to the OSX dock. I'm wondering if anyone knows (or would care to guess) how to remove an icon from the dock... besides dragging it off : ) -- line 1 is really long put "defaults write com.apple.dock persistent-apps -array-add 'tile-datafile-data_CFURLString/Applications/ MyRevStandalone.app/_CFURLStringType0';" into tCmd -- line 2 put shell(tCmd) -- line 3 get shell("killall Dock") Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com From jrarick at hpsk12.net Fri Jul 18 08:15:19 2008 From: jrarick at hpsk12.net (Jack Rarick) Date: Fri, 18 Jul 2008 08:15:19 -0400 Subject: Looking for USB remote control ... In-Reply-To: <3477F50D-2FFE-42F0-84FF-4A6FCB20E896@randallreetz.com> References: <487FC9F3020000DC0000EABB@hpsk12.net> <3477F50D-2FFE-42F0-84FF-4A6FCB20E896@randallreetz.com> Message-ID: <48805117020000DC0000EAE4@hpsk12.net> Wow! I was hoping for an answer just like this one - and I have yet to be let down! Randall you are the BEST as are all the other revolutionites! Jack Rarick Braintree Athletic Systems >>> randall at randallreetz.com 7/18/2008 5:10 AM >>> Jack, I use AirClick remote. Then download and install the Proxy event editor. You can use the Proxy editor to turn AirClick remote button clicks to keyboard stroke events. Then capture these keystrokes with your xTalk handlers... and you are in business. I don't know what the range is of the AirClick devise. There is another USB devise event re-director called USBOverdrive. It might accept more devises. So long as you can get devise button events sent as keystrokes, you can capture these with runrev handlers. Randall On Jul 17, 2008, at 7:38 PM, Jack Rarick wrote: > Hi all! > > I am looking for a programmable USB device that will allow me to > designate up to six different buttons that will send mouse clicks > to certain places on the screen. We do a lot with multimedia, and > we want to give a user the option of using the remote in a large > classroom to go to the next video, rewind the video, stop the video > etc. There are buttons on the screen to accomplish that ... I just > want the user to be able to stand 50 feet away with a remote. Am I > dreaming? > > All help will be appreciated! > > Thank you, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com From rmicout at online.fr Fri Jul 18 08:52:05 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 18 Jul 2008 14:52:05 +0200 Subject: Looking for USB remote control ... In-Reply-To: <48805117020000DC0000EAE4@hpsk12.net> References: <487FC9F3020000DC0000EABB@hpsk12.net> <3477F50D-2FFE-42F0-84FF-4A6FCB20E896@randallreetz.com> <48805117020000DC0000EAE4@hpsk12.net> Message-ID: Hello from Paris, You can see also for ControllerMate V4 : http://www.orderedbytes.com/ Ren? Le 18 juil. 08 ? 14:15, Jack Rarick a ?crit : > Wow! > > I was hoping for an answer just like this one - and I have yet to > be let down! Randall you are the BEST as are all the other > revolutionites! > > Jack Rarick > Braintree Athletic Systems > >>>> randall at randallreetz.com 7/18/2008 5:10 AM >>> > Jack, > > I use AirClick remote. Then download and install the Proxy event > editor. You can use the Proxy editor to turn AirClick remote button > clicks to keyboard stroke events. Then capture these keystrokes with > your xTalk handlers... and you are in business. I don't know what > the range is of the AirClick devise. There is another USB devise > event re-director called USBOverdrive. It might accept more > devises. So long as you can get devise button events sent as > keystrokes, you can capture these with runrev handlers. > > Randall > > On Jul 17, 2008, at 7:38 PM, Jack Rarick wrote: > >> Hi all! >> >> I am looking for a programmable USB device that will allow me to >> designate up to six different buttons that will send mouse clicks >> to certain places on the screen. We do a lot with multimedia, and >> we want to give a user the option of using the remote in a large >> classroom to go to the next video, rewind the video, stop the video >> etc. There are buttons on the screen to accomplish that ... I just >> want the user to be able to stand 50 feet away with a remote. Am I >> dreaming? >> >> All help will be appreciated! >> >> Thank you, >> >> Jack Rarick >> Braintree Athletic Systems >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > This email was Anti Virus checked by Astaro Security Gateway. > http://www.astaro.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bertshuler at yahoo.com Fri Jul 18 09:57:57 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 09:57:57 -0400 Subject: runrev adds http header for free? Message-ID: I wanted to write a quick http server, mostly just to learn rev. It was very easy, and I am happy so far, but I have a mystery I hope someone can help me with. My code is here: http://www.mediafire.com/?jbldjj0ogck It seems that when I write the data back out to to the socket, runrev adds a http header on its own, and I cant add the one I want. Really weird. When I have it execute this perl script, you can see the problem: #!/usr/bin/perl print "Content-type: text/html\n\n"; print "\n"; foreach $key (sort keys(%ENV)) { print "$key = $ENV{$key}

"; } Also, I am open to advice on my coding, but please if it is bashing me, send that directly to me at BertShuler at yahoo.com Thanks From m.schonewille at economy-x-talk.com Fri Jul 18 10:02:40 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Jul 2008 16:02:40 +0200 Subject: runrev adds http header for free? In-Reply-To: References: Message-ID: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> Hi Bert, You can set the httpHeaders property. E.g. the User-Agent. There's lots of information in the list archives and of course you need to check the docs. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 18 jul 2008, at 15:57, Bert Shuler wrote: > I wanted to write a quick http server, mostly just to learn rev. > > It was very easy, and I am happy so far, but I have a mystery I hope > someone can help me with. > My code is here: http://www.mediafire.com/?jbldjj0ogck > > It seems that when I write the data back out to to the socket, > runrev adds a http header on its own, and I cant add the one I want. > Really weird. > > When I have it execute this perl script, you can see the problem: > > #!/usr/bin/perl > > print "Content-type: text/html\n\n"; > print "\n"; > foreach $key (sort keys(%ENV)) { > print "$key = $ENV{$key}

"; > } > > Also, I am open to advice on my coding, but please if it is bashing > me, send that directly to me at BertShuler at yahoo.com > > Thanks From bertshuler at yahoo.com Fri Jul 18 10:05:05 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 10:05:05 -0400 Subject: runrev adds http header for free? In-Reply-To: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> Message-ID: ok, I thought that was only used when using the URL keyword. I am simply writing to a socket. How would rev even know I was intending to write http? On Jul 18, 2008, at 10:02 AM, Mark Schonewille wrote: > Hi Bert, > > You can set the httpHeaders property. E.g. the User-Agent. There's > lots of information in the list archives and of course you need to > check the docs. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > > On 18 jul 2008, at 15:57, Bert Shuler wrote: > >> I wanted to write a quick http server, mostly just to learn rev. >> >> It was very easy, and I am happy so far, but I have a mystery I >> hope someone can help me with. >> My code is here: http://www.mediafire.com/?jbldjj0ogck >> >> It seems that when I write the data back out to to the socket, >> runrev adds a http header on its own, and I cant add the one I want. >> Really weird. >> >> When I have it execute this perl script, you can see the problem: >> >> #!/usr/bin/perl >> >> print "Content-type: text/html\n\n"; >> print "\n"; >> foreach $key (sort keys(%ENV)) { >> print "$key = $ENV{$key}

"; >> } >> >> Also, I am open to advice on my coding, but please if it is bashing >> me, send that directly to me at BertShuler at yahoo.com >> >> Thanks > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bertshuler at yahoo.com Fri Jul 18 09:59:00 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 09:59:00 -0400 Subject: runrev adds http header for free? Message-ID: I wanted to write a quick http server, mostly just to learn rev. It was very easy, and I am happy so far, but I have a mystery I hope someone can help me with. My code is here: http://www.mediafire.com/?jbldjj0ogck It seems that when I write the data back out to to the socket, runrev adds a http header on its own, and I cant add the one I want. Really weird. When I have it execute this perl script, you can see the problem: #!/usr/bin/perl print "Content-type: text/html\n\n"; print "\n"; foreach $key (sort keys(%ENV)) { print "$key = $ENV{$key}

"; } Also, I am open to advice on my coding, but please if it is bashing me, send that directly to me at BertShuler at yahoo.com Thanks From m.schonewille at economy-x-talk.com Fri Jul 18 10:21:53 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Jul 2008 16:21:53 +0200 Subject: runrev adds http header for free? In-Reply-To: References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> Message-ID: <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> Hi Bert, Maybe I don't understand what is going on without looking at your code. At which point do you see unwanted http headers? When you write data to perl or when you read the data into rev? Is it possible that Perl adds the headers, since you're using "print "Content-type: text/ html\n\n";"? Maybe you want "print "Content-type: text/plain\n\n";". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 18 jul 2008, at 16:05, Bert Shuler wrote: > ok, I thought that was only used when using the URL keyword. > I am simply writing to a socket. > How would rev even know I was intending to write http? > From bertshuler at yahoo.com Fri Jul 18 10:27:48 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 10:27:48 -0400 Subject: runrev adds http header for free? In-Reply-To: <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> Message-ID: <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> The header written by perl shows as html in the browser, because rev somehow added a header. On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote: > Hi Bert, > > Maybe I don't understand what is going on without looking at your > code. At which point do you see unwanted http headers? When you > write data to perl or when you read the data into rev? Is it > possible that Perl adds the headers, since you're using "print > "Content-type: text/html\n\n";"? Maybe you want "print "Content- > type: text/plain\n\n";". > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > > On 18 jul 2008, at 16:05, Bert Shuler wrote: > >> ok, I thought that was only used when using the URL keyword. >> I am simply writing to a socket. >> How would rev even know I was intending to write http? >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Fri Jul 18 11:16:48 2008 From: mark at maseurope.net (Mark Smith) Date: Fri, 18 Jul 2008 16:16:48 +0100 Subject: runrev adds http header for free? In-Reply-To: <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> Message-ID: Could it be that the browser is expecting 2 crlfs after the header, while 2 lfs are all that's being written? Even if the perl script is producing crlfs, Rev tends to convert crlfs to lfs unless you specifically prevent it. Perhaps it would help if you inserted the line: replace lf with crlf in buffer before writing it out to the socket. I'm fairly sure that Rev would not be adding spurious headers - I think it's only libUrl that would have that capability, and I'm sure it's better behaved than that, even if it's installed in your cgi setup. Best, Mark On 18 Jul 2008, at 15:27, Bert Shuler wrote: > The header written by perl shows as html in the browser, because > rev somehow added a header. > > > On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote: > >> Hi Bert, >> >> Maybe I don't understand what is going on without looking at your >> code. At which point do you see unwanted http headers? When you >> write data to perl or when you read the data into rev? Is it >> possible that Perl adds the headers, since you're using "print >> "Content-type: text/html\n\n";"? Maybe you want "print "Content- >> type: text/plain\n\n";". >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Benefit from our inexpensive hosting services. See http://economy- >> x-talk.com/server.html for more info. >> >> On 18 jul 2008, at 16:05, Bert Shuler wrote: >> >>> ok, I thought that was only used when using the URL keyword. >>> I am simply writing to a socket. >>> How would rev even know I was intending to write http? >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bertshuler at yahoo.com Fri Jul 18 11:34:41 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 11:34:41 -0400 Subject: runrev adds http header for free? In-Reply-To: References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> Message-ID: Mark, I think your on to something. I think my web browser is not recognizing my header, and live http headers is lieing to me. I ran this test, and it seems to disprove the free runrev header idea. telnet 127.0.0.1 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /env.pl HTTP/1.1 Content-type: text/html Apple_PubSub_Socket_Render = /tmp/launch-JAC787/Render

COMMAND_MODE = legacy

DISPLAY = /tmp/launch-bf8cAs/:0

HOME = /Users/ bshuler

LOGNAME = bshuler

PATH = /usr/bin:/bin:/usr/sbin:/ sbin

PWD = /Applications/Revolution Studio/2.9.0- gm-1

SECURITYSESSIONID = 620680

SHELL = /bin/bash

SHLVL = 1

SSH_AUTH_SOCK = /tmp/launch-YZYPQ5/Listeners

TMPDIR = /var/ folders/B1/B1LJiAyjGNuOhekZm3xRKE+++TI/-Tmp-/

USER = bshuler

_ = / Users/bshuler/Sites//env.pl

__CF_USER_TEXT_ENCODING = 0x1F5:0:0

Connection closed by foreign host. On Jul 18, 2008, at 11:16 AM, Mark Smith wrote: > Could it be that the browser is expecting 2 crlfs after the header, > while 2 lfs are all that's being written? > > Even if the perl script is producing crlfs, Rev tends to convert > crlfs to lfs unless you specifically prevent it. > > Perhaps it would help if you inserted the line: > > replace lf with crlf in buffer > > before writing it out to the socket. > > I'm fairly sure that Rev would not be adding spurious headers - I > think it's only libUrl that would have that capability, and I'm > sure it's better behaved than that, even if it's installed in your > cgi setup. > > Best, > > Mark > > On 18 Jul 2008, at 15:27, Bert Shuler wrote: >> The header written by perl shows as html in the browser, because >> rev somehow added a header. >> >> >> On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote: >> >>> Hi Bert, >>> >>> Maybe I don't understand what is going on without looking at your >>> code. At which point do you see unwanted http headers? When you >>> write data to perl or when you read the data into rev? Is it >>> possible that Perl adds the headers, since you're using "print >>> "Content-type: text/html\n\n";"? Maybe you want "print "Content- >>> type: text/plain\n\n";". >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> http://economy-x-talk.com >>> http://www.salery.biz >>> >>> Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html >>> for more info. >>> >>> On 18 jul 2008, at 16:05, Bert Shuler wrote: >>> >>>> ok, I thought that was only used when using the URL keyword. >>>> I am simply writing to a socket. >>>> How would rev even know I was intending to write http? >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bertshuler at yahoo.com Fri Jul 18 11:44:38 2008 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 18 Jul 2008 11:44:38 -0400 Subject: runrev adds http header for free? In-Reply-To: References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> Message-ID: <31FB942C-A5CE-4CD1-83E6-A41456ABA46C@yahoo.com> That was the problem. Once I get the CGI gateway working ill post it again... just incase someone finds it useful. Thanks all! Bert On Jul 18, 2008, at 11:34 AM, Bert Shuler wrote: > Mark, I think your on to something. > I think my web browser is not recognizing my header, and live http > headers is lieing to me. > > I ran this test, and it seems to disprove the free runrev header idea. > > > telnet 127.0.0.1 8080 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > GET /env.pl HTTP/1.1 > Content-type: text/html > > > Apple_PubSub_Socket_Render = /tmp/launch-JAC787/ > Render

COMMAND_MODE = legacy

DISPLAY = /tmp/launch-bf8cAs/: > 0

HOME = /Users/bshuler

LOGNAME = bshuler

PATH = /usr/bin:/ > bin:/usr/sbin:/sbin

PWD = /Applications/Revolution Studio/2.9.0- > gm-1

SECURITYSESSIONID = 620680

SHELL = /bin/bash

SHLVL = > 1

SSH_AUTH_SOCK = /tmp/launch-YZYPQ5/Listeners

TMPDIR = /var/ > folders/B1/B1LJiAyjGNuOhekZm3xRKE+++TI/-Tmp-/

USER = bshuler

_ > = /Users/bshuler/Sites//env.pl

__CF_USER_TEXT_ENCODING = > 0x1F5:0:0

Connection closed by foreign host. > > > On Jul 18, 2008, at 11:16 AM, Mark Smith wrote: > >> Could it be that the browser is expecting 2 crlfs after the header, >> while 2 lfs are all that's being written? >> >> Even if the perl script is producing crlfs, Rev tends to convert >> crlfs to lfs unless you specifically prevent it. >> >> Perhaps it would help if you inserted the line: >> >> replace lf with crlf in buffer >> >> before writing it out to the socket. >> >> I'm fairly sure that Rev would not be adding spurious headers - I >> think it's only libUrl that would have that capability, and I'm >> sure it's better behaved than that, even if it's installed in your >> cgi setup. >> >> Best, >> >> Mark >> >> On 18 Jul 2008, at 15:27, Bert Shuler wrote: >>> The header written by perl shows as html in the browser, because >>> rev somehow added a header. >>> >>> >>> On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote: >>> >>>> Hi Bert, >>>> >>>> Maybe I don't understand what is going on without looking at your >>>> code. At which point do you see unwanted http headers? When you >>>> write data to perl or when you read the data into rev? Is it >>>> possible that Perl adds the headers, since you're using "print >>>> "Content-type: text/html\n\n";"? Maybe you want "print "Content- >>>> type: text/plain\n\n";". >>>> >>>> -- >>>> Best regards, >>>> >>>> Mark Schonewille >>>> >>>> Economy-x-Talk Consulting and Software Engineering >>>> http://economy-x-talk.com >>>> http://www.salery.biz >>>> >>>> Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html >>>> for more info. >>>> >>>> On 18 jul 2008, at 16:05, Bert Shuler wrote: >>>> >>>>> ok, I thought that was only used when using the URL keyword. >>>>> I am simply writing to a socket. >>>>> How would rev even know I was intending to write http? >>>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Fri Jul 18 15:08:42 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 18 Jul 2008 16:08:42 -0300 Subject: runrev adds http header for free? In-Reply-To: <31FB942C-A5CE-4CD1-83E6-A41456ABA46C@yahoo.com> References: <55A4C591-156A-4724-B0FC-1B432E72D988@economy-x-talk.com> <0527CC09-CE9F-4DB7-BED8-74081E923022@economy-x-talk.com> <8BEF05A3-FFD4-437D-9D27-FB7179FECC76@yahoo.com> <31FB942C-A5CE-4CD1-83E6-A41456ABA46C@yahoo.com> Message-ID: <7c87a2a10807181208p3821416blc6e2664420d767e0@mail.gmail.com> Bert, http://www.andregarzia.com/RevHTTP.zip lots of cgi demos and a web server made in rev. All free and commented. Cheers andre On Fri, Jul 18, 2008 at 12:44 PM, Bert Shuler wrote: > That was the problem. Once I get the CGI gateway working ill post it > again... just incase someone finds it useful. > > Thanks all! > > Bert > > > On Jul 18, 2008, at 11:34 AM, Bert Shuler wrote: > >> Mark, I think your on to something. >> I think my web browser is not recognizing my header, and live http headers >> is lieing to me. >> >> I ran this test, and it seems to disprove the free runrev header idea. >> >> >> telnet 127.0.0.1 8080 >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> GET /env.pl HTTP/1.1 >> Content-type: text/html >> >> >> Apple_PubSub_Socket_Render = /tmp/launch-JAC787/Render

COMMAND_MODE = >> legacy

DISPLAY = /tmp/launch-bf8cAs/:0

HOME = /Users/bshuler

LOGNAME = >> bshuler

PATH = /usr/bin:/bin:/usr/sbin:/sbin

PWD = >> /Applications/Revolution Studio/2.9.0-gm-1

SECURITYSESSIONID = >> 620680

SHELL = /bin/bash

SHLVL = 1

SSH_AUTH_SOCK = >> /tmp/launch-YZYPQ5/Listeners

TMPDIR = >> /var/folders/B1/B1LJiAyjGNuOhekZm3xRKE+++TI/-Tmp-/

USER = bshuler

_ = >> /Users/bshuler/Sites//env.pl

__CF_USER_TEXT_ENCODING = >> 0x1F5:0:0

Connection closed by foreign host. >> >> >> On Jul 18, 2008, at 11:16 AM, Mark Smith wrote: >> >>> Could it be that the browser is expecting 2 crlfs after the header, while >>> 2 lfs are all that's being written? >>> >>> Even if the perl script is producing crlfs, Rev tends to convert crlfs to >>> lfs unless you specifically prevent it. >>> >>> Perhaps it would help if you inserted the line: >>> >>> replace lf with crlf in buffer >>> >>> before writing it out to the socket. >>> >>> I'm fairly sure that Rev would not be adding spurious headers - I think >>> it's only libUrl that would have that capability, and I'm sure it's better >>> behaved than that, even if it's installed in your cgi setup. >>> >>> Best, >>> >>> Mark >>> >>> On 18 Jul 2008, at 15:27, Bert Shuler wrote: >>>> >>>> The header written by perl shows as html in the browser, because rev >>>> somehow added a header. >>>> >>>> >>>> On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote: >>>> >>>>> Hi Bert, >>>>> >>>>> Maybe I don't understand what is going on without looking at your code. >>>>> At which point do you see unwanted http headers? When you write data to perl >>>>> or when you read the data into rev? Is it possible that Perl adds the >>>>> headers, since you're using "print "Content-type: text/html\n\n";"? Maybe >>>>> you want "print "Content-type: text/plain\n\n";". >>>>> >>>>> -- >>>>> Best regards, >>>>> >>>>> Mark Schonewille >>>>> >>>>> Economy-x-Talk Consulting and Software Engineering >>>>> http://economy-x-talk.com >>>>> http://www.salery.biz >>>>> >>>>> Benefit from our inexpensive hosting services. See >>>>> http://economy-x-talk.com/server.html for more info. >>>>> >>>>> On 18 jul 2008, at 16:05, Bert Shuler wrote: >>>>> >>>>>> ok, I thought that was only used when using the URL keyword. >>>>>> I am simply writing to a socket. >>>>>> How would rev even know I was intending to write http? >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From chipp at chipp.com Fri Jul 18 15:23:24 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 18 Jul 2008 14:23:24 -0500 Subject: Multi-dimensional arrays explained.. Message-ID: <665591460807181223xe2c23f0n92a7c91a0ffcf591@mail.gmail.com> Trevor's got a SUPER write-up on the new m-dim arrays in Rev 3.0 in the latest newsletter. I encourage everyone to read it as it explains in a simple way and in great detail how to use them. Plus, he throws in a stack which can convert XML to Rev 3's m-dim arrays and back. Very cool and mucho thanks to Trevor for taking the time to share with us all. https://mail.google.com/a/altuit.com/#label/Use-Revolution From andre at andregarzia.com Fri Jul 18 16:25:14 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 18 Jul 2008 17:25:14 -0300 Subject: do httpheaders and httpproxy reset after handler ends? Message-ID: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> Hello Friends, a quick question, anyone knows how persistent is httpproxy and httpheaders? I want to know if I need to set them everytime or if setting them on openstack will be enough for all subsequent URL calls. Thanks PS: Yes, I could sniff that with wireshark, but I felt like asking... Andre -- http://www.andregarzia.com All We Do Is Code. From chipp at chipp.com Fri Jul 18 17:47:09 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 18 Jul 2008 16:47:09 -0500 Subject: do httpheaders and httpproxy reset after handler ends? In-Reply-To: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> References: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> Message-ID: <665591460807181447w7d6ce4a2w10e819f4b028b8fd@mail.gmail.com> I'm pretty sure they are persistent. At lease I remember only setting them once. On Fri, Jul 18, 2008 at 3:25 PM, Andre Garzia wrote: > Hello Friends, > > a quick question, anyone knows how persistent is httpproxy and > httpheaders? I want to know if I need to set them everytime or if > setting them on openstack will be enough for all subsequent URL calls. > > Thanks > PS: Yes, I could sniff that with wireshark, but I felt like asking... > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Fri Jul 18 17:45:50 2008 From: randall at randallreetz.com (Randall Reetz) Date: Fri, 18 Jul 2008 14:45:50 -0700 Subject: Looking for USB remote control ... Message-ID: <20080718214736.WKTV2955.atlmtaow01.cingularme.com@Inbox> Jack, if you purchace a cheap wireless game controller, you can take it appart and solder some micro sswitches to the ic board where the contact switches touch. There were something like 19 switches on the one i took appart, plus some analog switches and directional ones as well. You can build some pretty good input device prototypes on the fast and loose. Again, i dont know about the range. That depends on the com medium used with your controller (wifi, IR, bluetooth, etc.). I once tried to find a wireless numeric or functionkey keypad... That would be perfect. Ill bet if you got on a stage craft or movie special effects user group you could get some ideas. What about the multi-channel RC controllers hobbiests use with their model airplains... i'll bet there are some cheap ones out there used in the low-end toy-crossover market. Nerd heaven. -----Original Message----- From: "Jack Rarick" To: use-revolution at lists.runrev.com Sent: 7/18/2008 5:15 AM Subject: Re: Looking for USB remote control ... Wow! I was hoping for an answer just like this one - and I have yet to be let down! Randall you are the BEST as are all the other revolutionites! Jack Rarick Braintree Athletic Systems >>> randall at randallreetz.com 7/18/2008 5:10 AM >>> Jack, I use AirClick remote. Then download and install the Proxy event editor. You can use the Proxy editor to turn AirClick remote button clicks to keyboard stroke events. Then capture these keystrokes with your xTalk handlers... and you are in business. I don't know what the range is of the AirClick devise. There is another USB devise event re-director called USBOverdrive. It might accept more devises. So long as you can get devise button events sent as keystrokes, you can capture these with runrev handlers. Randall On Jul 17, 2008, at 7:38 PM, Jack Rarick wrote: > Hi all! > > I am looking for a programmable USB device that will allow me to > designate up to six different buttons that will send mouse clicks > to certain places on the screen. We do a lot with multimedia, and > we want to give a user the option of using the remote in a large > classroom to go to the next video, rewind the video, stop the video > etc. There are buttons on the screen to accomplish that ... I just > want the user to be able to stand 50 feet away with a remote. Am I > dreaming? > > All help will be appreciated! > > Thank you, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at free.fr Fri Jul 18 17:52:34 2008 From: psahores at free.fr (Pierre Sahores) Date: Fri, 18 Jul 2008 23:52:34 +0200 Subject: do httpheaders and httpproxy reset after handler ends? In-Reply-To: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> References: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> Message-ID: <4DC45A72-3F1A-4BF6-89BA-CC67E06465DA@free.fr> Andre, I don't have idea about what is the best with the httpproxy part of your question. About the httpheaders, in my experience (both MC and Rev http clients), it's always a good precaution to set the httpheaders again before each new occurence of a POST command. See this transcript-based pgdump trigger function (PostgreSQL database backup) as a for years running production state example : function newdbpgdump d,p put "&tdSQL=" & urlencode(reagenc(p)) into larequete put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") & "&VAL=" & encefv1("roussilles") into retour set httpheaders to "Content-type: application/x-www-form- urlencoded" & return post retour to url (line 1 of fld "revwas") if it is "" then answer "La connexion avec le serveur distant est rompue." & return & return & \ "V?rifiez votre configuration d'acc?s ? l'internet" exit to top else return word 1 to -1 of it & return & return end newdbpgdump Hope this can help, Best, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 18 juil. 08 ? 22:25, Andre Garzia a ?crit : > Hello Friends, > > a quick question, anyone knows how persistent is httpproxy and > httpheaders? I want to know if I need to set them everytime or if > setting them on openstack will be enough for all subsequent URL calls. > > Thanks > PS: Yes, I could sniff that with wireshark, but I felt like asking... > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Fri Jul 18 18:27:10 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 18 Jul 2008 15:27:10 -0700 Subject: Looking for USB remote control ... In-Reply-To: <20080718214736.WKTV2955.atlmtaow01.cingularme.com@Inbox> References: <20080718214736.WKTV2955.atlmtaow01.cingularme.com@Inbox> Message-ID: <095272DA-E112-444D-8461-7CD1374947F5@randallreetz.com> Check out this IR USB remote (lots of buttons). Though it is IR and probably needs line of sight to USB port key fob (site doesn't talk to range issue). http://www.bikudo.com/product_search/details/2238/ usb_multi_remote_controller_rc_q105.html I have been looking for RC controller to USB RC receiver solution... nothing so far. The advantage of RC (over local wireless like wifi, bluetooth and IR) is much longer range (up to a mile or two). Randall On Jul 18, 2008, at 2:45 PM, Randall Reetz wrote: > Jack, if you purchace a cheap wireless game controller, you can > take it appart and solder some micro sswitches to the ic board > where the contact switches touch. There were something like 19 > switches on the one i took appart, plus some analog switches and > directional ones as well. You can build some pretty good input > device prototypes on the fast and loose. Again, i dont know about > the range. That depends on the com medium used with your > controller (wifi, IR, bluetooth, etc.). I once tried to find a > wireless numeric or functionkey keypad... That would be perfect. > Ill bet if you got on a stage craft or movie special effects user > group you could get some ideas. What about the multi-channel RC > controllers hobbiests use with their model airplains... i'll bet > there are some cheap ones out there used in the low-end toy- > crossover market. Nerd heaven. > -----Original Message----- > From: "Jack Rarick" > To: use-revolution at lists.runrev.com > Sent: 7/18/2008 5:15 AM > Subject: Re: Looking for USB remote control ... > > Wow! > > I was hoping for an answer just like this one - and I have yet to > be let down! Randall you are the BEST as are all the other > revolutionites! > > Jack Rarick > Braintree Athletic Systems > >>>> randall at randallreetz.com 7/18/2008 5:10 AM >>> > Jack, > > I use AirClick remote. Then download and install the Proxy event > editor. You can use the Proxy editor to turn AirClick remote button > clicks to keyboard stroke events. Then capture these keystrokes with > your xTalk handlers... and you are in business. I don't know what > the range is of the AirClick devise. There is another USB devise > event re-director called USBOverdrive. It might accept more > devises. So long as you can get devise button events sent as > keystrokes, you can capture these with runrev handlers. > > Randall > > On Jul 17, 2008, at 7:38 PM, Jack Rarick wrote: > >> Hi all! >> >> I am looking for a programmable USB device that will allow me to >> designate up to six different buttons that will send mouse clicks >> to certain places on the screen. We do a lot with multimedia, and >> we want to give a user the option of using the remote in a large >> classroom to go to the next video, rewind the video, stop the video >> etc. There are buttons on the screen to accomplish that ... I just >> want the user to be able to stand 50 feet away with a remote. Am I >> dreaming? >> >> All help will be appreciated! >> >> Thank you, >> >> Jack Rarick >> Braintree Athletic Systems >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > This email was Anti Virus checked by Astaro Security Gateway. > http://www.astaro.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Fri Jul 18 19:58:29 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 18 Jul 2008 20:58:29 -0300 Subject: do httpheaders and httpproxy reset after handler ends? In-Reply-To: <4DC45A72-3F1A-4BF6-89BA-CC67E06465DA@free.fr> References: <7c87a2a10807181325m690ba207l4ac4ce6ba89946fa@mail.gmail.com> <4DC45A72-3F1A-4BF6-89BA-CC67E06465DA@free.fr> Message-ID: <7c87a2a10807181658h41ef30f1vc44612a88055532e@mail.gmail.com> Chipp and Pierre, thank you guys! So far they are persistent, no post requests in that application, only couple GETs... Thanks for the help! Andre On Fri, Jul 18, 2008 at 6:52 PM, Pierre Sahores wrote: > Andre, > > I don't have idea about what is the best with the httpproxy part of your > question. > > About the httpheaders, in my experience (both MC and Rev http clients), it's > always a good precaution to set the httpheaders again before each new > occurence of a POST command. > > See this transcript-based pgdump trigger function (PostgreSQL database > backup) as a for years running production state example : > > function newdbpgdump d,p > put "&tdSQL=" & urlencode(reagenc(p)) into larequete > put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") & > "&VAL=" & encefv1("roussilles") into retour > set httpheaders to "Content-type: application/x-www-form-urlencoded" & > return > post retour to url (line 1 of fld "revwas") > if it is "" then > answer "La connexion avec le serveur distant est rompue." & return & > return & \ > "V?rifiez votre configuration d'acc?s ? l'internet" > exit to top > else return word 1 to -1 of it & return & return > end newdbpgdump > > Hope this can help, > > Best, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > Le 18 juil. 08 ? 22:25, Andre Garzia a ?crit : > >> Hello Friends, >> >> a quick question, anyone knows how persistent is httpproxy and >> httpheaders? I want to know if I need to set them everytime or if >> setting them on openstack will be enough for all subsequent URL calls. >> >> Thanks >> PS: Yes, I could sniff that with wireshark, but I felt like asking... >> Andre >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From JimAultWins at yahoo.com Sat Jul 19 00:03:26 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 18 Jul 2008 21:03:26 -0700 Subject: do httpheaders and httpproxy reset after handler ends? In-Reply-To: <7c87a2a10807181658h41ef30f1vc44612a88055532e@mail.gmail.com> Message-ID: My limited experience is that the browser name space on the client computer retains the headers and variables until the user does something like a refresh that would update the header data. This would be the case with either the GET or POST methods. Also, using