Automating adding comments

In Xojo I often need to add in a comment about when I modified something or what I was working on
And the comment needs to be in a particular format – and it needs the current date & time as part of the comment
And, I want to be able to insert these EASILY into whatever code I’m working on right where the insertion point is

To do this I came up with this IDE Script that I saved in my Scripts dir next to the IDE

Dim stripped As String
stripped = DoShellCommand("echo ""// Updated `/bin/date ""+%Y-%m-%d %H:%M:%S %Z""` -- NJP"" | /usr/bin/tr -C -d ""[:print:]"" | /usr/bin/pbcopy -Prefer txt")

DoCommand("Paste")

this will make use of the DoShellCommand to get the unix shell to write a line with the current date in it, copy that to the clipboard, and then paste it right where the insertion point is

You can modify the unix shell commands used to do just about whatever else you want

Archived cases to be reopened

Posting this list here so its publicly known these exist & should be reopened
I’d post this list on TOF as well if I could

http://feedback.xojo.com/case/55562
http://feedback.xojo.com/case/55777
http://feedback.xojo.com/case/56094
http://feedback.xojo.com/case/56923
http://feedback.xojo.com/case/55319
http://feedback.xojo.com/case/57381
http://feedback.xojo.com/case/57380
http://feedback.xojo.com/case/56113
http://feedback.xojo.com/case/57125
http://feedback.xojo.com/case/56765
http://feedback.xojo.com/case/56233
http://feedback.xojo.com/case/57500

if you have your own list add to the thread on INN


Why you should subscribe to feedback cases

One of the criteria Xojo uses is number of voters (or subscribers) to judge how important a case is

Its been repeated that

I’m told it’s not that important to Xojo users or else they would have voted for it. So I’m going to rally the troops here and ask you to vote for it.

Because of how they rate importance it is important that you subscribe to bugs, not just read the case and hope Xojo does something about it.

Multiple return types dream

Suppose you want to do something like a set of preferences that are a simple key/value pairing.

A dictionary seems a great choice. Its keys can be any type and the values any type because both are variants.

So far so good.

Now you can do something like

dim i as integer = PrefsDict.Value("keyForIntegerValuedPreference")

And all seems great !… Read the rest

The great opening

Xojo decided to change Feedback statuses on reports by essentially telling users less.

So instead of knowing what reports have been reviewed and found to be reproducible by their testing staff, which ones have been verified as bugs by development staff, etc everything is now just “Open” until one day it may reach some other status.… Read the rest

New vs renew

Suppose there is a software product that sells brand new for $99

And once you own one you can update it for 50% off

If you can attract 500 new users every year then you should go after new users since you earn more money than if 500 existing users renew. 2x as much.

Now suppose you adopt Apples full price renewal model ?… Read the rest

If you have money to throw around

Over the years I’ve seen lots of people say they buy a license whether they intend to actually use it or not JUST to support Xojo.

If thats you I’d sure willingly accept what ever extra cash you have to put to things you wont use and I’m sure I can write you some in short order.… Read the rest

Numbers

deltas are the change since Feb 23, 2021

Closed (Already Exists) 7 (+1 from last report)
Closed (By Design) 45 (+7)
Closed (Duplicate) 49 (+17)
Closed (Misc) 31 (+6)
Closed (No Longer Reproducible) 2 (+2)
Closed (Not Actionable) 7 (+4)
Closed (Not Reproducible) 44 (+6)
Closed (Won’t Implement) 8 (+1)
Fixed 11 (+6)
Fixed & Verified 107 (+16)
Implemented 1 (-1)
Implemented & Verified 15 (+6)
Needs Review 16 (+10)
Reproducible 174 (+33)
Resolved 2 (no change)
Reviewed 222 (+33)
Verified 34 (5)

Open 446 (+81)
Closed 329 (+70)