Ach hemel, in de list werken bijlagen niet... Nou ja, het is nou laat genoeg, welterusten. Dick Maar je kan hem krijgen op https://www.dropbox.com/s/ni010tficooebgs/chmod.ods?dl=0
Op 1 september 2016 22:48 schreef Dick Stomp <[email protected]>: > Hierbij een probeerseltje van mij > in de bijlage chmod.ods > Het werkt en je mag 'm zelf mooier maken! > Maar ongetwijfeld is het al reeds gebakken en mooier dan je verwacht! > Dick > > > Op 1 september 2016 21:52 schreef pieter kristensen < > [email protected]>: > > Dank je Rob. Ik snap het niet helemaal. Maar ik ga er naar kijken. >> >> Op 01-09-16 om 21:48 schreef [email protected]: >> >>> Met een simpele IF functie moet het op te lossen zijn. IF(A3="X";2;0) >>> In kolom A geef je middels X aan of het een waarde moet krijgen. Formule >>> komt in kolom B terecht. >>> >>> Ik kan op dit moment niet goed met Calc werken op mijn Ubuntu tablet... >>> Dus kan het niet uitwerken... >>> >>> Snap je een beetje waar ik heen wil? >>> Groet, >>> Rob >>> >>> ----Origineel Bericht---- >>>> Van : [email protected] >>>> Datum : 01/09/2016 21:26 >>>> Aan : [email protected] >>>> Onderwerp : Re: [nl-users] chmod calculator... >>>> >>>> Om het zelf te doen in Calc: >>>> lees de procedure hoe het moet werken >>>> probeer per cel de formules te bakken >>>> zo ga ik het doen >>>> er is ook een duidelijke in PHP >>>> maar er zal ongetwijfeld een exemplaar in Calc te vinden zijn... >>>> >>>> >>>> Op 1 september 2016 21:19 schreef Dick Stomp <[email protected]>: >>>> >>>> Overigens staan er tientallen leuke oplossingen voor >>>>> *chmod calculator* op internet. >>>>> >>>>> Ik heb ze nog niet allemaal bekeken maar als er niet één voor Calc te >>>>> vinden is, zal ik 'm wel maken. >>>>> Maar waarom zou ik het wiel opnieuw uitvinden...? >>>>> >>>>> >>>>> 2016-09-01 21:06 GMT+02:00 Dick Stomp <[email protected]>: >>>>> >>>>> Hier is het hele verhaal: >>>>>> // Function >>>>>> function calc(user, number) { >>>>>> // Owner >>>>>> if (user == 'owner' && number == '4') box = >>>>>> eval("document.all.chmod.owner >>>>>> 4"); >>>>>> if (user == 'owner' && number == '2') box = >>>>>> eval("document.all.chmod.owner >>>>>> 2"); >>>>>> if (user == 'owner' && number == '1') box = >>>>>> eval("document.all.chmod.owner >>>>>> 1"); >>>>>> >>>>>> // Group >>>>>> if (user == 'group' && number == '4') box = >>>>>> eval("document.all.chmod.group >>>>>> 4"); >>>>>> if (user == 'group' && number == '2') box = >>>>>> eval("document.all.chmod.group >>>>>> 2"); >>>>>> if (user == 'group' && number == '1') box = >>>>>> eval("document.all.chmod.group >>>>>> 1"); >>>>>> >>>>>> // Other >>>>>> if (user == 'other' && number == '4') box = >>>>>> eval("document.all.chmod.other >>>>>> 4"); >>>>>> if (user == 'other' && number == '2') box = >>>>>> eval("document.all.chmod.other >>>>>> 2"); >>>>>> if (user == 'other' && number == '1') box = >>>>>> eval("document.all.chmod.other >>>>>> 1"); >>>>>> >>>>>> if (box.checked == true) { >>>>>> // Owner >>>>>> if (user == 'owner') { >>>>>> document.chmod.h_owner.value += ' + number'; >>>>>> a = document.all.chmod.h_owner.value; >>>>>> b= eval(a); >>>>>> document.all.chmod.h_owner.value=b; >>>>>> document.all.chmod.t_owner.value=b; >>>>>> } >>>>>> // Group >>>>>> if (user == 'group') { >>>>>> document.all.chmod.h_group.value += ' + number'; >>>>>> a= document.all.chmod.h_group.value; >>>>>> b= eval(a); >>>>>> document.all.chmod.h_group.value = b; >>>>>> document.all.chmod.t_group.value = b; >>>>>> } >>>>>> // Other >>>>>> if (user == 'other') { >>>>>> document.chmod.h_other.value += ' + number'; >>>>>> a= document.all.chmod.h_other.value; >>>>>> b= eval(a); >>>>>> document.all.chmod.h_other.value = b; >>>>>> document.all.chmod.t_other.value = b; >>>>>> } >>>>>> } >>>>>> >>>>>> if (box.checked == false) { >>>>>> // Owner >>>>>> if (user == 'owner') { >>>>>> if (document.all.chmod.h_owner.value == '') { >>>>>> document.all.chmod.t_owner.value="" >>>>>> } else { >>>>>> a = document.all.chmod.h_owner.value; >>>>>> b = a - number; >>>>>> c = eval(b); >>>>>> document.all.chmod.h_owner.value = c; >>>>>> document.all.chmod.t_owner.value = c; >>>>>> } >>>>>> } >>>>>> // Group >>>>>> if (user == 'group') { >>>>>> if (document.all.chmod.h_group.value == '') { >>>>>> document.all.chmod.t_group.value=""; >>>>>> }else { >>>>>> a = document.all.chmod.h_group.value; >>>>>> b = a - number; >>>>>> c = eval(b); >>>>>> document.all.chmod.h_group.value=c; >>>>>> document.all.chmod.t_group.value=c; >>>>>> } >>>>>> } >>>>>> // Other >>>>>> if (user == 'other') { >>>>>> if (document.all.chmod.h_other.value == '') { >>>>>> document.all.chmod.t_other.value="" >>>>>> } else { >>>>>> a = document.all.chmod.h_other.value; >>>>>> b = a - number; >>>>>> c = eval(b); >>>>>> document.all.chmod.h_other.value=c; >>>>>> document.all.chmod.t_other.value=c; >>>>>> } >>>>>> } >>>>>> } >>>>>> } >>>>>> >>>>>> //--> >>>>>> </script> >>>>>> >>>>>> < >>>>>> >>>>>> Op 1 september 2016 20:52 schreef pieter kristensen < >>>>>> [email protected]>: >>>>>> >>>>>> Ik vind dit http://www.onlineconversion.com/html_chmod_calculator.htm >>>>>> >>>>>>> echt handig. >>>>>>> Kan ik zoiets in calc maken? >>>>>>> >>>>>>> Ik bedoel: zo'n selectievlakje en als je erop klikt is het een >>>>>>> waarde? >>>>>>> En als je er niet op klikt is het nul. >>>>>>> Het lukte me niet om in de help-functie te vinden. >>>>>>> >>>>>>> Ik hoef echt geen uitvoerig antwoord, maar met wat aanwijzingen waar >>>>>>> ik >>>>>>> moest zoeken zou ik wel blij zijn. >>>>>>> >>>>>>> -- >>>>>>> Unsubscribe instructions: E-mail to [email protected] >>>>>>> ce.org >>>>>>> Posting guidelines + more: http://wiki.documentfoundation >>>>>>> .org/Netiquette >>>>>>> List archive: http://listarchives.libreoffice.org/nl/users/ >>>>>>> All messages sent to this list will be publicly archived and cannot >>>>>>> be >>>>>>> deleted >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> Ubuntu 14.04 LTS + Lubunu 16.04 LTS + Chromium 51.0.2704.79 + >>>>>> LibreOffice 5.1.3.2 + gMail + DropBox >>>>>> https://sites.google.com/site/dickstomp/ >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Ubuntu 14.04 LTS + Lubunu 16.04 LTS + Chromium 51.0.2704.79 + >>>>> LibreOffice >>>>> 5.1.3.2 + gMail + DropBox >>>>> https://sites.google.com/site/dickstomp/ >>>>> >>>>> >>>> >>>> -- >>>> Ubuntu 14.04 LTS + Lubunu 16.04 LTS + Chromium 51.0.2704.79 + >>>> LibreOffice >>>> 5.1.3.2 + gMail + DropBox >>>> https://sites.google.com/site/dickstomp/ >>>> >>>> -- >>>> Unsubscribe instructions: E-mail to [email protected] >>>> ce.org >>>> Posting guidelines + more: http://wiki.documentfoundation >>>> .org/Netiquette >>>> List archive: http://listarchives.libreoffice.org/nl/users/ >>>> All messages sent to this list will be publicly archived and cannot be >>>> deleted >>>> >>>> >> >> -- >> Unsubscribe instructions: E-mail to [email protected] >> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette >> List archive: http://listarchives.libreoffice.org/nl/users/ >> All messages sent to this list will be publicly archived and cannot be >> deleted >> > > > > -- > Ubuntu 14.04 LTS + Lubunu 16.04 LTS + Chromium 51.0.2704.79 + LibreOffice > 5.1.3.2 + gMail + DropBox > https://sites.google.com/site/dickstomp/ > -- Ubuntu 14.04 LTS + Lubunu 16.04 LTS + Chromium 51.0.2704.79 + LibreOffice 5.1.3.2 + gMail + DropBox https://sites.google.com/site/dickstomp/ -- Unsubscribe instructions: E-mail to [email protected] Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/nl/users/ All messages sent to this list will be publicly archived and cannot be deleted
