Jump to content
Sign in to follow this  
naru

Generate Serial Key Using Autoit ?

Recommended Posts

How to generate Random key using autoit ?

Create new txt file and Copy the generated key into txt file.

The key includes with some capital letters and numbers.

The generated key should not be generate again.

 

 

Edited by naru

Share this post


Link to post
Share on other sites
_WinAPI_CreateGUID Creates a globally unique identifier (GUID).

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-09-05 - Version 1.5.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-27 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites
26 minutes ago, water said:
_WinAPI_CreateGUID Creates a globally unique identifier (GUID).

My english is not well, i am trying to this understand but cant understand how to use it ?

Share this post


Link to post
Share on other sites

Did you try to run the example script provided with the link I posted above?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-09-05 - Version 1.5.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-27 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites
Just now, water said:

Did you try to run the example script provided with the link I posted above?

Yes, Nothing happens when run it 

Share this post


Link to post
Share on other sites
8 minutes ago, naru said:

Yes, Nothing happens when run it 

A total meaningless statement!

You really need to start kicking your brains in gear and think for yourself as I only see posts telling us that it doesn;t work and you don't understand.
It feels pretty much like you are too lazy to do it yourself and expect other to do the coding for you.

So please don't bother posting questions here when you aren't prepared to do anything yourself first.

Jos 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
1 minute ago, Jos said:

A total meaningless statement!

You really need to start kicking your brains in gear and think for yourself as I only see posts telling us that it doesn;t work and you don't understand.
It feels pretty much like you are too lazy to do it yourself and expect other to do the coding for you.

So please don't bother posting questions here when you aren't prepared to do anything yourself first.

Jos 

@Jos i am trying this now, but how can i generate it i don't know

Share this post


Link to post
Share on other sites
1 minute ago, Jos said:

Still no information what you have done and what isn't working... I really can't be that hard ...can it?

Jos

@Jos it is very hard for me, can you give me a little example with msgbox?

Edited by naru
need example

Share this post


Link to post
Share on other sites

That's not so hard, so you should try it yourself ;)

Replace the ConsoleWrite function with MsgBox. BTW: The help file is your friend :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-09-05 - Version 1.5.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-27 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites
32 minutes ago, naru said:

@Jos it is very hard for me, can you give me a little example with msgbox?

I hear an echo ...   Though I was pretty clear. Provide proper information and show what you have tried, else don't bother asking questions.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
6 minutes ago, water said:

That's not so hard, so you should try it yourself ;)

Replace the ConsoleWrite function with MsgBox. BTW: The help file is your friend :)

It was generate the long key, I want generate 8 to 12 digit key.

Share this post


Link to post
Share on other sites

It would be great if you could provide more information:

  • What have you tried so far? Please post your code.
  • What do you need it for?
  • Are you limited in length to 8 to 12 characters?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-09-05 - Version 1.5.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-27 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites
1 minute ago, water said:

It would be great if you could provide more information:

  • What have you tried so far? Please post your code.
  • What do you need it for?
  • Are you limited in length to 8 to 12 characters?

i am trying with this code :

#include <WinAPICom.au3>
MsgBox(0,"Key", _WinAPI_CreateGUID() & @CRLF)

I am very poor and i want to sell my code. (I look about xprotec before but i don't understand it)

i am generate key using autoit and then regwrite this key into their computer.

I don't need more than 8 or 12 characters.

Share this post


Link to post
Share on other sites

GUID's are not guaranteed to be COMPLETELY unique but would work pretty well

Btw I get wanting to protect your work as a first time scripter but maybe bone

up on your coding game and make something someone would actually want to steal first

Share this post


Link to post
Share on other sites
1 minute ago, naru said:

i am generate key using autoit and then regwrite this key into their computer.

I don't need more than 8 or 12 characters.

Yea, so? this is the standard length for a unique GUI code so when that doesn't fit your needs you need to make something else that does fit your needs.

... and just to be absolutely clear:  your "Yes, Nothing happens when run it " was total bullshit since now suddenly you do get a code.

Jos

 


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi all,

naru is no longer with us - so thread locked.

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...