Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

167 results from messages in ntb-clips

Advanced Search
  • Hi all, And here is what you get if you use the StrSort function... äc äb âc âb ác áb àc àb zb yb xb ^$StrSort("^$GetSelection$";No;No;Yes)$ It is strange however that this list is achieved by sorting in reverse (?) order. Regards, Hugo [Non-text portions of this message have been removed]
    Hugo Paulissen Feb 28, 2013
  • > I am using NoteTab Pro during the work day as a time sheet. I like the > free text as opposed to spreadsheet or similar solution. I would like > to better structure the my notes by using the nice esc feature which > shows a dropdown. I want this dropdown to include a list of > customer:project entries that I can easily choose from. I can I > accomplish that. I tried the clips and...
    Hugo Paulissen Feb 17, 2010
  • Hi, I'd do that as well, but I was trying to explain why Axels replace operation didn't work. What you do here is populate the variables before the Replace line is executed. If the clip is executed it finds that the variables path, img and count are filled, so the GetImgWidth function actually works. In Axels clip the $1 is a Regex -"variable". If the clip is executed the function...
    Hugo Paulissen Feb 4, 2010
  • Fetching Sponsored Content...
  • Hi, This looks as an elegant solution, and is not too much OT. http://www.dq.winsila.com/tips-tricks/productivity-tips/creating-multiple-sub-folders-using-mkdir-from-a-command-prompt.html Hugo ________________________________ From: Alec Burgess To: ntb-clips@^$1 Sent: Thu, February 4, 2010 3:39:05 PM Subject: Re: [Clip] Re: ^!MkDir This is an interesting thread though getting close...
    Hugo Paulissen Feb 4, 2010
  • I did try that but it didn't work, hence my suggestion for the parsing sequence. Hugo ________________________________ From: Don - HtmlFixIt.com To: ntb-clips@^$1 Sent: Thu, February 4, 2010 7:09:15 PM Subject: Re: [Clip] Regex and functions again That was my take on it too as I think I have done very similar in the past. I did not have time today to try it so I kept quiet...
    Hugo Paulissen Feb 4, 2010
  • Hi Alex (good morning;-), > What am I missing? I guess your problem has to do with the parsing sequence (look at B3). This comes from the introduction of the Clip Script Help. Hugo ------ Parsing and evaluation sequence A. Whole Clip 1. Comments removed 2. Date fields evaluated ^[...^] (old format) 3. Text selection inserted if ^& found 4. ^!CONTINUE command executed if on first...
    Hugo Paulissen Feb 4, 2010
  • Hi John, You could place the complete path in an array and use the array itself to find the last part of the path (the following example assumes you always end the path with a backslash). ^!SetListDelimiter \ ^!SetArray %Wholepath%=D:\folder 1\folder 2\folder 3\folder 4\Folder 5\ ^!Set %RealFolder%=^$Calc(^%Wholepath0%-1)$ ^%Wholepath^%RealFolder%% Regards, Hugo...
    Hugo Paulissen Jan 24, 2010
  • Hi Flo, What about this? ^!Set %NR%=^$GetSelection$ ^!IfFalse ^$Calc(INT(^%NR%)-^%NR%)$ END ELSE ^!Prompt There is a fraction Hugo --- In ntb-clips@^$1, "flo.gehrke" wrote: > > > The question was how to find a *flexible* solution, that is: Calculate with three decimals but cut them off in case they are zeros only. For example, reduce a result that is 12.000 to 12 but don't change a...
    Hugo Nov 22, 2009
  • OK Don, Sorry Flo, Forget my last post; I see what you mean... Now I *do* remember the padding zero issue! It's getting rusty inside... Hugo ________________________________ From: Hugo Paulissen To: ntb-clips@^$1 Sent: Mon, November 2, 2009 4:28:06 PM Subject: Re: [Clip] Finding Minimum Value in Array Hi Don, Quite possible that I just got lucky ;-), but I'm not so sure we need a...
    Hugo Paulissen Nov 2, 2009
  • Hi Don, Quite possible that I just got lucky ;-), but I'm not so sure we need a numeric sort for this. I do not recall the reason for the zero-padding, but it doesn't seem necessary in this case. In any case: if I add some other values to the array, it appears that the lowest value is returned every single time. ^!SetArray %Array%=03,8,329,1,1.25,7,10.34,4,9,6,2,5,11,0.25,0.1...
    Hugo Paulissen Nov 2, 2009