#script:

import tkinter

import tkinter.messagebox

print("--------------error message generator---------------")

iconset = 0

window = tkinter.Tk()

window.eval('tk::PlaceWindow %s center' % window.winfo_toplevel())

window.withdraw()

title_input = input("Title?")

print("Title set as: " + title_input)

message_input = input("Message?")

print("Message set as: " + message_input)

print("type 1 for warning")

print("type 2 for error")

print("type 3 for info")

icon = input ("icon?")

if icon == "1":

iconset = 'warning'

if icon == "2":

iconset = 'error'

if icon == "3":

iconset = 'info'

message = tkinter.messagebox.showinfo(title_input, message_input, icon=iconset)

window.deiconify()

window.destroy()

window.quit()



2 comments

Loading...

Next up

Another Sneak peek

Vr hub thing

decided to add an exterior

The Scratch Team has just recently updated their Terms of Service yesterday, letting you know they now have full permission to use your content to train AI models.

ok i FINALLY finished dropsane teto

i think i still got it

another another sneak peek

an attempt at making the SCP 3008 camera

anyways here's my new sona ref (+ some fun facts)

i hope you like it

spent way too much on this trashy selection highlighting