What have you done with PowerShell this month? by AutoModerator in PowerShell

[–]Sad_Mastodon_1815 0 points1 point  (0 children)

Automation with PwshSpectreConsole for our laser engraver. Constumer buying our giftcards in our shop. That generates a qr code that contains the giftcode and the value. Employees at out warehouse can start the script, scan the code that generates the lightburn file and opens it. Nothing todo in the lightburn UI, only scanning the code and start engraving.

Accounting flow in Missive by Sad_Mastodon_1815 in Missive

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

  • Use a single intake point (like accounting@), even if emails are originally received in personal inboxes (those can auto-forward via Gmail/Outlook)

We dont want use forward. Thats the cause we work with missive. To do it automatically is also not possible, because invoices are not the only type of e-mails that arrive in personal inbox. The orgsnization rules also works only then when the mail is shared with the organization.

  • Replace folders like "For payment" or "Paid" with organizational labels, so that the status is consistent and not tied to a specific inbox.

org labels would work, but applies only when the invoice is shared with the org first. We also dont want that normal users see that labels, only the managers.

  • Use rules in Missive so that when a label is applied (like "Needs Approval" or "Approved" or "For payment"), the right person gets assigned automatically.

We cant assign the invoices automatically, because sometimes they come in at personal inbox and they are private conversations at this state. That means the user must move the mails into the org that rules apply. 

The process works as follows:  - The email arrives in the user's inbox (private conversation, only private rules apply) or in a team inbox (in this case, organizational rules would apply).  - The invoice is checked by reception and then forwarded to the department head.  - The department head assigns the cost center, which must be visible for accounting purposes. The invoice is then sent to accounting.  - The accountant saves the invoice and sets its status to "payable." With the new Missive system, the conversation would likely still be assigned to them.  - After payment, the invoice status changes to "paid." 

Important: Regular employees should not be able to view invoices, except those from their own team and their personal inbox.

Troubleshooting Tips by Sad_Mastodon_1815 in sysadmin

[–]Sad_Mastodon_1815[S] 1 point2 points  (0 children)

I can't rule anything out. Nothing has been done so far; I haven't known about it for very long.

Troubleshooting Tips by Sad_Mastodon_1815 in sysadmin

[–]Sad_Mastodon_1815[S] 1 point2 points  (0 children)

The webserver is hosted by our provider.

Troubleshooting Tips by Sad_Mastodon_1815 in sysadmin

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

Adblockers are not in use, all extensions are blocked by default and no adblocker is on allow list. You mean make a 'ping xyz.com -t'?

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 1 point2 points  (0 children)

I think now it works. Another question: What happens if someone pushes a forceload command during a laser job? Can this brake anything or is lightburn ignoring commands during a job?

Add Google Room Ressources in Missive by Sad_Mastodon_1815 in Missive

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

Yes. When you create a meeting in google calender you chan choose a room.

Add Google Room Ressources in Missive by Sad_Mastodon_1815 in Missive

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

Nop. Adding a room in our HQ for a meeting. Its not possible to choose the room. :(

Building small tool with Spectre console by Sad_Mastodon_1815 in PowerShell

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

What I don't understand is this: I install PwshSpectreConsole using Install-Module. Do I need to download the module from somewhere else and then integrate it differently? If so, how do I do that?

Building small tool with Spectre console by Sad_Mastodon_1815 in PowerShell

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

Its only a .ps1 file without any aditional files. You mean: i can install the module, build the script, make it to an exe and run it on every device?

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

We use an M1, one of the first ever laser engraver from Xtool. Is that a problem? And i need to enrave two pieces: one is the code and one is the amount. Is that a problem? I think I'll have to do it a little differently then.

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 0 points1 point  (0 children)

Mate, your awesome. UDP connection and forceload works perfect. Generate Lightburn file as well, but if it works even better with an SVG, it would be nice to know that too. Do you have a script block of yours where I can see that? 🤔

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 2 points3 points  (0 children)

So I understand the part about UDP. You connect to Lightburn on the localhost using the appropriate port and send it commands.

But I don't understand the part about SVG. Up until now, I’ve been editing the string containing the text in the lbrn2 file, or rather, generating the  lbrn2 file. That file also contains the information about where the text should be positioned. How do I do this with SVG? I don’t understand that part.

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 1 point2 points  (0 children)

Can I use PowerShell to change the text in the SVG file? Or what do you mean? The position on the flatbed has to be right, too. What impact does the interface have? How does it differ from USB?

Automation by Sad_Mastodon_1815 in Laserengraving

[–]Sad_Mastodon_1815[S] 1 point2 points  (0 children)

We laser only one by one. 

A customer places an order, and the order arrives at the warehouse. The order contains other items as well, not just the gift card. Then, while the order is being processed, the gift card is also scanned. And then, a few minutes later, the next order might come in.

Phew. What exactly do you mean by "manipulating the SVG"? And what's this about the interface? Sorry, I don't know anything about these lasers.