Tag: niceform

Actions in NiceForm and NiceLabel Portal

One of the main strengths of NiceForm and NiceLabel Portal are actions that let you build workflows that accomplish manual chores quickly, efficiently and effortlessly. You don’t have to know any scripting languages or write any code (unless you want

Posted in NiceForm, NiceLabel Portal Tagged with: , , , , ,

Manipulating date and time using Python in NiceForm and NiceLabel Portal

Time values are represented with the time class. Times have attributes for hour, minute, second, and microsecond. They can also include time zone information. A time instance only holds values of time, and not a date associated with the time.

Posted in NiceForm, NiceLabel Portal Tagged with: , , ,

How can I show a message box using Python script in NiceForm or NiceLabel Portal?

import sys if sys.platform == ‘silverlight’: from System.Windows import * result = MessageBox.Show("Would you like to see the simple version?", "MessageBox Example", MessageBoxButton.OKCancel); if result == MessageBoxResult.OK: MessageBox.Show("No caption, one button."); else: import win32gui import win32con result = win32gui.MessageBox(0, "Would

Posted in NiceForm, NiceLabel Portal Tagged with: , , , ,

Working with Modules in Python Scripts in NiceForm and NiceLabel Portal

A module is a Python source file (a text file) whose name ends in .py. Objects (names) defined in a module can be imported and used elsewhere. The import statement has several different forms: import module from module import name1,

Posted in NiceForm, NiceLabel Portal Tagged with: , , ,

Working with Strings in Python Scripts in NiceForm and NiceLabel Portal

Strings are the basic unit of text in Python. Either single or double quotes can be used to quote strings. This can be useful in some cases: s1 = "Let’s go!" s2 = ‘"NiceLabel is the best!", she said.’  

Posted in NiceLabel, NiceLabel Portal Tagged with: , , ,