Re: [ANN] The Slug's Color Picker is now on the road for beta test
Le 2 mars 10 à 01:27, zryip theSlug a écrit : 2010/3/1 zryip theSlug zryip.thes...@gmail.com: New update available: 0.1d The Color Picker gives now the illusion (I hope ;)) to be a part of the tools palette. Enjoy! 8-) Thank you Zryip :-) I tried it; when dragging the tools palette it's putting back docilely ;-) But seems that Color Picker keeps staying in front so that it is not possible to get the properties of another stack in the inspector? (not possible to name a new stack for example). Might be I am missing something? I was wondering if drawer at bottom? could do the trick (but the doc says that it works on Mac only :-( Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] The Slug's Color Picker is now on the road for beta test
Slug, Yes, yes, yes for the new version ! But how can I stop using Color Picker ? René Le 2 mars 2010 à 01:27, zryip theSlug a écrit : 2010/3/1 zryip theSlug zryip.thes...@gmail.com: New update available: 0.1d The Color Picker gives now the illusion (I hope ;)) to be a part of the tools palette. Enjoy! 8-) -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] MacZot bundle features SuperCard
Aloha Folks, Did you guys noticed that the maczot bundle is featuring SuperCard? MacZot is a really good way of getting your software noticed, I know Richard used it for WebMerge at least once. When I have some software to market, I am sure to approach them. cheers Andre -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] Video converter for Mac
Someone (sorry, wasn't focussing much) was after a way of converting video made on a Mac to a more Windowzy sort of thing: http://www.thugsatbay.com/tab/?q=tab-video-converter-encoder ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SendCardMessage questions
sendCard? I don't see it in the dictionary. Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SendCardMessage questions
On Tue, Mar 2, 2010 at 2:26 PM, dunb...@aol.com wrote: sendCard? I don't see it in the dictionary. Craig Newman I believe that Paul is referring to an element that is used in externals. Regrettably that is as far as my knowledge of externals goes :-) Bernard ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: [OT] MacZot bundle features SuperCard
Did you guys noticed that the maczot bundle is featuring SuperCard? MacZot is a really good way of getting your software noticed, I know Richard used it for WebMerge at least once. When I have some software to market, I am sure to approach them. MacZot is a discount seller, so you make next to nothing per unit, however you stand to gain a lot by expanding your user base. It is easier to sell to someone who already has one of your products. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] MacZot bundle features SuperCard
it all depends on your margin right? As you said, you may make little but not only you expand the user base but you get visibility as well. Many times, I passed a maczot offer because I didn't need the product but later recommended or mentioned it to friends or in some really unlucky cases needed the software afterwards and paid full price. I don't know if I am gifted with an uncanny software remembrance (does that word exists?) but I tend to remember what I see on maczot even months later... maybe is that the sum of words like SALE and SOFTWARE makes a big impression on me like SHOES and SALE makes on some people. On Tue, Mar 2, 2010 at 11:56 AM, Lynn Fredricks lfredri...@proactive-intl.com wrote: Did you guys noticed that the maczot bundle is featuring SuperCard? MacZot is a really good way of getting your software noticed, I know Richard used it for WebMerge at least once. When I have some software to market, I am sure to approach them. MacZot is a discount seller, so you make next to nothing per unit, however you stand to gain a lot by expanding your user base. It is easier to sell to someone who already has one of your products. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: an annual calendar somewhere? (done)
Bonjour, Thanks a lot to Robert, Zrypt, Richard, Bernd who provided very helpful material and the others who chimed in helping to push along :-) I have now an annual calendar with 12 lines, one for each month. The days of weeks are in a separate field at the top of the display (not repeated for each month) The months are also in a separate field on the left of the main field which displays the day numbers. The year is in a separate field too at the top left. So it is easy to select any range of days either from a single month or across two (or more) months. Oh! happy day ;-)) Best regards from Grenoble André the script --- -- 03/2010 -- first script from Richard Gaskin, completed and improved by Zryip theSlug. (comments are from them) -- I only adapted it to my needs (months in lines instead of tables; several fields instead of a single one) on mouseUp set useSystemDate to true put empty into fld calendar field put empty into fld chMonths put empty into fld weekDayNames createLineOfDays ask Quelle année ? with last word of the abbrev system date put it into yearToMake put yearToMake into fld theYear put createDate(yearToMake,1,1) into tStartDate -- Create the January, 1 2010 in your local language system repeat with tMonthNumber = 0 to 11 -- Create months for January (1) to December (12) put Cal(addToDate(tStartDate,0,tMonthNumber,0),Monday) cr after fld calendar field end repeat end mouseUp on createLineOfDays --to be put in a separate field at the top -- Make day names header: -- in AWEEK put Monday into pFirstDayWeek put weekdayNamesList(pFirstDayWeek) into tWeekdayNames put empty into aWeek put empty into fourWeeks repeat for each line tDay in tWeekdayNames put char 1 to 2 of tDay after aWeek --after tCal end repeat -- Make 5 weeks + lu ma repeat 5 put aWeek tab after fourWeeks end repeat put fourWeeks lu ma into fld weekDayNames end createLineOfDays function Cal pDate, pFirstDayWeek set useSystemDate to true -- Returns a plain-text calendar representation of -- the month the date specified in pDate is in. -- If no month is provided it uses the current -- month. Month and day names use the user's current -- system settings. -- -- Use current date as default: if pDate is empty then put the date into pDate if pFirstDayWeek is empty then put Sunday into pFirstDayWeek -- Verify date is valid: convert pDate to dateitems if the result is not empty then return Error: the result -- put empty into tCal -- -- Make month/year header: put item 1 of pDate into tYear put item 2 of pDate into tMonthNumber put line (tMonthNumber) of the monthNames into tMonth --put tMonth tYear into tHeader --put tHeader cr after fld chMonths put tMonth cr after fld chMonths -- in an extra field on the left -- -- Pad beginning with empty days: put createDate(tYear,tMonthNumber,1) into tStartDay convert tStartDay to dateitems get last item of tStartDay if (pFirstDayWeek is Monday) then if (it = 1) then put 6 into tPad -- fix the case that the day is Sunday (value1) - 2 = - 1 else put (it - 2) into tPad end if else put (it - 1) into tPad end if repeat for tPad put after tCal end repeat put createDate(tYear,tMonthNumber,1) into tStartDay -- create a date in the system's local language -- Walk through 31 days, stopping when we reach a -- number not valid for the month we're doing: repeat with i = 1 to dayOf(addToDate(tStartDay,0,1,-1)) -- the end value is the number of days in the month. To obtain the last date of a month, add 1 month and subtract one -- day to the first day of a month -- Get day number: put createDate(tYear,tMonthNumber,i) into tDate convert tDate to dateitems if the result is not empty then exit repeat put item 3 of tDate into tDayNum -- -- Pad it and add it: if len(i) = 1 then put before i put i after tCal -- -- Go to next line if we're at the end of the week: if last item of tDate = lastDayOfWeek(pFirstDayWeek) then put tab after tCal --cr after tCal end repeat -- -- Send it to the caller: return tCal end Cal function weekdayNamesList pFirstDay set useSystemDate to true put the abbr weekdayNames into tWeekdayNames if pFirstDay is Monday then put crfirst line of tWeekdayNames after tWeekdayNames delete first line of tWeekdayNames end if return tWeekdayNames end weekdayNamesList function lastDayOfWeek pFirstDay if pFirstDay is Monday then return 1 else return 7 end if end lastDayOfWeek function firstDayInMonth pStartDate -- Return the first day in a month set useSystemDate to true convert pStartDate to dateitems put 1 into item 3 of pStartDate convert pStartDate
Re: fonts: what is a point in Linux/Gnome?
Le 2 mars 2010 à 08:45, G.Wolfgang Gaich a écrit : Hello all, I didn't read all the mails of this thread. My suggestion: In Ubuntu go to System/Preferences/Appearance/Fonts. Activate Subpixel smoothing and click on details. There you can adjust the resolution (dpi) to the needs of your display. dpi = xres x 2.54 / the width of your display For my display I have 116 dpi and the fontsizes are ok. Regards, Wolfgang I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. Now, if rev could incorporate this *other* side of the spectrum... But I guess this would imply switching to cocoa. François ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: [OT] MacZot bundle features SuperCard
it all depends on your margin right? As you said, you may make little but not only you expand the user base but you get visibility as well. Many times, I passed a maczot offer because I didn't need the product but later recommended or mentioned it to friends or in some really unlucky cases needed the software afterwards and paid full price. I don't know if I am gifted with an uncanny software remembrance (does that word exists?) but I tend to remember what I see on maczot even months later... maybe is that the sum of words like SALE and SOFTWARE makes a big impression on me like SHOES and SALE makes on some people. That's right. A lot of folks don't necessarily see the value in dropping the price for a special offer so low, because they are looking at the short term and not the long term value of customer acquisition and PR value. Revolution has been there before, too, when it made sense. I can see SuperCard being there because they volume customer acquisition and PR value is exactly what they need. If you have a specialized, expensive, vertical market product, MacZot might not be the way to go. Its harder to upsell later and there is a potential blow to perceived value if you drop your price from $999 to $49. I often work with magazines to give away older versions of software. Once you acquire a customer, even if they don't upgrade within a short term, you've already got a relationship with them. MacZot doesn't need to make that much money off of each unit, but their reasons are different from yours. They are able to do their thing all the time. They have a smart operation. On the other hand, there are companies out there that want to give you access to their customer base for sales purposes, but not share with you the customer list. Ive never been fond of that because that means you aren't building any customer equity. Some software developers will do it, because the partner will give access to a channel they are not able to acquire themselves without huge investments. That's one of the reasons why you see some titles showing up in the Apple Store under someone else's brand, but you are already familiar with them as a direct seller of their product. The cost of getting into stores is high - especially the Apple Store. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SendCardMessage questions
--- On Mon, 3/1/10, Paul D. DeRocco pdero...@ix.netcom.com wrote: 1) Does this require a freshly allocated string as its first parameter, which Revolution takes ownership of and eventually deletes? Or does it copy the data out of it, in which case the caller would have to delete it if it was dynamically allocated? 2) What context can this be called from? I would assume you couldn't call it from inside a hardware interrupt handler, because it would probably do something (allocate memory perhaps?) that's not legal inside a hardware interrupt handler. But how about in the context of some device driver thread? In particular, on Windows I'd like to call it from inside a MIDI input callback function, which isn't called by the main application thread, but isn't called in an interrupt handler either, so I assume it's a called by some thread associated with the device, or some multimedia thread in Windows. 2) What card does the message get sent to? The main stack's first card? Or does it depend upon what card is visible? What about if a dialog box is open? Thanks in advance. -- Ciao, Paul D. DeRocco I've replied on the forum: http://forums.runrev.com/phpBB2/viewtopic.php?f=17t=4969 HTH, Jan Schenkel. = Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Custom tab controls
Anyone here (Jerry?) willing to provide some pointers on how they ended up creating their own custom tab controls? Jeff M. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Trunc Error
I just found the following result. (1.2 - 0.8)/0.2 = 2 trunc( (1.2 - 0.8)/0.2) = 1 -- I have previously reported the following: on mouseUp repeat with n = 0 to 1 step 0.1 put n, after aList end repeat put aList end mouseUp returns: 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1, It should stop at 1 Also 0 to 0.8 step 0.1 stops at 0.9 ... there are others The use of the increment is consistent with the documentation. Are there other similar problems that users are aware of ? When applied properly, these can produce false results and make analysis using runRev questionable. I have reported these in the Rev Quality Control Center. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT: Good books on Cocoa dev? (spellcheck woes)
I've got an app coming up which is Mac-only and will involve a lot of text entry where spell checking is critical (photographer's metadata entry) - no matter which way I look at it the various spellchecking workarounds/stacks for Rev just won't cut it as there's no way to make them look native enough and keep good performance. although I'd love to be proved wrong on that... So, can anyone recommend a good starting point for Cocoa, for someone who's never been past 'Hello World' in XCode? ;-) Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] MacZot bundle features SuperCard
It does now, although I don't see what cans have to do with anything. Bob On Mar 2, 2010, at 7:01 AM, Andre Garzia wrote: I don't know if I am gifted with an uncanny software remembrance (does that word exists?) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: fonts: what is a point in Linux/Gnome?
Le 2 mars 10 à 16:41, François Chaplais a écrit : Le 2 mars 2010 à 08:45, G.Wolfgang Gaich a écrit : Hello all, I didn't read all the mails of this thread. My suggestion: In Ubuntu go to System/Preferences/Appearance/Fonts. Activate Subpixel smoothing and click on details. There you can adjust the resolution (dpi) to the needs of your display. dpi = xres x 2.54 / the width of your display For my display I have 116 dpi and the fontsizes are ok. Regards, Wolfgang I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. Now, if rev could incorporate this *other* side of the spectrum... But I guess this would imply switching to cocoa. François François, On Mac with the control key down, (either with the touchpad or the scroll wheel of the mouse), all what is on the screen in enlarged, including the rev stacks, isn'it? Amitiés de Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: fonts: what is a point in Linux/Gnome?
Le 2 mars 2010 à 17:56, Andre.Bisseret a écrit : I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. Now, if rev could incorporate this *other* side of the spectrum... But I guess this would imply switching to cocoa. François François, On Mac with the control key down, (either with the touchpad or the scroll wheel of the mouse), all what is on the screen in enlarged, including the rev stacks, isn'it? Amitiés de Grenoble André It does not work on my latest MBP, snow 10.6.2. Isn't that from the universal access system control panel? To go further, and this has been mentioned in this list, trapping multitouch gestures as messages would be handy (confider the future revmobile platform). This should be available to all platforms. The the stack could handle the message by itself (for instance enlarge the font size of a field). There is a report on this at qacenter # 8446 cheers François ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trunc Error
This has been covered extensively in the past 6 months and several solutions proposed, depending on your project requirements. go to http://search.gmane.org/?query=truncgroup=gmane.comp.ide.revolution.user put 'trunc' into the search for field then 'gmane.comp.ide.revolution.user' into the group field sort by 'newest' then search You will find many posts, some are directly related to using 'step' and its limitations. Jim Ault Las Vegas On Mar 2, 2010, at 8:33 AM, Schwartz, Jonathan L. wrote: I just found the following result. (1.2 - 0.8)/0.2 = 2 trunc( (1.2 - 0.8)/0.2) = 1 -- I have previously reported the following: on mouseUp repeat with n = 0 to 1 step 0.1 put n, after aList end repeat put aList end mouseUp returns: 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1, It should stop at 1 Also 0 to 0.8 step 0.1 stops at 0.9 ... there are others The use of the increment is consistent with the documentation. Are there other similar problems that users are aware of ? When applied properly, these can produce false results and make analysis using runRev questionable. I have reported these in the Rev Quality Control Center. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Docking Stacks
I searched around and haven't really found anything about interactions between multiple stacks similar to docking. The Problem: I have 4 stacks That I want to dock to the edges of each other (open on the edge, snap to the edge, etc). 1. Two of the stacks are menu stacks on either side of the larger main stack: One of these is used a menu to navigate the different aspects of the app. The other is used to display a report list depending on the selection in the menu stack. 2. A stack on the bottom to continually display help information. 3. The main stack is in the middle of all of this and the others need to snap/dock/open on the edge of this stack. [Menu stack][MAIN STACK][Reports Stack] [--Help Stack---] Any ideas on how to start adding this functionality? -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575334.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom tab controls
Jeff, Have a look in RevOnline. One of my stacks is tagged with Custom Control. This stack provides an example of a custom tab control. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 17:31 heeft Jeff Massung het volgende geschreven: Anyone here (Jerry?) willing to provide some pointers on how they ended up creating their own custom tab controls? Jeff M. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: fonts: what is a point in Linux/Gnome?
Le 2 mars 10 à 18:15, François Chaplais a écrit : Le 2 mars 2010 à 17:56, Andre.Bisseret a écrit : I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. Now, if rev could incorporate this *other* side of the spectrum... But I guess this would imply switching to cocoa. François François, On Mac with the control key down, (either with the touchpad or the scroll wheel of the mouse), all what is on the screen in enlarged, including the rev stacks, isn'it? Amitiés de Grenoble André It does not work on my latest MBP, snow 10.6.2. Isn't that from the universal access system control panel? Ah! yes; I just caught a glance (first time I go there;-)) In Préférences système / accès universel there is a pane Vue where it is possible to set the zoom To go further, and this has been mentioned in this list, trapping multitouch gestures as messages would be handy (confider the future revmobile platform). This should be available to all platforms. The the stack could handle the message by itself (for instance enlarge the font size of a field). There is a report on this at qacenter # 8446 Thanks for the link cordialement André cheers François ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
Bonjour Andrew, Have a look at drawer in the dictionary. If you are on mac, seems that could solve your problem. Unfortunately according to the doc, this command is not supported on Windows nor on Linux. Best regards from Grenoble André Le 2 mars 10 à 18:21, Andrew Kluthe a écrit : I searched around and haven't really found anything about interactions between multiple stacks similar to docking. The Problem: I have 4 stacks That I want to dock to the edges of each other (open on the edge, snap to the edge, etc). 1. Two of the stacks are menu stacks on either side of the larger main stack: One of these is used a menu to navigate the different aspects of the app. The other is used to display a report list depending on the selection in the menu stack. 2. A stack on the bottom to continually display help information. 3. The main stack is in the middle of all of this and the others need to snap/dock/open on the edge of this stack. [Menu stack][MAIN STACK][Reports Stack] [--Help Stack---] Any ideas on how to start adding this functionality? -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575334.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Datagrids and Google Spreadsheets
On 1 March 2010 15:00, Trevor DeVore li...@mangomultimedia.com wrote: On Feb 26, 2010, at 9:27 AM, David Bovill wrote: Trevor if you are listening - have you any scripts for extracting XML from datagrids that I could customise - I'm working with a version of your generic array to xml code - just wandering if you have any updates designed to work with data grids? The Data Grid is just storing an array so any generic array XML converter will work with the dgData property. Yes - that makes sense web site wise - found it interesting to see how closely the data structures map to each other. I think I found a problem with xml nodes being named the way datagrid does (not sure) - google atom formatted xml data uses entry tags and an xml param to store the order - was finding myself dreaming they used the same... I guess for speed i would just clond the dgData handlers and modify them placing them on the dg groups script ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
I made 2 stacks: A main stack called MAINST, and a substack called SUBBY and put this into the stackScript of MAINST on moveStack put the right of me into RITE put the width of stack SUBBY into WIDD put (RITE + (WIDD/2)) into INN put item 2 of the loc of me into UPP set the LOC of stack SUBBY to INN,UPP end moveStack play with it: http://andregarzia.on-rev.com/richmond/STUFF/MAINST.rev.zip there is a bit of a lagtime. sincerely, Richmond Mathewson. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
Just a thought given other things I've experienced... That moveStack is likely getting executed twice an causing problems: once for the main stack and once for the substack (which doesn't override the moveStack handler and so it falls through to the main stack's script). You could either: * put the moveStack handler in the card of the main stack * override the moveStack handler in the sub stack * check the short name of me to ensure it's the main stack To get rid of the lag, you may be able to lock the screen and unlock the screen after the stack moving is complete. It depends on when moveStack is called (after or before the move is complete). Jeff M. On Tue, Mar 2, 2010 at 11:56 AM, Richmond Mathewson richmondmathew...@gmail.com wrote: I made 2 stacks: A main stack called MAINST, and a substack called SUBBY and put this into the stackScript of MAINST on moveStack put the right of me into RITE put the width of stack SUBBY into WIDD put (RITE + (WIDD/2)) into INN put item 2 of the loc of me into UPP set the LOC of stack SUBBY to INN,UPP end moveStack play with it: http://andregarzia.on-rev.com/richmond/STUFF/MAINST.rev.zip there is a bit of a lagtime. sincerely, Richmond Mathewson. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
Andrew Kluthe wrote: I searched around and haven't really found anything about interactions between multiple stacks similar to docking. The Problem: I have 4 stacks That I want to dock to the edges of each other (open on the edge, snap to the edge, etc). 1. Two of the stacks are menu stacks on either side of the larger main stack: One of these is used a menu to navigate the different aspects of the app. The other is used to display a report list depending on the selection in the menu stack. 2. A stack on the bottom to continually display help information. 3. The main stack is in the middle of all of this and the others need to snap/dock/open on the edge of this stack. [Menu stack][MAIN STACK][Reports Stack] [--Help Stack---] Any ideas on how to start adding this functionality? Just set the correct side of one of the substacks to the correct side of the main stack. It's pretty easy: set the left of stack reports stack to the right of stack main stack set the right of stack menu stack to the left of stack main stack set the top of stack help stack to the bottom of stack main stack etc. If you want snapping behavior, handle the moveStack message and check if the two stack edges are within a certain distance of each other. If so, set the edges as per above to achieve a sudden snap. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
I definitely did not think it would be that easy. :) I already looked at the drawer functionality and realized it would be perfect, but I am developing for win32 :\. Thank you all for the wonderful suggestions! This is going to be my milemarker feature of the week. Something to make the boss go, ooo and remember why he pays me. Thanks, Andrew -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575436.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
A minor variation on Jacque's suggestion. on mouseUp set the topleft of stack theSecond to the topright of stack theFirst end mouseUp See A poor man's table field in Rev Online for an example of the docking of multiple fields to form a table. Jim Hurley ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
I searched around and haven't really found anything about interactions between multiple stacks similar to docking. Speaking as someone who has tried to build docking stacks in the past, there is almost always a bit of lag between dragging one stack and having the rest follow, especially on slower systems. There is also the issue of stack layering (one stack moving above or behind the other) -- this is more forgiving when stacks have no shadows (Windows). And you'll need to make sure that the docked stacks are aware of who is docked to who and who should be moved when any docked stack is dragged. Shao Sean has an external that is said to allow group dragging of stacks, but last I heard this is only for Mac. The most surefire way to make stacks dock is probably to copy the contents of a docked stack to the main stack when stacks are docked, so in reality there is only one stack present. But obviously it takes a lot of planning up front to make sure the contents of all your dockable stacks can be easily copied from stack to another. There is one of those cases where a view object (stack within a stack) would be immensely useful. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Scripting systemWindow
on mouseUp try if sSystemWindow is 0 then set the systemWindow of this stack to true put 1 into sSystemWindow else set the systemWindow of this stack to false put 0 into sSystemWindow end if catch e answer e end try end mouseUp I have this little guy to allow me to pin a stack on top of everything. It won't work, it seems like it throws an error because it brings tRev up to this chunk of code; however, I cannot get this error to display at all. I searched through the forums and found that someone else had tried almost the exact same code I did, but on MAC and got a bug. This was in 2006, so surely we can script systemWindow in windows 7 now. anyone else have trouble with this or have another snippet for pinning stacks on top? Thanks! Andrew -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575500.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
Hi Andrew, What have you found where in the forums? Do you have a link? One possibility here is that the stack that this stack refers to changes when the systemWindow property is set. Is the button with your script part of the stack that becomes a system window? It is possible that there is a bug in the debugger, which prevents the answer dialog from showing up. Try writing a header plus the error data to a file. Once you have the error message, you can parse it at http://runrev.info/error.html -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 19:58 heeft Andrew Kluthe het volgende geschreven: on mouseUp try if sSystemWindow is 0 then set the systemWindow of this stack to true put 1 into sSystemWindow else set the systemWindow of this stack to false put 0 into sSystemWindow end if catch e answer e end try end mouseUp I have this little guy to allow me to pin a stack on top of everything. It won't work, it seems like it throws an error because it brings tRev up to this chunk of code; however, I cannot get this error to display at all. I searched through the forums and found that someone else had tried almost the exact same code I did, but on MAC and got a bug. This was in 2006, so surely we can script systemWindow in windows 7 now. anyone else have trouble with this or have another snippet for pinning stacks on top? Thanks! Andrew ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
sending data to a printer over v.24 rs232 interface to a printer under windows
Hi, today i got a call from a customer. He is using a special (programmable) keyboard, which is connected via v.24 interface directly to a barcode printer. the keyboard runs a 12 line basic program, which waits for an input from the keybord. This input then is sent with severeal controlcodes via V.24 to the printer. Now the keyboard is broken and it takes about 12 weeks before the new one arrives here. So my question is, how complicated is it to write some code in rev to communicate with the V.24 interface to sent the data from the rev app? Is there anyone on the list, who has done something similar? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] The Slug's Color Picker is now on the road for beta test
Hi André and René, 2010/3/2 Andre.Bisseret andre.bisse...@inria.fr: Thank you Zryip :-) I tried it; when dragging the tools palette it's putting back docilely ;-) You're welcome 8-) But seems that Color Picker keeps staying in front so that it is not possible to get the properties of another stack in the inspector? (not possible to name a new stack for example). Might be I am missing something? Right, it's because, for the moment, the Picker is sent constantly to front, otherwise it returns behind the tools palette and is covered by its shadow effect. Not thought to that, it's a bug. I must doing things differently to be more accurate in how the Picker must be sent to front. Thanks for your observation ;) I was wondering if drawer at bottom? could do the trick (but the doc says that it works on Mac only :-( I forget to precise that the picker works on the two platforms. I'll do my best to fix the problem by other ways ;) 2010/3/2 René Micout rene.mic...@numericable.com: Slug, Yes, yes, yes for the new version ! Thanks René 8-) But how can I stop using Color Picker ? You can't... for now. In a first time I will probably close it in the same time that the tools palette and add a contextual menu to close it. Thanks again for your feedbacks André and René 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
Post I found: http://n4.nabble.com/systemWindow-question-td300545.html#a300545 Yes, the button belongs to the stack that is executing it. I had originally given it the path to the stack with the same results. And, I am kind a noob to rev here. Can you elaborate on the process to do what you request? Also, I will try it with the regular Rev editor later instead of tRev to see if I get a different message or response. Thanks, Andrew -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575588.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
I figured out what you meant, and no error message is being output and the script editor is not doing anything now. However, the above statement has no effect on the systemWindow property of the stack. -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575596.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
Andrew Kluthe wrote: Post I found: http://n4.nabble.com/systemWindow-question-td300545.html#a300545 I just tried it and it works fine here, on both Mac OS X and Windows XP. I used this: on mouseUp set the systemwindow of this stack to not the systemwindow of this stack end mouseUp On Windows the window dims if it isn't in focus but it still floats. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RevBrowserPrint
Anyone have any experience working with this command? I'd like to suppress the print dialog if possible, and if that's not possible then it's important to know whether the user completed or dismissed the print dialog. I'm not getting anything returned in the result which would indicate what the user did with the print dialog window (which seems unavoidable). Thanks, Ray Horsley LinkIt! Software ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
J. Landman Gay's snippet works. How is it so different pragmatically from what I did? Hmm weird. Thanks! -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575655.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
I looked at your script. I am not sure what sSystemWindow is. But using NOT to toggle a logical value is really what you are looking for. Bob On Mar 2, 2010, at 12:27 PM, Andrew Kluthe wrote: J. Landman Gay's snippet works. How is it so different pragmatically from what I did? Hmm weird. Thanks! -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575655.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
Hi Andrew, Just a wild guess, did you perhaps forget to make sSystemWindow a local or global variable? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 21:27 heeft Andrew Kluthe het volgende geschreven: J. Landman Gay's snippet works. How is it so different pragmatically from what I did? Hmm weird. Thanks! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
:-P doh, that explains why after fixing it, the button would always toggle false. -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575708.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting systemWindow
Heh heh. Been there, done that. I think that's why setting the property to *NOT* the property is a better way to go. Less moving parts. I think of properties as variables that remain persistent and are global by nature. Obviously they are a different kind of animal, as anyone on this list will be quick to point out, but from a programmatical point of view it serves me well. One other advantage to accessing a property directly is I can tell any time I want what is in the property. With Variables, I have to be running a script, either in a script or in the message box. That bit of wisdom and $2.40 will get you a venti brew with 5 shots of your favorite syrup at your local Starbucks. Bob On Mar 2, 2010, at 1:00 PM, Andrew Kluthe wrote: :-P doh, that explains why after fixing it, the button would always toggle false. -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575708.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom tab controls
Hi Jeff, Download the stack (only 3k) from my webpage: http://capellan2000.000space.com/Tabbed_interfacev01.zip This website 000space does not allow hotlinking, so if clicking the previous link produces an error, then 1) visit my site at: http://capellan2000.000space.com and after my page load, 2) paste the link and download the file: http://capellan2000.000space.com/Tabbed_interfacev01.zip In Oct 29, 2005; 08:02pm, i wrote the following about this stack: [ANN] Tabbed interface v01 Hi developers, Download this version 01 of a tabbed interface for stacks with many cards. Yesterday, i started this stack and think could be an interesting starting point if you need to create a tabbed interface. This stack could be a lot more polished, but i'm posting it today with the hope that it picked the curiosity of many developers and newbies to start exploring, experimenting and publishing better tabbed interfaces for all RR/MC/DC developers! :D Usage: When you click in a button in the navigation bar, you go to the card named in the button. Each time you create a new card, a button with the name of the card is added automatically to the top row and get a lighter backcolor (think of this as a hilite). Each time you delete a card, his button is deleted automatically and the button of the top card get hilited. Click the buttons named Create Card and Delete this Card to see this action. If you select text in the main field, you could get a contextual menu by clicking with the third mouse button. From this contextual menu, you could create a new card too. :D Keep us posted in this mail list about any enhancement that you could made to the graphics and the code of this stack. al -- View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom tab controls
piqued On Mar 2, 2010, at 1:30 PM, Alejandro Tejada wrote: picked ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom tab controls
How odd. This showed up with a .mc extension, and opened in something called TestAETE, and worked! When I changed the extension to .rev, it opened in Revolution and worked there too! What in the world is TestAETE? It was in my Revcon Downloads folder. Bob On Mar 2, 2010, at 1:30 PM, Alejandro Tejada wrote: Hi Jeff, Download the stack (only 3k) from my webpage: http://capellan2000.000space.com/Tabbed_interfacev01.zip This website 000space does not allow hotlinking, so if clicking the previous link produces an error, then 1) visit my site at: http://capellan2000.000space.com and after my page load, 2) paste the link and download the file: http://capellan2000.000space.com/Tabbed_interfacev01.zip In Oct 29, 2005; 08:02pm, i wrote the following about this stack: [ANN] Tabbed interface v01 Hi developers, Download this version 01 of a tabbed interface for stacks with many cards. Yesterday, i started this stack and think could be an interesting starting point if you need to create a tabbed interface. This stack could be a lot more polished, but i'm posting it today with the hope that it picked the curiosity of many developers and newbies to start exploring, experimenting and publishing better tabbed interfaces for all RR/MC/DC developers! :D Usage: When you click in a button in the navigation bar, you go to the card named in the button. Each time you create a new card, a button with the name of the card is added automatically to the top row and get a lighter backcolor (think of this as a hilite). Each time you delete a card, his button is deleted automatically and the button of the top card get hilited. Click the buttons named Create Card and Delete this Card to see this action. If you select text in the main field, you could get a contextual menu by clicking with the third mouse button. From this contextual menu, you could create a new card too. :D Keep us posted in this mail list about any enhancement that you could made to the graphics and the code of this stack. al -- View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
Hi Andrew, Chipp Walter published a palette that works like your description: http://www.altuit.com/webs/altuit2/altPluginCover/fontcolor=redDownloadPluginsfont.htm I am sure that Chipp published a stack with the specific code that you look for, but could not find the exact name, right now. Probably someone else have this stack in their hard disk and could post the exact name. Alejandro -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575781.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Docking Stacks
2010/3/2 Andrew Kluthe and...@rjdfarm.com: I searched around and haven't really found anything about interactions between multiple stacks similar to docking. The Problem: I have 4 stacks That I want to dock to the edges of each other (open on the edge, snap to the edge, etc). 1. Two of the stacks are menu stacks on either side of the larger main stack: One of these is used a menu to navigate the different aspects of the app. The other is used to display a report list depending on the selection in the menu stack. 2. A stack on the bottom to continually display help information. 3. The main stack is in the middle of all of this and the others need to snap/dock/open on the edge of this stack. [Menu stack][MAIN STACK][Reports Stack] [--Help Stack---] Any ideas on how to start adding this functionality? Hi Andrew, In my color picker projects I'm using a send message in time form to dock the picker at the bottom of the RR tools palette on preopenCard scanForRevToolsEvent end preopenCard constant kRevToolsPalette = RevTools command scanForRevToolsEvent pToolsRect, pVisibility, pMode, pTool local tTheCurrenctRect, tTheCurrentVisibility, tCurrentMode, tCurrentTool put the rect of stack kRevToolsPalette into tTheCurrenctRect put the visible of stack kRevToolsPalette into tTheCurrentVisibility put the mode of stack kRevToolsPalette into tCurrentMode put the tool into tCurrentTool if (there is no stack pickerDragControl) then switch case (tTheCurrenctRect is not pToolsRect) -- The tool palette change of rect or loc set the topLeft of this stack to the bottomLeft of stack kRevToolsPalette go to this stack break case (tTheCurrentVisibility is not pVisibility) -- The visibility of the tool palette has changed set the visible of this stack to tTheCurrentVisibility break case (tCurrentMode is not pMode) -- The tools palette has been closed or opened set the visible of this stack to (pMode is 0) break case (tCurrentTool is not pTool) -- the tool has changed go to this stack break end switch end if send scanForRevToolsEvent tTheCurrenctRect,tTheCurrentVisibility,tCurrentMode,tCurrentTool to me in 100 milliseconds end scanForRevToolsEvent In case of some of this code could be useful for you. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] The Slug's Color Picker is now on the road for beta test
2010/3/2 zryip theSlug zryip.thes...@gmail.com: The beta version 0.1e is available on my website. The picker not only follow the move of the tool palette, it also follow it's visible state. I improved the code to send the picker to front in a few case linked directly to the state of the tool palette, so it could prevent the problem described by André. To René : I added a contextual menu to close the picker. I hope that this new version will please you ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
XML-RPC doc
Hello there... I don't find much info on XML-RPC usage in RunRev. What could you advise for a start...? Thanks in advance, -- André Rombauts, an...@rombauts.be Envoyé par Powermail 6.0.3 Build 4609 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: XML-RPC doc
Andre- Tuesday, March 2, 2010, 3:28:22 PM, you wrote: I don't find much info on XML-RPC usage in RunRev. What could you advise for a start...? Check out my libSOAP library on revOnline... that should give you something to start with. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sending data to a printer over v.24 rs232 interface to a printer under windows
today i got a call from a customer. He is using a special (programmable) keyboard, which is connected via v.24 interface directly to a barcode printer. the keyboard runs a 12 line basic program, which waits for an input from the keybord. This input then is sent with severeal controlcodes via V.24 to the printer. Now the keyboard is broken and it takes about 12 weeks before the new one arrives here. So my question is, how complicated is it to write some code in rev to communicate with the V.24 interface to sent the data from the rev app? If you can know the control codes and can connect to the printer using a serial interface, then you can configure the serial port, open it and send commands. Check out my serial test stack for some ideas on getting started: http://www.troz.net/rev/stacks/SerialTest.rev. HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Good books on Cocoa dev? (spellcheck woes)
On Wed, Mar 3, 2010 at 2:45 AM, Ian Wood revl...@azurevision.co.uk wrote: I've got an app coming up which is Mac-only and will involve a lot of text entry where spell checking is critical (photographer's metadata entry) - no matter which way I look at it the various spellchecking workarounds/stacks for Rev just won't cut it as there's no way to make them look native enough and keep good performance. although I'd love to be proved wrong on that... I found a good sequence of books when teaching myself iPhone programming, so here it is: If you don't know any C, then start with Learn C on the Mac http://www.apress.com/book/view/9781430218098. Although some of the later stuff is not really relevant to Objective-C, you need to know the basics of the syntax. If you already know some C, then go to Learn Objective-C on the Mac http://www.apress.com/book/view/9781430218159. After that, I went to Beginning iPhone Development http://www.apress.com/book/view/9781430224594 but the Mac equivalent is Learn Cocoa on the Mac http://www.apress.com/book/view/9781430218593. HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Can't send click in time
I can send a mouseUp to button A in 1 milliseconds but send click at loc of button A in 1 millisecond generates an error in the IDE. How can I send a click in time? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Can't send click in time
Recently, Bill Vlahos wrote: I can send a mouseUp to button A in 1 milliseconds but send click at loc of button A in 1 millisecond generates an error in the IDE. How can I send a click in time? Here's one way: on mouseUp send clickButton to me in 1 millisecs end mouseUp on clickButton click at loc of btn A end clickButton Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: XML-RPC doc
Andre I have some code for XML-RPC, do you want a client or a server? cheers On Tue, Mar 2, 2010 at 9:23 PM, Mark Wieder mwie...@ahsoftware.net wrote: Andre- Tuesday, March 2, 2010, 3:28:22 PM, you wrote: I don't find much info on XML-RPC usage in RunRev. What could you advise for a start...? Check out my libSOAP library on revOnline... that should give you something to start with. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Good books on Cocoa dev? (spellcheck woes)
Strongly recommend Beginning Mac Programming in Cocoa http://www.pragprog.com/titles/tibmac/beginning-mac-programming. The Pragmatic Programmer publishing house hasn't done a bad book (so far)! Best regards Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to ca...@dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Tue, Mar 2, 2010 at 7:42 PM, Sarah Reichelt sarah.reich...@gmail.comwrote: On Wed, Mar 3, 2010 at 2:45 AM, Ian Wood revl...@azurevision.co.uk wrote: I've got an app coming up which is Mac-only and will involve a lot of text entry where spell checking is critical (photographer's metadata entry) - no matter which way I look at it the various spellchecking workarounds/stacks for Rev just won't cut it as there's no way to make them look native enough and keep good performance. although I'd love to be proved wrong on that... I found a good sequence of books when teaching myself iPhone programming, so here it is: If you don't know any C, then start with Learn C on the Mac http://www.apress.com/book/view/9781430218098. Although some of the later stuff is not really relevant to Objective-C, you need to know the basics of the syntax. If you already know some C, then go to Learn Objective-C on the Mac http://www.apress.com/book/view/9781430218159. After that, I went to Beginning iPhone Development http://www.apress.com/book/view/9781430224594 but the Mac equivalent is Learn Cocoa on the Mac http://www.apress.com/book/view/9781430218593. HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Can't send click in time
Perfect. Thanks Scott. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 2, 2010, at 4:53 PM, Scott Rossi wrote: Recently, Bill Vlahos wrote: I can send a mouseUp to button A in 1 milliseconds but send click at loc of button A in 1 millisecond generates an error in the IDE. How can I send a click in time? Here's one way: on mouseUp send clickButton to me in 1 millisecs end mouseUp on clickButton click at loc of btn A end clickButton Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
parsing data returned from the foundLine
Hello folks, I have a small 3 column list (tab delimited) where I need to check the contents for duplicate data that may be found in any of two fields or columns, then act on the line that contains that data if found. As an example, in my handler I'm using: find ABC-5678-A in tData put the foundLine into tLineFound answer tLineFound which correctly returns something like: line 2 of field 2 I've tried -several- different ways to parse the returned data for additional processing, but have yet to come up with the right solution. I know this must be extremely easy to do in Rev (there always is, it seems like), but I've run out of hair to pull in trying to figure out what I'm overlooking. Any ideas or maybe a better approach that can be recommended? Best regards, David C. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Good books on Cocoa dev? (spellcheck woes)
Aaron Hillegass' book is good: http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=sr_1_1?ie=UTF8s=booksqid=1267585663sr=8-1 More info at his Big Nerd Ranch website: http://www.bignerdranch.com Jim On Tue, Mar 2, 2010 at 8:05 PM, Neal Campbell nealk...@gmail.com wrote: Strongly recommend Beginning Mac Programming in Cocoa http://www.pragprog.com/titles/tibmac/beginning-mac-programming. The Pragmatic Programmer publishing house hasn't done a bad book (so far)! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Good books on Cocoa dev? (spellcheck woes)
Ian, The look of the spell check dialogue in the RunRevPlanet SpellCheck Stack is completely skinnable so it may be simpler (and much quicker) to make it look the way you need for your Mac application without learning Cocoa. In terms of performance, RRP SpellCheck is fast, with over 25,000 words per second a typical speed for a check. If the RunRevPlanet SpellCheck Stack doesn't currently meet your needs, any specific feedback is most welcome, as I work hard to make stacks from RunRevPlanet do what Revolution users need. Scott. www.runrevplanet.com -- View this message in context: http://n4.nabble.com/OT-Good-books-on-Cocoa-dev-spellcheck-woes-tp1575279p1576027.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parsing data returned from the foundLine
David Coker wrote: Hello folks, I have a small 3 column list (tab delimited) where I need to check the contents for duplicate data that may be found in any of two fields or columns, then act on the line that contains that data if found. As an example, in my handler I'm using: find ABC-5678-A in tData put the foundLine into tLineFound answer tLineFound which correctly returns something like: line 2 of field 2 I've tried -several- different ways to parse the returned data for additional processing, but have yet to come up with the right solution. I know this must be extremely easy to do in Rev (there always is, it seems like), but I've run out of hair to pull in trying to figure out what I'm overlooking. Any ideas or maybe a better approach that can be recommended? Try: get the value of the foundline -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
I'm still trying to get Windows file associations on Vista worked out over here and am looking for suggestions. I've set up registry entries based on Ken Ray's tips: http://tinyurl.com/yfmdsht and everything appears to in place. But documents created by my app continue to show up as generic icons. Double-clicking them brings up the What program do you want to use to open...? dialog and my app is listed there, but I can't get Vista to properly display the document icon contained in the standalone. Also, I don't understand how to implement the following so that double-clicked documents open my app: on openStack put $0 into theAppPath put $1 into theDocToOpen -- stuff here to launch the doc in my app? end openStack Currently double-clicking my documents launches multiple instances of my app. I'm using a splash/data stack app setup, and I've tried to pass the doc name to an Open File menu routine. Does the above need to go in the splash standalone, or can it go in card script of my data stack? Am I right in passing the doc name to my Open File handler? Do I need to do something else? Thanks for any advice... Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
Are you trying to set the registry under Vista without administrative privileges? (If UAC is enabled, and it is by default, then even if you are the primary admin user of the system you won't have sufficient privileges to set the registry. If you are testing this from the IDE, before launching, right click Rev and choose to Run as administrator) If this isn't the trouble then I would be happy to send you code that I'm using in an application, though I struggled with Ken's directions (I think his directions are fine and I was glad to have the advice but my previous experience with the subject was nil) and still have no great understanding myself. For documents launching multiple instances see relaunch in the dictionary where there is a note to look at an example stack. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- On Mar 2, 2010, at 8:43 PM, Scott Rossi wrote: I'm still trying to get Windows file associations on Vista worked out over here and am looking for suggestions. I've set up registry entries based on Ken Ray's tips: http://tinyurl.com/yfmdsht and everything appears to in place. But documents created by my app continue to show up as generic icons. Double-clicking them brings up the What program do you want to use to open...? dialog and my app is listed there, but I can't get Vista to properly display the document icon contained in the standalone. Also, I don't understand how to implement the following so that double-clicked documents open my app: on openStack put $0 into theAppPath put $1 into theDocToOpen -- stuff here to launch the doc in my app? end openStack Currently double-clicking my documents launches multiple instances of my app. I'm using a splash/data stack app setup, and I've tried to pass the doc name to an Open File menu routine. Does the above need to go in the splash standalone, or can it go in card script of my data stack? Am I right in passing the doc name to my Open File handler? Do I need to do something else? Thanks for any advice... Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
Recently, Scott Morrow wrote: Are you trying to set the registry under Vista without administrative privileges? (If UAC is enabled, and it is by default, then even if you are the primary admin user of the system you won't have sufficient privileges to set the registry. If you are testing this from the IDE, before launching, right click Rev and choose to Run as administrator) I am using an installer (Inno Setup) to modify the registry and I am running as administrator. I believe the keys are being set correctly because I can view them using RegEdit. If this isn't the trouble then I would be happy to send you code that I'm using in an application, though I struggled with Ken's directions (I think his directions are fine and I was glad to have the advice but my previous experience with the subject was nil) and still have no great understanding myself. If you don't mind, I would like to see your code. Very little is working for me compared to what folks have explained in the mail list archives. For documents launching multiple instances see relaunch in the dictionary where there is a note to look at an example stack. In my stack, the relaunch message is apparently not being called for some reason. I've tried placing it in the stack script and in a stack script behavior, and still nothing is happening. Still trying to figure out what's going on. Thanks Scott. Regards, Scott Rossi Creative Director Tactile Media, UX Design Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- On Mar 2, 2010, at 8:43 PM, Scott Rossi wrote: I'm still trying to get Windows file associations on Vista worked out over here and am looking for suggestions. I've set up registry entries based on Ken Ray's tips: http://tinyurl.com/yfmdsht and everything appears to in place. But documents created by my app continue to show up as generic icons. Double-clicking them brings up the What program do you want to use to open...? dialog and my app is listed there, but I can't get Vista to properly display the document icon contained in the standalone. Also, I don't understand how to implement the following so that double-clicked documents open my app: on openStack put $0 into theAppPath put $1 into theDocToOpen -- stuff here to launch the doc in my app? end openStack Currently double-clicking my documents launches multiple instances of my app. I'm using a splash/data stack app setup, and I've tried to pass the doc name to an Open File menu routine. Does the above need to go in the splash standalone, or can it go in card script of my data stack? Am I right in passing the doc name to my Open File handler? Do I need to do something else? Thanks for any advice... Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
Recently, I wrote: For documents launching multiple instances see relaunch in the dictionary where there is a note to look at an example stack. In my stack, the relaunch message is apparently not being called for some reason. I've tried placing it in the stack script and in a stack script behavior, and still nothing is happening. Still trying to figure out what's going on. Is it possible that the relaunch message is failing for me because I'm using a splash/data arrangement for my standalone? My splash executable launches a data stack and then closes the launching stack. Could this be why any subsequent launches of the EXE don't trigger the relaunch handler? Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: File Associations?
From: cott Rossi I'm still trying to get Windows file associations on Vista worked out over here and am looking for suggestions. I've set up registry entries based on Ken Ray's tips: http://tinyurl.com/yfmdsht and everything appears to in place. But documents created by my app continue to show up as generic icons. Double-clicking them brings up the What program do you want to use to open...? dialog and my app is listed there, but I can't get Vista to properly display the document icon contained in the standalone. Works on my XP system, but I didn't use those function calls to set it up. Instead, I manually created the association by right-clicking a file, selecting Open With, and navigating to my program. You might try removing all the keys you created with Regedit, manually create the association, and then see what the OS put there, so that you can make your program do the same thing. As to your second question, I've never tried the splash/data paradigm, so I can't help. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
Hello Scott This post has the scripting I use for Relaunch so that multiple instance of the app won't launch. I'm using it with a Splash-screen design as well. There are 2 script blocks, the first of which has to go at the stack level. The pile of comments indicates how insecure I was with the code. Below the Relaunch script is additional code I placed at the card level of the Splash-screen stack (I'm not sure it needs to be there) I'll post again about registry. - Scott Morrow -- -- In the main stack script of the Splash-screen (executable) and in fact can't be placed at the card level. Begin Relaunch Block - -- -- If the applications mainstack (not sent to the card) has a 'relaunch' handler, then Revolution will treat -- -- it as a 'single-instance' application. This means that if a second instance is launched -- -- the original instance will be sent a 'relaunch' message before the new instance starts up. on relaunch -- -- The parameters for relaunch are the command-line arguments passed when invoking the -- -- new instance. Revolution does the same processing of these as it does for the $n -- -- global variables. i.e. -- -- 1 ) It splits the command-line up into Words -- -- 2 ) Removes quotes bracketing any quoted argument -- -- 3 ) Replaces '\' with '/' -- put empty into tParamList repeat with tIndex = 1 to the paramCount -- get Log( param( tIndex ) = param(tIndex)) put param(tIndex) CR after tParamList end repeat put token 1 to -1 of tParamList into tParamList -- -- Passing the relaunch message will cause the new instance to continue to load. -- if the hilite of btn Pass Relaunch then -- get Log(Passing Relaunch) -- pass relaunch -- end if -- -- Returning background will cause the existing instance to remain in the background -- -- and the new instance to quit. -- if the hilite of btn Remain in Background then -- get Log(Relaunch and Remaining in background) -- return background -- end if -- get Log(Relaunch Processed) -- -- Try to keep processing in the relaunch handler to a minimum as the new instance -- -- waits for a reply. In particular, you must not open any windows (especially modal -- -- dialogs) as this will cause an automatic pass. -- -- Therefore, it is best to do the main part of the processing after relaunch has -- -- sent back its acknowledgement. To do this we send a message to be executed as soon as -- -- the current handler stack resolves. -- send processRelaunch param(1) to me in 0 millisecs send processRelaunch tParamList to cd 1 of me in 0 millisecs -- -- Returning empty will cause the existing instance to be brought to the front, and -- -- the new instance to quit. return empty end relaunch -- As described above, it is best to do all the processing of the relaunch *after* -- the relaunch message has been acknowledged. -- Here we just open an open-file dialog with the path passed to the command-line. -- -- Note that when a modal dialog is being displayed, you can still receive the 'relaunch' -- message. However, using messages as we have here will result in them being -- automatically queued. End Relaunch Block --- -- -- Card Level of the Splash-screen stack -- this handler recieves a list of files that caught by the Relaunch handler in the stack script -- multiple instances of this Splash executable were not allowed to launch -- and the file paths were passed along to the currently running instance of the Splash executable -- were we can open them -- this handler is nearly the same as the esOpenAppleEventDoc handler on processRelaunch tFilesPathsToOpen if tFilesPathsToOpen empty then -- there was a relaunch message handled by the stack script repeat for each line tNewDataPath in tFilesPathsToOpen -- could be multiple files VerifyClassFile tNewDataPath -- Mr. Rossi can ignore this line, I'm just verifying a file before trying to open it send PreOpenStack to stack tNewDataPath end repeat end if end processRelaunch On Mar 2, 2010, at 10:48 PM, Scott Rossi wrote: Recently, I wrote: For documents launching multiple instances see relaunch in the dictionary where there is a note to look at an example stack. In my stack, the relaunch message is apparently not being called for some reason. I've tried placing it in the stack script and in a stack script behavior, and still nothing is happening. Still trying to figure out what's going on.
Re: XML-RPC doc
I don't find much info on XML-RPC usage in RunRev. What could you advise for a start...? Check out my libSOAP library on revOnline... that should give you something to start with. Thanks Mark. I'll have a look. -- André Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fléron, Liège (BE) an...@rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: XML-RPC doc
I have some code for XML-RPC, do you want a client or a server? Thanks... André :-) A client. In fact, I'm trying to develop a client system for a school project where students are accessing a Wordpress driven meeting place. -- André Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fléron, Liège (BE) an...@rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File Associations?
Hello Scott, I'm not using Inno Installer but a custom installer application made with Rev. Before trying to set the registry my installer has elevated itself to have administrative privileges (by adjusting the manifest with Resource Tuner as described by Trevor DeVore) I believe this is all the pertinent code from my installer application and I'm sure you will recognize Ken's instructional outline as the foundation. I've left in some code specific to my app and referenced custom properties that you would need to substitute your own data in for. Hopefully this will shed a light of Ray. (pun intended) -Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- local lErrorLog on SetWindowsRegistry put empty into lErrorLog put Setting the registry into fld progressInfo of cd install of stack elsoInstaller wait 1 sec set the customPropertySet of stack elsoInstaller to empty set the customPropertySet of stack elsoInstallerLib to empty -- tProgramFilesFolderPath -- the path to the Programs folder -- C:/Program Files put fld installPath of cd destination of stack elsoInstaller into tProgramFilesFolderPath -- tAppFolder -- the name of OUR folder that contains the application we are installing -- Report Card Pro set the itemDel to / put item -1 of tProgramFilesFolderPath into tAppFolder -- put the uEnclosingFolderName of stack elsoInstaller into tAppFolder -- the user has control over this part of the path -- tAppName -- the name of the executable application we are installing -- Report Card Pro put the uAppName of stack elsoInstaller into tAppName -- tAppExecutablePath -- the fileName (Full Path) of the .exe put tProgramFilesFolderPath / tAppName into tAppExecutablePath -- save the full path in case we need to launch the app just before quiting this installer set the uLaunchPath of stack elsoInstaller to tAppExecutablePath replace / with \ in tAppExecutablePath -- tDocExtension -- the dot extension that is associated with the application we are installing -- .rcp put the uFileExtention of stack elsoInstaller into tDocExtension if tDocExtension is empty then put Ther was an error attempting to set the Registry because file extension information was missing cr after lErrorLog return file extension missing exit SetWindowsRegistry end if -- -- Set the Windows Registry if necessary -- -- Check to make sure the Windows Registry is set to associate the .rcp file extension with ReportCard_Pro if queryRegistry(HKEY_CLASSES_ROOT\tDocExtension\) tAppFolder then -- there is no Registry key for the file extension -- so let's set it up --1. Create a key in HKEY_CLASSES_ROOT for the extension, and use the default value to point to the name of the application -- get setRegistry(HKEY_CLASSES_ROOT\.tst\,TestApp) get setRegistry(HKEY_CLASSES_ROOT\tDocExtension\,tAppFolder) put the result into tResult if tResult is not empty then put setRegistry error 1 tResult cr after lErrorLog -- Custom error reporting return tResult end if if lErrorLog is empty then --2. Create a key in HKCR for the application itself, using the default value to point to a descriptor of the kind of document used by the app -- this will be used in list views to show the kind of file a document of TestApp is: -- get setRegistry(HKEY_CLASSES_ROOT\TestApp\,TestApp document) put tAppFolder document into tAppDocAssoc get setRegistry(HKEY_CLASSES_ROOT\tAppFolder\,tAppDocAssoc) put the result into tResult if tResult is not empty then put setRegistry error 2 tResult cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --3. Create a subkey of HKCR\TestApp to hold the default icon for the application. Rev document icons are in the first position -- get setRegistry(HKEY_CLASSES_ROOT\TestApp\DefaultIcon\,C:\Program Files\TestApp\TestApp.exe,1) put tAppExecutablePath COMMA 1 into tDefaultIconString get setRegistry(HKEY_CLASSES_ROOT\tAppFolder\DefaultIcon\,tDefaultIconString) put the result into tResult if tResult is not empty then put setRegistry error 3 tResult cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --4. Create