Messages - skrommel [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 ... 187next
11
For generation icons, maybe ImageMagick is a better tool? You can layer and position images, and export them to an icon, all using the command line.

output.png

Download and install ImageMagick here.

Here's a script that resizes 2.jpg,
merges 1.png, 2.jpg and 3.png,
saves the result as icon.ico. 

Save the script at Merge.cmd in the ImageMagic folder, also either place the images here, or change the script to point to the correct images.

convert.exe 2.jpg -resize 216x216 output.png
convert.exe 1.png output.png -gravity center -composite output.png
convert.exe output.png 3.png -gravity center -composite output.png
convert.exe output.png -define icon:auto-resize=256,128,64,48,32,16 icon.ico

12
Finished Programs / Re: FINISHED: Speed It Up, or Slow It Down
« on: September 05, 2017, 07:26 PM »
@nkormanik: I swapped the Num-keys and added two lines at the bottom. If you remove the ; you can make the program only send PageDown to FPReader.

13
@Stamimail: Added a folder to the icon, sorry I didn't interpret your description correctly the first time. Download the Folder.png and Flip.png and place them in the same folder as the script.

About the unicode filenames, did you download the unicode version of AutoHotkey?

I also removed the path of the icon-file to make it work if a folder is moved.

14
:) Try ImageToFolderIcon! Choose an image file and a folder, and it will change the icon of the folder.

ImageToFolderIcon.jpg

It's a first draft, test it and give me some feedback. You may have to restart explorer.exe or your computer to force the folder icon to update, I'll see if there's a solution to this.

Save the script as ImageToFolderIcon.ahk. Download and install AutoHotkey to run the script.

06.09.2017: Added folder image to icon. Download and place Folder.png and Flip.png in the same folder as the script.
06.09.2017: Made the icon path relative to allow for moving of folders.

Skrommel

15
Finished Programs / Re: FINISHED: Speed It Up, or Slow It Down
« on: September 05, 2017, 07:32 AM »
 :) Try PageDown.  The program presses PageDown every x seconds. Press Num+ and Num- to change the delay.

Save the script as PageDown.ahk. Download and install AutoHotkey to run the script.

Skrommel

;PageDown.ahk
;  Presses PageDown every x seconds. Press Num+ and Num- to change the delay.
;Skrommel @ 2017

#NoEnv
#SingleInstance,Force

delay=1000
GOTO,PAGEDOWN

NumPadSub::
delay+=1000
ToolTip,Delay: %delay%
Return

NumPadAdd::
delay-=1000
If (delay<1000)
  delay=1000
ToolTip,Delay: %delay%
Return

PAGEDOWN:
Sleep,%delay%
;IfWinNotActive,FBReader
;  Goto,PAGEDOWN
Send,{PgDn}
ToolTip,PageDown
Goto,PAGEDOWN

Pages: prev1 2 [3] 4 5 6 7 8 ... 187next
Go to full version