HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sancarn

no profile record

Submissions

Ask HN: What are your thoughts on no-code tools like Microsoft's Power Automate?

3 points·by sancarn·há 2 anos·3 comments

comments

sancarn
·há 2 anos·discuss
COM is still actively being used. Not sure why you think it's a problem with windows too. COM is and always has been quite revolutionary imo.
sancarn
·há 2 anos·discuss
Not sure about other people but most of my apps I've made actually can't be made in Office Scripts... They are useless for my needs.
sancarn
·há 2 anos·discuss
> good software that exists on other platforms

You mean like AppleScript?
sancarn
·há 2 anos·discuss
> They had announced Python support for Excel a while back and I wish it was better promoted as a viable VBA replacement

But the existing implementation of Python means that it's not even close to a viable replacement lmao
sancarn
·há 2 anos·discuss
Untested but something like this in VBA should suffice:

    Dim rng as range: set rng = Sheet1.UsedRange
    Dim rows as Long: rows = rng.rows.count
    Dim cols as long: cols = rng.columns.count
    Const SIZE as long = 500
    For i = 2 to rows step SIZE
      Dim wb as workbook: set wb = workbooks.add()
      wb.sheets(1).range("A1").resize(1, cols).value = rng.resize(1).value
      wb.sheets(1).range("A2").resize(SIZE,cols).value = rng.offset(i-1).resize(SIZE).value
      Call wb.SaveAs("C:\Temp\" & i & ".xlsx")
    next
sancarn
·há 2 anos·discuss
These are the reasons I struggle to leave Windows too. Also the open API ecosystem is great. You can do pretty much everything with win32 libraries.
sancarn
·há 2 anos·discuss
> At least I have yet to see one that is actually useful in the sense of a generic (or even a single-purpose-built) language

Yeah as said, https://github.com/enso-org/enso seems to be a general purpose functional programming language with visual editor, but otherwise I haven't really seen any no-code solutions worth their salt. I'm not particularly a fan of enso either, but it's the best I've seen.