Golbez Posted August 5, 2013 Posted August 5, 2013 (edited) i really hate to bring up old topics but im having the same problem. i tried edit using the resource hacker and it still doesnt work. this is my code im trying to compile. not sure why it wont work i also attached the icon i want #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=C:\Users\Kid Reborn\Desktop\New folder\icons #AutoIt3Wrapper_Res_Comment=C:\Users\**your username**\Documents\my games\runic games\torchlight 2\SaveFilesBackup #AutoIt3Wrapper_Res_Description=Simple program to backup your Torchlight 2 save. (Makes a backup folder where the saves are) #AutoIt3Wrapper_Res_Fileversion=1.0.0.0 #AutoIt3Wrapper_Res_LegalCopyright=Raymond Smith #AutoIt3Wrapper_Res_requestedExecutionLevel=None #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.9.13 (Beta) Author: Raymond Smith Script Function: Simple program to backup your Torchlight 2 save. (Makes a backup folder where the saves are) #ce ---------------------------------------------------------------------------- Global $scrdir = @UserProfileDir & "\Documents\my games\runic games\torchlight 2\" Global $filedes = $scrdir & "\SaveFilesBackup\" & @MON & "-" & @MDAY & "-" & @YEAR If FileExists($scrdir) = 1 And FileExists($filedes) = 1 Then MsgBox(4096, "Can not Copy", "Folder already exists") ElseIf FileExists($scrdir) = 1 And FileExists($filedes) = 0 Then Global $file1 = DirCopy($scrdir & "save", $filedes & "\save", 8) Global $file2 = DirCopy($scrdir & "modsave", $filedes & "\modsave", 8) If $file1 = 1 AND $file2 = 1 Then MsgBox(4096, "Success", "Saves Backed up Successfully") Else MsgBox(4096, "Error", "Can Not Copy") EndIf Else MsgBox(4096, "Can not Copy", "Folder does NOT exists") EndIf . edit: seems like i cant get the .ico to upload. its the default ico for torchlight 2 or if i can get this as the icon Edited August 5, 2013 by Golbez
Moderators Melba23 Posted August 5, 2013 Moderators Posted August 5, 2013 Golbez,Are you defining an icon file? What you have in that snippet looks more like a folder to me. #AutoIt3Wrapper_Icon=C:\Users\Kid Reborn\Desktop\New folder\iconsM23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Golbez Posted August 5, 2013 Posted August 5, 2013 (edited) Golbez, Are you defining an icon file? What you have in that snippet looks more like a folder to me. #AutoIt3Wrapper_Icon=C:\Users\Kid Reborn\Desktop\New folder\icons M23 #AutoIt3Wrapper_Icon=C:UsersKid RebornDesktopNew foldericonsIcon_1.ico i forgot i didnt try it again when i copied it, still doesnt work; just shows the defualt windows icon. edit: got my icons uploaded this time icons.zip Edited August 5, 2013 by Golbez
Moderators Melba23 Posted August 5, 2013 Moderators Posted August 5, 2013 Golbez,Can you post the icon in question so I can try it with your code. The directive certainly does work when I use one of my icons in your script. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Golbez Posted August 5, 2013 Posted August 5, 2013 (edited) Golbez, Can you post the icon in question so I can try it with your code. The directive certainly does work when I use one of my icons in your script. M23 there all the same i think if it matters anything. i lifted the icon off the torchlight2.exe with the resource hacker. then i changed the name cause i thought it might be that xD (dumb reason i know, but im out of ideas why its not working) tl2.ico Edited August 5, 2013 by Golbez
Moderators Melba23 Posted August 5, 2013 Moderators Posted August 5, 2013 (edited) Golbez, The icon file appeared to have some corrupted images inside it. I have cleared them out and left a single 32x32 256-colour image - that compiles without problem. See if it does for you: M23 Edited August 5, 2013 by Melba23 File removed 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Golbez Posted August 5, 2013 Posted August 5, 2013 (edited) Golbez, The icon file appeared to have some corrupted images inside it. I have cleared them out and left a single 32x32 256-colour image - that compiles without problem. See if it does for you: tl2.ico M23 tytyty it worked edit: that icon looks good as a small icon, but bad as a large icon. xD guess ima have to go find a new one Edited August 5, 2013 by Golbez
Moderators Melba23 Posted August 5, 2013 Moderators Posted August 5, 2013 Golbez,In future when you reply, please use the "Reply to this topic" button at the top of the thread or the "Reply to this topic" editor at the bottom rather than the "Quote" button - I know what I wrote and it just pads the thread unneccessarily. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Golbez Posted August 5, 2013 Posted August 5, 2013 kk, only reason why i did it is cause i was responding to that
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now