Jump to content

Old code needs to be updated


rcmaehl
 Share

Recommended Posts

Can someone make me an updated version of this:

I'd update it myself but I'm VERY busy coding the program it's going to be used in, the project is linked in my signature called URIT.

Thanks a bunch

-Robert C. Maehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

Whats the real reason for not updating it yourself?

It's great you're active but ... as I've understood the General Help & Support section is for helping those with code, demanding people to help you update an existing UDF without any idea or inclination of why that UDF isn't working currently really puts you in a bad light. :mellow:

Edited by guinness

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

Whats the real reason for not updating it yourself?

I have school.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

I updated my last post.

Why not prioritise your coding schedule? Whats the rush for getting this done so quickly? Also you're referencing your 'HUGE PROJECT' but I can't seem to find any code? So if I were to help it would be nice to see what you have so far.

Edited by guinness

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

I updated my last post.

Why not prioritise your coding schedule? Whats the rush for getting this done so quickly? Also you're referencing your 'HUGE PROJECT' but I can't seem to find any code? So if I were to help it would be nice to see what you have so far.

Well, I've scrapped most of the code from the GUI as it was getting clusterfraked. Here's the latest code

#cs
Step 1: Create GUI
      : First GUI Mostly Scrapped beginning again
Step 2: Create Functionality for Creating GUIs
Step 3: Create Functionality for Undo/Redo
Step 4: Create Functionality for Creating Scripts
Step 5: Create Functionality for Importing scripts created by hand
Step 6: Come up with more Functionality ideas
#ce
#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7
#NoTrayIcon
#Include <File.au3>
#include <GUIConstantsEx.au3>
#include <GuiListView.au3>
Global $__GUI[02], $_Menu[03], $_Item[03], $Break[01]
Global $__Tab[03], $_Make[09], $_CTRL[99], $Param[09]
Global $Label[09], $Check[09], $Event[09], $_List[99]
Global $Msg, $Type, $_Num0
Global $_Code[100]
Global $Cache[2][100]
Global $__Num[2] = [0,0]
Creator()
Func Creator()
$__GUI[0] = GUICreate("URIT", 250, 540, 0, -1, 0x00CA0080)
$_Menu[0] = GUICtrlCreateMenu("&File")
$_Item[0] = GUICtrlCreateMenuItem("Save", $_Menu[0])
$Break[0] = GUICtrlCreateMenuItem("", $_Menu[0])
$_Item[1] = GUICtrlCreateMenuItem("&Exit", $_Menu[0])
$_Menu[1] = GUICtrlCreateMenu("&Edit")
$_Item[2] = GUICtrlCreateMenuItem("&Undo", $_Menu[1])
; $_Item[3] = GUICtrlCreateMenuItem("&Redo", $_Menu[1])
GUICtrlCreateTab(0, 0, 250, 520)
$__Tab[0] = GUICtrlCreateTabItem("What")
; $_List[0] = GUICtrlCreateList("", 15, 25, 220, 460, 0x0002)
; GUICtrlSetData($_List[0], StringTrimRight(FileRead(@ScriptDir & "\Definitions\AutoIt.def"), 1))
; $_Make[0] = GUICtrlCreateButton("GUI", 15, 25, 55, 20)
; $_Make[1] = GUICtrlCreateButton("InputBox", 70, 25, 55, 20)
; $_Make[2] = GUICtrlCreateButton("MsgBox", 125, 25, 55, 20)
; $_Make[3] = GUICtrlCreateButton("Script", 180, 25, 55, 20)
; $_Make[4] = GUICtrlCreateButton("Menu", 15, 50, 40, 20)
$__Tab[1] = GUICtrlCreateTabItem("With")
$Label[0] = GUICtrlCreateLabel("Title:", 15, 180, 40, 20, 0x0200)
$Param[0] = GUICtrlCreateInput("My Program", 55, 180, 135, 20, 0x0201)
$Check[0] = GUICtrlCreateLabel("", 200, 180, 35, 20, 0x1201)
$Label[1] = GUICtrlCreateLabel("File/Text:", 15, 200, 80, 20, 0x0200)
$Param[1] = GUICtrlCreateInput('"Line 1" & @CRLF & "Line 2"', 15, 220, 220, 100, 0x0204)
$Check[1] = GUICtrlCreateLabel("", 200, 200, 35, 20, 0x1201)
$Label[2] = GUICtrlCreateLabel("X Pos:", 15, 325, 40, 20, 0x0200)
$Param[2] = GUICtrlCreateInput("0", 55, 325, 40, 20, 0x0200)
$Label[3] = GUICtrlCreateLabel("Y Pos:", 110, 325, 40, 20, 0x0200)
$Param[3] = GUICtrlCreateInput("0", 150, 325, 40, 20, 0x0200)
$Check[2] = GUICtrlCreateLabel("", 200, 325, 35, 20, 0x1201)
$Label[4] = GUICtrlCreateLabel("Width:", 15, 345, 40, 20, 0x0200)
$Param[4] = GUICtrlCreateInput("10", 55, 345, 40, 20, 0x0200)
$Label[5] = GUICtrlCreateLabel("Height:", 110, 345, 40, 20, 0x0200)
$Param[5] = GUICtrlCreateInput("10", 150, 345, 40, 20, 0x0200)
$Check[3] = GUICtrlCreateLabel("", 200, 345, 35, 20, 0x1201)
$__Tab[2] = GUICtrlCreateTabItem("Cache")
$_List[0] = GUICtrlCreateListView("", 15, 25, 220, 460)
  _GUICtrlListView_AddColumn($_List[0], "ID", 30)
  _GUICtrlListView_AddColumn($_List[0], "Event", 180)
; $Event[0] = GUICtrlCreateButton("Cancel", 5, 500, 115, 20)
; $Event[1] = GUICtrlCreateButton("OK", 130, 500, 115, 20)
; State(0)
; State(2)
GUISetState()
While 1
  $Msg = GUIGetMsg()
  Select
   Case $Msg = $_Item[1] Or $Msg = $GUI_EVENT_CLOSE
    Exit(0)
   Case $Msg = $Event[0]
    $Type = ""
;    State(0)
   Case $Msg = $Event[1]
;    _Make($Type)
   Case $Msg = $_Item[2]
;    _Make("Undo")
   Case $Msg = $_Make[0]
    $Type = "GUI"
;    State(1)
   Case $Msg = $_Make[2]
    $Type = "MsgBox"
;    State(3)
   Case Else
    ;;;
  EndSelect
WEnd
EndFunc
; Change GUI Maker GUI Ctrl States
Func State($ID)
$_Num0 = 0
Select
  Case $ID = 0
   GUICtrlSetData($Event[1], "OK")
   For $_Num0 = 0 To 5
    GUICtrlSetState($Param[$_Num0], $GUI_DISABLE)
   Next
  Case $ID = 1
   For $_Num0 = 0 To 5
    If $_Num0 = 1 Then ContinueLoop
    GUICtrlSetState($Param[$_Num0], $GUI_ENABLE)
   Next
  Case $ID = 2
   GUICtrlSetState($_Item[2], $GUI_DISABLE)
  Case $ID = 3
   For $_Num0 = 0 To 1
    GUICtrlSetState($Param[$_Num0], $GUI_ENABLE)
   Next
  Case Else
   ;;;
EndSelect
EndFunc
; Make Stuff / Undo Stuff
Func _Make($ID)
If Not ($ID = "") Then GUICtrlSetState($_Item[2], $GUI_ENABLE)
If Not ($ID = "Undo") Or ($ID = "") Then GUICtrlSetData($Event[1], "AGAIN")
Select
  Case $ID = "GUI"
   $_CTRL[$__Num[0]] = GUICreate(GUICtrlRead($Param[0]), GUICtrlRead($Param[4]), GUICtrlRead($Param[5]), GUICtrlRead($Param[2]), GUICtrlRead($Param[3]), 0x10000000)
   $Cache[0][$__Num[1]] = $_CTRL[$__Num[0]]
   $Cache[1][$__Num[1]] = $ID
   $__Num[0] += 1
   $__Num[1] += 1
  Case $ID = "MsgBox"
   $_CTRL[$__Num[0]] = MsgBox(0x0, GUICtrlRead($Param[0]), GUICtrlRead($Param[1]))
   $Cache[0][$__Num[1]] = $_CTRL[$__Num[0]]
   $Cache[1][$__Num[1]] = $ID
   $__Num[0] += 1
   $__Num[1] += 1
  Case $ID = "Undo"
   $__Num[0] -= 1
   If $Cache[1][$__Num[0]] = "CTRL" Then
    GUICtrlDelete($_CTRL[$__Num[0]])
   ElseIf $Cache[1][$__Num[0]] = "GUI" Then
    GUIDelete($_CTRL[$__Num[0]])
   Else
    ;;;
   EndIf
   If $__Num[0] = 0 Then State(2)
  Case Else
   ;;;
EndSelect
EndFunc

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

You are whoring this "HUGE PROJECT" and trying to hoodwink people into making it for you.

I think your smoke screen of being to busy is a poor and embarrassing one, and does not mask you inability and downright laziness.

I hope you get blown out.

I mean that in the nicest possible way.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

You are whoring this "HUGE PROJECT" and trying to hoodwink people into making it for you.

I think your smoke screen of being to busy is a poor and embarrassing one, and does not mask you inability and downright laziness.

I hope you get blown out.

I mean that in the nicest possible way.

I'm not trying to hoodwink people into making it for me, if I could, I'd make this entirely by myself. I NEED help. I CAN'T do this by myself because I DON'T know the best methods, I DON'T know everything, and I WANT to learn. I have enough stress every day with school work, that just ATTEMPTING this project is making me pull my hair out trying to figure things out. I'd prefer not to be seen badly, but, if I must, I will scrap this project and never speak of it again. I have posted a letter of apology here: http://autoitscript.com/forum/topic/132700-letter-of-apology/.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

Do what you want with your project, its yours. But posting a piece of code up and asking people to upgrade it for you while you go and make better use of your own time, and swan back to a boil in the bag code, ready to slap in a gui is nothing less than insulting to the good people on here.

Best of luck.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Instead of jumping in with both feet and being in over your head, which I can see that you are, you should try to do small projects first and learn as much of the language as you can before tackling something that you have no skills to accomplish. Your idea is above your skill set at the moment, and until you can handle something of that scale and complexity, you probably should shelve it.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

I have school.

Of course you have school. This "I'm VERY busy" and this "HUGE PROJECT" where kinda telling you had to. (underscore by me)

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...