ObjectList as a variable won't go?
Hi there ObjectList is used in cunjunction wuth GROUP and SELECT. But objectList wont go as a variable. Hee's what I have: on mouseUp put number of grps of grp Workarea into X repeat with i = 1 to X put grp (GP i) and after oList end repeat delete last word of oList select oList end mouseUp This gives a chunck error. What to do? Mic ___ 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: ObjectList as a variable won't go?
Hi Michael, The following example works: select control 1 and control 2 As always: what is the chunk error exactly? When you *mention* getting an error, you should also *post* this error. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 21 jun 2010, at 09:43, Michael Kristensen wrote: Hi there ObjectList is used in cunjunction wuth GROUP and SELECT. But objectList wont go as a variable. Hee's what I have: on mouseUp put number of grps of grp Workarea into X repeat with i = 1 to X put grp (GP i) and after oList end repeat delete last word of oList select oList end mouseUp This gives a chunck error. What to do? Mic ___ 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: ObjectList as a variable won't go?
Michael, Thinking about it again, I believe this simply doesn't work with variables (=references as strings). It only works with actual references to objects. You can avoid this problem by using the do command (which seems a bit ironic, considering a recent thread on the list). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 21 jun 2010, at 09:43, Michael Kristensen wrote: Hi there ObjectList is used in cunjunction wuth GROUP and SELECT. But objectList wont go as a variable. Hee's what I have: on mouseUp put number of grps of grp Workarea into X repeat with i = 1 to X put grp (GP i) and after oList end repeat delete last word of oList select oList end mouseUp This gives a chunck error. What to do? Mic ___ 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: ObjectList as a variable won't go?
You need to look at the list you are creating, compare it to the dictionary example (the Select command), and then fix you code to generate a valid string. You should not have to use the 'DO' command.. There is no reason to expect it to work as you have written it. On Jun 21, 2010, at 12:43 AM, Michael Kristensen wrote: Hi there ObjectList is used in cunjunction wuth GROUP and SELECT. But objectList wont go as a variable. Hee's what I have: on mouseUp put number of grps of grp Workarea into X repeat with i = 1 to X put grp (GP i) and after oList end repeat delete last word of oList select oList end mouseUp This gives a chunck error. What to do? Jim Ault Las Vegas ___ 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: ObjectList as a variable won't go?
Hi Jim, Have you actually tried it, keeping the list of references in a variable while not using the do command? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 21 jun 2010, at 15:03, Jim Ault wrote: You need to look at the list you are creating, compare it to the dictionary example (the Select command), and then fix you code to generate a valid string. You should not have to use the 'DO' command.. There is no reason to expect it to work as you have written it. ___ 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: DISTINCT not working - varchar
Ivan, thanks so much for the quick response. Now I see I find my self between a rock and a hard place! As I'm using V4Rev, the Rev User Manual says this: 6.4.6Manipulating Unicode – Using UTF-8 While Revolution fields support display of Unicode in UTF-16, Revolution’s chunk expressions are currently not aware of Unicode. Support is planned in the future. At present you should write your own functions to process Unicode text. Important: We recommend you use UTF-8 in your application whenever you want to store or manipulate Unicode data. UTF-8 has the advantage that it preserves ASCII punctuation. This means that you can still use the word, item and line chunk expressions to manipulate UTF-8. You cannot use the character chunk as that will return individual bytes. Looks like I'm going to need to write some function to handle Unicode - there's no point using Rev if you can't use chunk expressions:-( Thanks also for the conversion How Too, worked perfectly, now I can DISTINCT:-) Very much appreciated. On Mon, Jun 21, 2010 at 8:11 PM, Ivan Smahin ivan_sma...@paradigmasoft.comwrote: Hello Kay, Monday, June 21, 2010, 8:50:19 AM, you wrote: Hi Ruslan, No it is not. I clicked the box to test it but it came up with a confirmation message, suggesting that I probably should really understand what I'm about to do - which I don't. I did a quick search of the Wiki but didn't learn much. If IndexedByWords has to be checked what are the other consequences - why would I, why wouldn't I? What constitutes a word - my varchar fields can contain things like AMS#deg°C, or maybe a URL with all sorts of funny characters. I could extract a distinct list by other means if I had to. DISTINCT just worked in mySQL and postgreSQL so curious to learn why Valentina my handle it differently. Thanks again On Mon, Jun 21, 2010 at 1:15 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: On 6/20/10 5:13 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: Hi Kay, Is field marked as IndexedByWords? simple SQL query: SELECT DISTINCT category FROM products returns every single row, all category returned multiple times. Tested in VStudio 4.5 and same result. Searching the List I see Christian reported getting Errors 1 year ago when doing DISTINCT on varchar fields. My field is varchar but I don't get an error I just get exactly the same result as if I'd done: SELECT category FROM products Did a quick test on unsigned short and date field and got correct results. Is there some trick to doing DISTINCT on varchar fields? Well, your db storage is set to UTF-8. It is not officially supported yet. There are a lot of issues like you trap in. You should use UTF-16 only. Steps to convert your db: 1. Make a SQL-dump of your db. 2. Edit result - it should be SET PROPERTY [Mode], [IdentsCaseSensitive], [SegmentSize], [SchemaVersion], [DateTimeFormat], [DateSeparator], [TimeSeparator], [LocaleName], [StorageEncoding], [FrenchCollation], [AlternateHandling], [CaseFirst], [CaseLevel], [NormalizationMode], [Strength], [HiraganaQuaternaryMode], [NumericCollation] of DATABASE TO 'kDsc_Dat_Blb_Ind', false, 32768, 1, 'kDMY', '.', ':', 'en_US_POSIX', 'UTF-16', 'kOff', 'kNonIgnorable', 'kOff', 'kOff', 'kOff', 'kTertiary', 'kOff', 'kOff'; instead of SET PROPERTY [Mode], [IdentsCaseSensitive], [SegmentSize], [SchemaVersion], [DateTimeFormat], [DateSeparator], [TimeSeparator], [LocaleName], [StorageEncoding], [FrenchCollation], [AlternateHandling], [CaseFirst], [CaseLevel], [NormalizationMode], [Strength], [HiraganaQuaternaryMode], [NumericCollation] of DATABASE TO 'kDsc_Dat_Blb_Ind', false, 32768, 1, 'kDMY', '.', ':', 'en_US_POSIX', 'UTF-8', 'kOff', 'kNonIgnorable', 'kOff', 'kOff', 'kOff', 'kTertiary', 'kOff', 'kOff'; 3. Load this dump -- Best regards, Ivan Smahin Senior Software Engineer Paradigma Software, Inc Valentina - The Ultra-Fast Database http://www.valentina-db.com ___ Valentina mailing list valent...@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina ___ 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: Performance
A more efficient way of doing this would be to group the buttons and set the backcolor of each button to empty, then just set the backcolor of group myBtnGroup to 89,149,218 and all the objects in the group will inherit the backcolor of the group (as long as they don't have an individual backcolor set). Note that for this to have visible effect for buttons, they must be opaque -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 20, 2010, at 9:07 AM, René Micout wrote: I have also this case : no variable but object (button) name : repeat with i = 1 to 21 put set the backColor of btn quote btnHarmo i quote to into vxA ; do vxA end repeat is array solution possible ? or it is necessary to do : set the backColor of btn btnHarmo1 to 89,149,218 set the backColor of btn btnHarmo2 to 89,149,218 set the backColor of btn btnHarmo3 to 89,149,218 ... ... set the backColor of btn btnHarmo21 to 89,149,218 Le 20 juin 2010 à 13:18, Jim Ault a écrit : In this case I would use an array or custom properties. Much faster by far. --variable array add one to vgCpuFlux[ vpNumFlux ] --custom property ( a trickier technique, but more powerful ) get the vgCpuFlux[ vpNumFlux ] of this stack +1 set the vgCpuFlux[ vpNumFlux ] of this stack to IT --or store on each card get the vgCpuFlux[ vpNumFlux ] of this CARD +1 set the vgCpuFlux[ vpNumFlux ] of this CARD to IT - The array method takes 1 tick to do 10,000 times put 4 into vpNumFlux put the ticks into startt repeat 1 times add one to vgCpuFlux[ vpNumFlux ] end repeat get the ticks - startt get IT cr vgCpuFlux[ vpNumFlux ] answer IT -- = 1 yep only one tick The custom property method takes 14 ticks to do put 4 into vpNumFlux put the ticks into startt repeat 1 times get the vgCpuFlux[ vpNumFlux ] of this stack + 1 set the vgCpuFlux[ vpNumFlux ] of this stack to IT end repeat get the ticks - startt get IT cr the vgCpuFlux[ vpNumFlux ] of this stack answer IT -- = 14 ticks The 'do' command should not be used for simply adding numbers such as a cross-tabulation technique like you are employing. Hope this helps. On Jun 20, 2010, at 3:38 AM, René Micout wrote: Thank you Mark, In my project I use lot of do command... For you, is that (the number of flux (flows) is 5) : put add 1 to vgCompteurFlux vpNuméroduFlux into vxA ; do vxA faster or slower than : switch vpNuméroduFlux case 1 ; add 1 to vgCompteurFlux1 ; break case 2 ; add 1 to vgCompteurFlux2 ; break case 3 ; add 1 to vgCompteurFlux3 ; break case 4 ; add 1 to vgCompteurFlux4 ; break case 5 ; add 1 to vgCompteurFlux5 ; break.. end switch You can answer to me : make a test ;-)... But have you ever had this choice to make ? Jim Ault Las Vegas ___ 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: ObjectList as a variable won't go?
On Jun 21, 2010, at 6:18 AM, Mark Schonewille wrote: Hi Jim, Have you actually tried it, keeping the list of references in a variable while not using the do command? You are correct, Mark, the DO command is necessary here. I got focused on the early errors in the script that mean the string would not have a chance of working. -1- line 1 probably gives a value for X that is too high put number of grps of grp Workarea into X -2- the oList string is being build without quotes put grp (GP i) and after oList Both of which would lead to errors, even using the DO command. A long time ago I built a group manipulation set of scripts that did not require the DO command, but I cannot find it now. Obviously I did not use select stringOfObjectNames Glad you echoed back about this. I guess 5 AM on Monday is not the best time to answer complex questions. Jim Ault Las Vegas ___ 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
Help with drill-down script
Sorry for the long post. I've now got the last of my currently-in-use HC stacks running in Rev, so I'm finally retiring HC/Sheepshaver. This last stack was huge, a labor of love for 20 years. It's an address book whose feature set has not been matched by a commercial application. Anyway, there's one feature: the first card is an index of all the cards in the stack. In HC, all you need to do is start typing and as you add letters, the selected line changes to reflect what you've typed. When you get to what you want, you hit return and that takes you to the respective card. Anyway, it's not working in Rev. What happens is, it selects the first line with the first letter you type, but stalls there. Then, if you hit return, it does nothing, just sits there. And if you wait and start over, it doesn't respond. to that either, the original selection remains. You have to clear that selection to get it to start over. I don' have any idea what to do. The relevant field properties in Rev are shared text, lock text, vertical scroll bar, list behavior. Here's the HC script: on keyDown theKey -- this is for selecting scrolling the index fields the notes field the inform field global keyBuff, keyTime, indexLine, keywait, activeField --there are both white and yellow pages --White pages is Index, yellow pages is Yndex if theKey is in abcdefghijklmnopqrstuvwxyz then --user typed something to respond to if the selectedField is empty then -- no cursor in a field, otherwise enter text in a field if the visible of fld activeField is true then --make sure we're looking at the proper field if the visible of the message is false then -- so it's available when needed put activeField into theFld select line 0 of fld theFld put 0 into item 1 of indexLine put the ticks into theTime if theTime - keyTime keyWait then put theKey after keyBuff --keyWait is how long to wait before discarding the buffer and starting over else put theKey into keyBuff put theTime into keyTime get findIndexLetter(keyBuff, theFld) if it = 0 then put abcdefghijklmnopqrstuvwxyzz into theAlph -- extra z because looking for next char put offset(theKey,theAlph) into numTries repeat with x = numTries + 1 to number of chars of theAlph get findIndexLetter((char numTries - x of theAlph), theFld) if it 0 then exit repeat end if end repeat if it = 0 then repeat with x = -1 to numTries - 1 get findIndexLetter((char numTries - x of theAlph), theFld) if it 0 then exit repeat end if end repeat end if end if set scroll of fld theFld to it * (textHeight of fld theFld) if number of lines of fld theFld - it 22 then select line it of fld theFld put it into item 1 of indexLine put theFld into item 2 of indexLine end if keyDown numToChar(31) else pass keyDown end if else pass keyDown end if else pass keyDown end if else -- not an alpha character get charToNum(theKey) if (space it space) is not in 11 12 30 31 then -- pageup pagedown, up down arrows if it = 1 then go card 1 --home key else pass keyDown -- not trapped key so get out else --trapped key, proceed if the number of this card = 1 then if the selectedField is not empty then pass keyDown --conditions not met, get out else if the visible of fld inform is false then --another field that might be showing instead if it = 11 or it = 30 then if the optionKey is not down and it = 30 then grabLine -1, activeField else selectNot set scroll of fld activeField to scroll of fld activeField - 252 end if else if it = 12 or it = 31 then if the optionKey is not down and it = 31 then grabLine 1, activeField else selectNot set scroll of fld activeField to scroll of fld activeField + 252 end if end if else --inform field is showing, not the index so do something else, not relevant to this post if it = 11 then drag from 460,52 to 460,51-- vals for notes, change to scroll method else drag from 460,213 to 460,214 end if end if end if else -- not card 1 -- the index field is normally hidden except on card 1 but can be show on any card if the selectedField is not empty then -- 13 is lookup;1 (last name),2,3,4,5
Re: Datagrid lost focus to next cell
On Jun 18, 2010, at 7:32 PM, JosepM wrote: I have a datagrid inside a group. I add a row and doubleclick to edit the cell value, and pressing tab key jump to the next cell. But If I fill some value and press tab, the next cell is edit but lost the focus and the datagrid still in edit mode but without the focus. Seems to be a bug in the engine. Focus is supposed to be on the field that opens for editing. If you look at EditFieldText in the data grid behavior script you will see these lines: lock messages focus on sFieldEditor focus on sFieldEditor ## When tabbing through table cells engine would not focus on sFieldEditor without 2nd call As you can see I have two calls to focus on the field because the engine was not behaving properly. When the data grid is inside another group even this workaround doesn't seem to do the trick. You could add a third call to focus on the field editor and it might do the trick. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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
windows 7 64 bit and Rev: Any Problems
Hi all I have been experiencing problems updating software over the internet. The update fails unpredictably eventually completing when the code is put in a try/catch construct. The only unusual thing about the set up is that I am using Win7 64bit. Has anyone else, using the 64 bit version of Windows 7, experienced any problems with the execution of long scripts? I am using RevEnterprise 4.0 Thanks for any feedback. -- Regards Ian McKnight iangmckni...@gmail.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
Loop through Multi-Dimensional Array
Hey there, I have a multi-dimensional array that uses numbers as the first element and a string as the second. Like this: tleaseData[1][TenantName] tleaseData[1][TenantContact] What I need to do is loop through each number element and then loop through each string element. If the data in the String Element equals the Data in my pName Paramater, I need to replace the data in the array with the parameter pNewName The numbered loop isnt a problem as I use with x=1, but how do I nest a loop to This is the jist of what I have been doing, but I cannot get the newName to replace the old in the array. I think its an issue of referencing the switch properly. function CheckRecords pName, pNewName repeat with x=1 to the number of elements in tleaseData repeat for each element i in tleaseData[x] if i is pName then -- The Loop Enters Here Just Fine Where It Should -- put pNewName into i -- It does not do this ^^^ put true into tleaseData[x][Changed] -- It does this ^^^ end if end repeat end repeat end CheckRecords Why isn't i becoming pNewName? Am I referencing that put correctly? Am I supposed to be putting into i? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2262924.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: Loop through Multi-Dimensional Array
Andrew, At first glance I think the problem is that if you use repeat for each you can't make a change to anything inside that loop. You have to kick what you are changing out to another variable. This is the main idea: repeat for each line k in v if line k is target_line then put new_line cr after h else put line k cr after h end end repeat delete last char of h -- last cr now the variable h holds what you need --- On Mon, 6/21/10, Andrew Kluthe and...@rjdfarm.com wrote: From: Andrew Kluthe and...@rjdfarm.com Subject: Loop through Multi-Dimensional Array To: use-revolution@lists.runrev.com Date: Monday, June 21, 2010, 11:45 AM Hey there, I have a multi-dimensional array that uses numbers as the first element and a string as the second. Like this: tleaseData[1][TenantName] tleaseData[1][TenantContact] What I need to do is loop through each number element and then loop through each string element. If the data in the String Element equals the Data in my pName Paramater, I need to replace the data in the array with the parameter pNewName The numbered loop isnt a problem as I use with x=1, but how do I nest a loop to This is the jist of what I have been doing, but I cannot get the newName to replace the old in the array. I think its an issue of referencing the switch properly. function CheckRecords pName, pNewName repeat with x=1 to the number of elements in tleaseData repeat for each element i in tleaseData[x] if i is pName then -- The Loop Enters Here Just Fine Where It Should -- put pNewName into i -- It does not do this ^^^ put true into tleaseData[x][Changed] -- It does this ^^^ end if end repeat end repeat end CheckRecords Why isn't i becoming pNewName? Am I referencing that put correctly? Am I supposed to be putting into i? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2262924.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: windows 7 64 bit and Rev: Any Problems
Hi, I did not experienced any problems with Windows Vista and 7 64bits, NativeDoc has few long script and I did not experienced strange things. Regards, Damien NativeSoft, France. -Message d'origine- De : use-revolution-boun...@lists.runrev.com [mailto:use-revolution-boun...@lists.runrev.com] De la part de Ian McKnight Envoyé : lundi 21 juin 2010 18:17 À : Rev List Objet : windows 7 64 bit and Rev: Any Problems Hi all I have been experiencing problems updating software over the internet. The update fails unpredictably eventually completing when the code is put in a try/catch construct. The only unusual thing about the set up is that I am using Win7 64bit. Has anyone else, using the 64 bit version of Windows 7, experienced any problems with the execution of long scripts? I am using RevEnterprise 4.0 Thanks for any feedback. -- Regards Ian McKnight iangmckni...@gmail.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: Loop through Multi-Dimensional Array
Kk that explains what is going on, but as for a suitable solution. I wanted to keep it in array form as the database update requires it be in that form, so a way to reference that with a different loop form or looping method would be best. Alternatively, I imagine I could loop through the first element set and put the data into a list chunk and load it into a new array with 1 dimension and loop through that to make the changes and put it back in into an array that the database would be happy with. You can understand from this process my need to find a way to do it with 1 array only. GetArray SearchArray ChangeArray PutArrayBack -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2262964.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: Loop through Multi-Dimensional Array
Andrew- Try put pNewName into tleaseData[x][i] -- -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: Help with drill-down script
Emmett Gray wrote: Anyway, there's one feature: the first card is an index of all the cards in the stack. In HC, all you need to do is start typing and as you add letters, the selected line changes to reflect what you've typed. When you get to what you want, you hit return and that takes you to the respective card. I didn't read through your whole script, but here is a skeleton outline of one way to handle the behavior, you can adjust it for whatever else you need to do: local lUserKeys, lOldTicks on keyDown whichKey -- select from keyboard if (the selectedField is not ) or (charToNum(whichKey) is among the items of 28,29,30,31) -- arrow keys then pass keyDown if the ticks - lOldTicks 60 then put into lUserKeys -- adjust time here put whichKey after lUserKeys put return fld activeFld return into tListText get lineoffset(crlUserKeys,tListText) if it 0 then set the hilitedline of fld activeFld to it put the ticks into lOldTicks end keyDown Note the user of a local script variable outside the handler declaration, rather than a global. -- 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
How to setup domain name on on-rev
Could someone be so kind as to point me to a checklist on what to do to set up a domain name on on-rev? We bought a website name from godaddy and want it to point to a folder on on-rev. Specifically, we want www.greatwebsite.com to point to http://taishan.on-rev.com/good_folder Thanks to all, Mike ___ 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: windows 7 64 bit and Rev: Any Problems
Hi, No problems at all there in running, in 24/7 mode, 8 different AI oriented rev 3.5 to 4.0 apps on a window 7 64 bits (core i7 Q720 QuadCore - 8 processes @ 1,6 Gh) laptop. Best, P. Le 21 juin 2010 à 19:04, Damien Girard a écrit : Hi, I did not experienced any problems with Windows Vista and 7 64bits, NativeDoc has few long script and I did not experienced strange things. Regards, Damien NativeSoft, France. -Message d'origine- De : use-revolution-boun...@lists.runrev.com [mailto:use-revolution-boun...@lists.runrev.com] De la part de Ian McKnight Envoyé : lundi 21 juin 2010 18:17 À : Rev List Objet : windows 7 64 bit and Rev: Any Problems Hi all I have been experiencing problems updating software over the internet. The update fails unpredictably eventually completing when the code is put in a try/catch construct. The only unusual thing about the set up is that I am using Win7 64bit. Has anyone else, using the 64 bit version of Windows 7, experienced any problems with the execution of long scripts? I am using RevEnterprise 4.0 Thanks for any feedback. -- Regards Ian McKnight iangmckni...@gmail.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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: ObjectList as a variable won't go?
Hi Michael, The following example works: select control 1 and control 2 As always: what is the chunk error exactly? When you *mention* getting an error, you should also *post* this error. -- Best regards, Mark Schonewille Thanks for the replies: Here is the error: TypeChunk: error in object expression Object Copy to 1:1 Linegroup oList Hintgrp GP1 and grp GP2 and grp GP3 If I take the hint line and put Select or Group in front of it, it works, so why does it not work as a variable? Michael ___ 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: Loop through Multi-Dimensional Array
Andrew, the element gives you the content but apparently not the key of the record. For me: put pNewName into tLeaseData[x][i] creates a new subrecord that has the key pOldName and the content pNewName I tried this and it seems to work - repeat with x=1 to the number of elements in tleaseData put the keys of tleaseData[x] into tSubKeys repeat for each line aSubKey in tSubKeys if tLeaseData[x][aSubKey] is pName then put pNewName into tLeaseData[x][aSubKey] put true into tleaseData[x][Changed] end if end repeat end repeat -- there might be other ways to tackle this. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2263138.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: ObjectList as a variable won't go?
Michael, as Mark and Jim pointed out: try this on mouseUp put into tCollect repeat with i = 1 to the number of groups of group workarea put the long id of group i of group workarea and after tCollect end repeat delete last word of tCollect lock screen do select tCollect end mouseUp --- and see if it works regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ObjectList-as-a-variable-won-t-go-tp2262257p2263141.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: Loop through Multi-Dimensional Array
Getting closer, what this does is put a new element whose key name is the contents of i and puts pNewName into that element. So: Going in: tleaseData[1][TenantContact] value is Amanda Jo Pence the element above remains unchanged but a new element like this is made: pNewName value is Amanda Pence it comes out as: tleaseData[1][Amanda Jo Pence] value is Amanda Pence The second dimensions of elements it is checking are static in number. Meaning, the number of iterations in the second loop is fixed at 8. But the key names are strings. :\ So I think I run into the same problem trying to reference the current second dimension of the array in the second loop. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2263153.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: ObjectList as a variable won't go?
Hi all, hm, looks like I missed the explanation why DO has to be involved?! Anyway, I ususally do this: on mouseUp repeat with i = 1 to the number of groups of group workarea set the SELECTED of grp i of grp workarea to TRUE end repeat end mouseUp Et voila, all objects/groups selected. Michael, as Mark and Jim pointed out: try this on mouseUp put into tCollect repeat with i = 1 to the number of groups of group workarea put the long id of group i of group workarea and after tCollect end repeat delete last word of tCollect lock screen do select tCollect end mouseUp --- and see if it works regards Bernd Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: Loop through Multi-Dimensional Array
Andrew, Bernd has a much better script for you to peruse, but here might be an equivalent algorithm for what you want to do: on mouseUp put Brazilinto wrong_team put Argentina into correct_team put Messi into t[1][name] put Brazilinto t[1][team]// replace this put Klose into t[2][name] put Germany into t[2][team] put t into t_temp // loop thru temp array // make changes in real array repeat with x=1 to 2 repeat for each element i in t_temp[x] if i is wrong_team then put correct_team into t[x][team] end if end repeat end repeat // to check that the change has been made put t[1][name] space after h put t[1][team] cr after h put t[2][name] space after h put t[2][team] cr after h put h into fld 1 end mouseUp - The only problem I see is using team in the line: put correct_team into t[x][team] There is probably a way fill that item in without resorting to using the specific array index. Hope this gives you at least a different way of going about it. Mike --- On Mon, 6/21/10, BNig niggem...@uni-wh.de wrote: From: BNig niggem...@uni-wh.de Subject: Re: Loop through Multi-Dimensional Array To: use-revolution@lists.runrev.com Date: Monday, June 21, 2010, 1:38 PM Andrew, the element gives you the content but apparently not the key of the record. For me: put pNewName into tLeaseData[x][i] creates a new subrecord that has the key pOldName and the content pNewName I tried this and it seems to work - repeat with x=1 to the number of elements in tleaseData put the keys of tleaseData[x] into tSubKeys repeat for each line aSubKey in tSubKeys if tLeaseData[x][aSubKey] is pName then put pNewName into tLeaseData[x][aSubKey] put true into tleaseData[x][Changed] end if end repeat end repeat -- there might be other ways to tackle this. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2263138.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: Loop through Multi-Dimensional Array
Yup yup! Bernd provided exactly what I was looking for. I knew there was a way to reference it like that, but I had long since forgotten the last time I had use for it. Thank you all very much! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loop-through-Multi-Dimensional-Array-tp2262924p2263176.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: ObjectList as a variable won't go?
Hi Klaus, I tried some variations but did not think of set the selected et voilà: Chapeau! regards Bernd Klaus on-rev wrote: Hi all, hm, looks like I missed the explanation why DO has to be involved?! Anyway, I ususally do this: on mouseUp repeat with i = 1 to the number of groups of group workarea set the SELECTED of grp i of grp workarea to TRUE end repeat end mouseUp Et voila, all objects/groups selected. Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ObjectList-as-a-variable-won-t-go-tp2262257p2263186.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: Forward and Reverse filtering a List field
Use 2 variables, one to hold the original data, and one to filter and then display. Each time the filter needs to be updated, put theTableData1 into theTableData2, then filter theTableData2 and set the dgText of group myDataGrid to theTableData2. Bob On Jun 18, 2010, at 1:42 PM, Mark Stuart wrote: Hi All, Platform: WinXP revStudio: 4.0 I'm building an app that populates SQL Server data into a list field that is defined as a table. The table data delimiter is the tab char. All this works fine. I'd like to build a filter system for the table data. The list would be filtered by typing a value into any column filter field, which is placed above each column. So if there are 4 columns, then there are 4 filter fields, having the possibility of an accumulative filter. Typing into or editing a filter field will filter the list for each character typed. Including backspacing a character or deleting any existing character. I've already built a prototype for this, and when typing a filter, the script works OK. In the on rawKeyDown handler, I first put the table data into a local variable and filter on it. Then put the variable back into the field. These ideas I got from searching the archive list. Problem is when I backspace a filter field character (conceptually reverting the filter), the data is not there, as it has already been filtered and put back into the field. Resulting in an incorrect data set. Question: so how do I build a filter system that can filter forward (typing ahead) and filter in reverse (editing existing filter value or filter revert)? Regards, Mark Stuart ___ 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: ObjectList as a variable won't go?
Thanks, Klaus, good work :-) Now I can finally remember the programming technique I used 4 years ago, that did not include a DO command ! As I get older, I get slower and fuzzier. i would add the following line before the loop depending on the programmer's intent. On Jun 21, 2010, at 11:52 AM, Klaus on-rev wrote: Hi all, hm, looks like I missed the explanation why DO has to be involved?! Anyway, I ususally do this: on mouseUp select empty -- reset all objects to selected = false repeat with i = 1 to the number of groups of group workarea set the SELECTED of grp i of grp workarea to TRUE end repeat end mouseUp Et voila, all objects/groups selected. Jim Ault Las Vegas ___ 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: How to setup domain name on on-rev
On Mon, Jun 21, 2010 at 1:02 PM, Michael Kann mikek...@yahoo.com wrote: Could someone be so kind as to point me to a checklist on what to do to set up a domain name on on-rev? We bought a website name from godaddy and want it to point to a folder on on-rev. Specifically, we want www.greatwebsite.com to point to http://taishan.on-rev.com/good_folder Thanks to all, Mike Hello Mike, You should have received an email from RunRev providing you with the nameserver info, which should look something like this: nameserver1: ns1.on-rev.com nameserver2: ns2.on-rev.com Presuming you've already added the domain folder using CPanel through On-Rev, this would be the final piece of the puzzle: Log back into your GoDaddy account and look for the area where you can make changes the nameserver info for your new domain and enter the nameserver info that RunRev provided. Keep in mind that it could take as much as 48 hours (give or take a few) for the new domain info to propagate the net. 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: Help with drill-down script
Just a cursory scan through your handler, without an exhaustive parsing of the logic... On Jun 21, 2010, at 10:17 AM, Emmett Gray wrote: Sorry for the long post. I've now got the last of my currently-in- use HC stacks running in Rev, so I'm finally retiring HC/ Sheepshaver. This last stack was huge, a labor of love for 20 years. It's an address book whose feature set has not been matched by a commercial application. Anyway, there's one feature: the first card is an index of all the cards in the stack. In HC, all you need to do is start typing and as you add letters, the selected line changes to reflect what you've typed. When you get to what you want, you hit return and that takes you to the respective card. Anyway, it's not working in Rev. What happens is, it selects the first line with the first letter you type, but stalls there. Then, if you hit return, it does nothing, just sits there. And if you wait and start over, it doesn't respond. to that either, the original selection remains. You have to clear that selection to get it to start over. I don' have any idea what to do. The relevant field properties in Rev are shared text, lock text, vertical scroll bar, list behavior. Here's the HC script: ... snip ... if the visible of the message is false then -- so it's available when needed ... snip ... if you mean the message box, the syntax you are using doesn't work in Rev, generates an error Thanks for reading this far. And since you did, I can't resist mentioning some of the features of this stack: 1) Smart synchronization: if the copy at the office gets a new email address and the same person at home gets a new cell phone number, both are kept and the card is flagged and put in a list. You can deal with it later, like when you next go to that card which shows the dates of both new entries, or go through the list if you want 2) Parsing of clipboard data, from v-cards, email signatures and the like, when making new entries. 3) A Business checkbox which then alphabetizes business names phone-book style, ignoring and initial The etc. 4) Auto-capitalization; you don't have to hit the shift key when entering names. It's smart, knows about de and von etc. 5) One-click or keystroke phone dialing, via a modem, Skype out, or Skype-to-Skype (if there's a Skype name in the Notes field). 6) Envelope printing of 4 different custom styles (size, return address) 7) Sifting to create subsets (Christmas card lists, European contacts, email addresses, etc.) for export in CSV or tab-delimited format 8) Smart printing of Filofax-style pages (no entry broken over a page; print one side, turn the stack over and print again, all comes out in proper order) 9) Ability to change the spelling or capitalization of a name, then automatically moved to where it belongs as needed, and have the corresponding Yellow or White pages version auto-updated. 10) Hidden Filed as field to override the default alphabetization, useful for names like van Beethoven - filed under v or b? 11) URL launching (grabs the first or selected email or web address) and file/app launching such as Word templates, with the appropriate info (name and address) in the clipboard 12) Unlimited delete and restore of cards (until you quit). 13) Name conflict resolution: If you have a John Smith entry, and make a new John Smith card, you get an alert that he's there already. You can delete the new one, the old one, or keep both 14) A database of national and international area codes so if you have an unknown phone number you can see where it's probably located 15) And of course it relies on HC/Rev's brilliant Find so you can for example type a first name and a state abbreviation or city name to find someone whose last name you don't remember, but you know where they live 16) Customizable abbreviations expanded on address data entry: ny expands to New York, NY and de expands to Germany, but only if followed by a space (or nothing) and must be the first characters of the last line in the address field. 17) Phone numbers corrected to be in a standard form (dots parentheses replaced by dashes). US numbers get 1- in front, other countries get their country code - you can use the abbreviations used in the Address field such as de for Germany to enter the proper country code so you don't have to remember it. There's more but I'll stop now... Sounds like a handy tool... BTW, how do you do the skype dialing? I'm interested in that. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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: How to setup domain name on on-rev
David, Thank you very much for the reply. That will help me out immensely. Mike --- On Mon, 6/21/10, David C. davidoco...@gmail.com wrote: From: David C. davidoco...@gmail.com Subject: Re: How to setup domain name on on-rev To: How to use Revolution use-revolution@lists.runrev.com Date: Monday, June 21, 2010, 3:00 PM On Mon, Jun 21, 2010 at 1:02 PM, Michael Kann mikek...@yahoo.com wrote: Could someone be so kind as to point me to a checklist on what to do to set up a domain name on on-rev? We bought a website name from godaddy and want it to point to a folder on on-rev. Specifically, we want www.greatwebsite.com to point to http://taishan.on-rev.com/good_folder Thanks to all, Mike Hello Mike, You should have received an email from RunRev providing you with the nameserver info, which should look something like this: nameserver1: ns1.on-rev.com nameserver2: ns2.on-rev.com Presuming you've already added the domain folder using CPanel through On-Rev, this would be the final piece of the puzzle: Log back into your GoDaddy account and look for the area where you can make changes the nameserver info for your new domain and enter the nameserver info that RunRev provided. Keep in mind that it could take as much as 48 hours (give or take a few) for the new domain info to propagate the net. 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 ___ 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: Datagrid lost focus to next cell
Hi Trevor, So in the EditValue left only one? command EditValue if there is a field 1 of me then EditFieldText the long id of field 1 of me, the dgIndex of me, the dgColumn of me EditFieldText the long id of field 1 of me, the dgIndex of me, the dgColumn of me end if end EditValue Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-lost-focus-to-next-cell-inside-a-group-tp2260851p2263341.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
File browser extension
I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 browser extension
Hi Simon, Do you mean the answer file command? You might want to look it up in the dictionary. sample: answer file Choose a file... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 01:44, Simon Lord wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 browser extension
It sounds like you want the folder of the chosen file so: answer file Choose a file... put it into thePath set the itemdelimiter to / -- for macs. use \ for windows paths delete the last item of thePath Bob On Jun 21, 2010, at 5:12 PM, Mark Schonewille wrote: Hi Simon, Do you mean the answer file command? You might want to look it up in the dictionary. sample: answer file Choose a file... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 01:44, Simon Lord wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 browser extension
Close. What I'm looking for is a field list that shows you all the files and folders in the stacks current directory. With graphical representations of files and folders. User can simply click the folder(s) disclosure icons to expand the view to see what's inside or doubleclick to display only the contents of that folder. So *not* the answer file. Just a browsable list field that looks and acts kinda like the column list view in OSX finder or the file browser as seen in Panic's CODA application. http://panic.com/coda/ The first screenshot at the bottom will give you the idea of what I'm looking for. On Mon, Jun 21, 2010 at 8:24 PM, Bob Sneidar b...@twft.com wrote: It sounds like you want the folder of the chosen file so: answer file Choose a file... put it into thePath set the itemdelimiter to / -- for macs. use \ for windows paths delete the last item of thePath Bob On Jun 21, 2010, at 5:12 PM, Mark Schonewille wrote: Hi Simon, Do you mean the answer file command? You might want to look it up in the dictionary. sample: answer file Choose a file... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 01:44, Simon Lord wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 browser extension
Hi Simon, set the itemDel to slash put item 1 to -2 of the effective filename of this stack into myPath set the defaultFolder to myPath put the files into fld File List You could add icons by preceding the file name with a special character and setting the imageSource of char 1 of each line to an image id. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 02:31, Simon Lord wrote: Close. What I'm looking for is a field list that shows you all the files and folders in the stacks current directory. With graphical representations of files and folders. User can simply click the folder(s) disclosure icons to expand the view to see what's inside or doubleclick to display only the contents of that folder. So *not* the answer file. Just a browsable list field that looks and acts kinda like the column list view in OSX finder or the file browser as seen in Panic's CODA application. http://panic.com/coda/ The first screenshot at the bottom will give you the idea of what I'm looking for. ___ 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 browser extension
You can use files() and folders() to get a list of files and folders in the default directory and then create a combined listing based on this. If you're happy enough using generic folder and file icons then it's fairly trivial (a tabbed field with the file and folder icons set using the imagesource property). If you want the icons to reflect the file type/extension then it's more complicated (you really need an external for this). Terry... On 22/06/10 10:31 AM, Simon Lord sl...@karbonized.com wrote: Close. What I'm looking for is a field list that shows you all the files and folders in the stacks current directory. With graphical representations of files and folders. User can simply click the folder(s) disclosure icons to expand the view to see what's inside or doubleclick to display only the contents of that folder. So *not* the answer file. Just a browsable list field that looks and acts kinda like the column list view in OSX finder or the file browser as seen in Panic's CODA application. http://panic.com/coda/ The first screenshot at the bottom will give you the idea of what I'm looking for. On Mon, Jun 21, 2010 at 8:24 PM, Bob Sneidar b...@twft.com wrote: It sounds like you want the folder of the chosen file so: answer file Choose a file... put it into thePath set the itemdelimiter to / -- for macs. use \ for windows paths delete the last item of thePath Bob On Jun 21, 2010, at 5:12 PM, Mark Schonewille wrote: Hi Simon, Do you mean the answer file command? You might want to look it up in the dictionary. sample: answer file Choose a file... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 01:44, Simon Lord wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne ___ 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 browser extension
Ok, thanks guys. So I guess I'll have to roll my own. :P On Mon, Jun 21, 2010 at 9:07 PM, Terry Judd t...@unimelb.edu.au wrote: You can use files() and folders() to get a list of files and folders in the default directory and then create a combined listing based on this. If you're happy enough using generic folder and file icons then it's fairly trivial (a tabbed field with the file and folder icons set using the imagesource property). If you want the icons to reflect the file type/extension then it's more complicated (you really need an external for this). Terry... On 22/06/10 10:31 AM, Simon Lord sl...@karbonized.com wrote: Close. What I'm looking for is a field list that shows you all the files and folders in the stacks current directory. With graphical representations of files and folders. User can simply click the folder(s) disclosure icons to expand the view to see what's inside or doubleclick to display only the contents of that folder. So *not* the answer file. Just a browsable list field that looks and acts kinda like the column list view in OSX finder or the file browser as seen in Panic's CODA application. http://panic.com/coda/ The first screenshot at the bottom will give you the idea of what I'm looking for. On Mon, Jun 21, 2010 at 8:24 PM, Bob Sneidar b...@twft.com wrote: It sounds like you want the folder of the chosen file so: answer file Choose a file... put it into thePath set the itemdelimiter to / -- for macs. use \ for windows paths delete the last item of thePath Bob On Jun 21, 2010, at 5:12 PM, Mark Schonewille wrote: Hi Simon, Do you mean the answer file command? You might want to look it up in the dictionary. sample: answer file Choose a file... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 jun 2010, at 01:44, Simon Lord wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). ___ 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne ___ 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 browser extension
On Tue, Jun 22, 2010 at 9:44 AM, Simon Lord sl...@karbonized.com wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). Search the list archives for file walker or directory walker to get a recursive function that will list all files folder files inside folders etc etc. For display, you might like to check out the Data Tree http://www.runrev.com/products/related-software/data-tree/. Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ 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 browser extension
Thank you Sarah. :) On Mon, Jun 21, 2010 at 10:23 PM, Sarah Reichelt sarah.reich...@gmail.com wrote: On Tue, Jun 22, 2010 at 9:44 AM, Simon Lord sl...@karbonized.com wrote: I'm wondering out loud if someone has written a file system browser extension. I'm not in the mood to write one myself (remembering my prior experience with this). Just looking for something I can drop into my stack that allows the end user to browse their system looking for images and pass me the result. If it's brain dead easy in RunRev then I'll proudly wear egg on my face (but please point to samples). Search the list archives for file walker or directory walker to get a recursive function that will list all files folder files inside folders etc etc. For display, you might like to check out the Data Tree http://www.runrev.com/products/related-software/data-tree/. Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ 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
Setting the icon of a btn on preOpenStack
So I have the following set on preOpenStack: set the icon of btn iProjects of group iToolbar to 1027 set the icon of btn iEdit of group iToolbar to 1026 set the icon of btn iBrowser of group iToolbar to 1024 Only the first of the three in any given order fires off properly. The other 2 are ignored. Any reason for that to happen? The only thing special is that the icons are in a sub stack, but I don't see any reason for that to be an issue. ___ 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 browser extension
I thought Rev used the UNIX-style '/' delimiter for all internal paths, regardless of platform? Ian On 22 Jun 2010, at 01:24, Bob Sneidar wrote: set the itemdelimiter to / -- for macs. use \ for windows paths ___ 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