a small story for my scanner

Built a scanner? Started to build a scanner? Record your progress here. Doesn't need to be a whole scanner - triggers and other parts are fine. Commercial scanners are fine too.

Moderator: peterZ

Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

and I paid my scanner with black mate spray because I have reflections with bigger books
Image
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

Image
Image
Image
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

for set zoom with autostart from user waterwingz of chdk forum
it needs chdk on cameras on lock
for more informations https://chdk.setepontos.com/index.php?t ... icseen#new

open up notepad copy paste that an save that scripti in the name something.lua
then run it as script
--[[
@title AutoStart
@chdk_version 1.3

@param step Zoom Position (step)
@default step 0
@range step 0 12

--]]

sleep(1000)
set_console_layout(0, 1, 48, 16)

if autostarted() then
print("autostarting")
sleep(2000)
end

if ( get_mode() == false ) then -- switch to shooting mode
set_record(1)
while ( get_mode() == false) do sleep(100) end
sleep(1000)
end

set_zoom(step)
print("zoom step="..step)
sleep(1000)
print("autostart complete")
exit_alt()
sleep(500)
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

---notes


format sd card fat 32 ,copy paste a3300 -c version
After the CHDK logo briefly displays, start CHDK by using the <ALT> key sequence for your camera.
Enter the CHDK menu, and select Miscellaneous stuff -'> SD Card' -> Make Card Bootable
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

Zoom
1 ALT + MENU
2 Script (program your camera)
3 Autostart Οn
Load script
4 auto _on .lua
5 zoom position 6 for books ,3 for magazines

usb remote
1 ALT + MENU
2 CHDK Settings
3 Remote Parameters
4 Enable Remote yes
switch type One Push
control mode normal
User avatar
daniel_reetz
Posts: 2812
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: a small story for my scanner

Post by daniel_reetz »

Great work. It's great to hear that this project helped introduce you to new technologies and making things. That's what it's all about.
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

thanks daniel


https://www.youtube.com/watch?v=spEcHXkFmDM
https://www.youtube.com/watch?v=0_FXanW_npM

one day i will try to find a way to procces in open programs
Konos93a
Posts: 186
Joined: 19 Sep 2016, 10:00
E-book readers owned: kobo aura,kindle 1,kindle pw3,pocketbook inkpad 2
Number of books owned: 3000
Country: greece

Re: a small story for my scanner

Post by Konos93a »

Image

i want that when opening(double clicking) picture ‘0201’ in the ‘Shortcutoriginal’ folder, Autohotkey opens the ‘0201’ in the ‘Original’ folder instead

shortcutfolder has cropped images from original folder.add the ones you want
https://autohotkey.com/boards/viewtopic.php?f=5&t=36133

Code: Select all

#SingleInstance Force

OriginalFolder = D:\ebookscanner\17-7-21\teckthought\experiment\original
;ShortcutFolder = D:\ebookscanner\17-7-21\teckthought\experiment\shortcutsoriginal	; This line is obsolete.

#IfWinActive, shortcutsoriginal ahk_exe Explorer.exe

^0::	; Press Ctrl + 0 to open the original picture.
	SEND, ^c	; Copy the picture's filepath.
	
	StringGetPos, FirstBackSlashPos, Clipboard, \, R

	StringRight, FileName, Clipboard, % StrLen(Clipboard) - FirstBackSlashPos
	
	Run, % OriginalFolder . FileName
Return

#IfWinActive
dtic
Posts: 464
Joined: 06 Mar 2010, 18:03

Re: a small story for my scanner

Post by dtic »

Konos93a wrote: 22 Aug 2017, 14:40 i want that when opening(double clicking) picture ‘0201’ in the ‘Shortcutoriginal’ folder, Autohotkey opens the ‘0201’ in the ‘Original’ folder instead
Here is one way to do that

Code: Select all

#IfWinActive, shortcutsoriginal ahk_exe Explorer.exe
Lbutton::
if ("Lbutton" == A_PriorHotkey && A_TimeSincePriorHotkey < 500) {
msgbox, rest of code goes here
} 
else
 Click
Return
#IfWinActive
Post Reply