Page 2 of 8

Re: a small story for my scanner

Posted: 06 Feb 2017, 16:43
by Konos93a
and I paid my scanner with black mate spray because I have reflections with bigger books
Image

Re: a small story for my scanner

Posted: 06 Feb 2017, 16:43
by Konos93a
Image
Image
Image

Re: a small story for my scanner

Posted: 18 May 2017, 23:47
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)

Re: a small story for my scanner

Posted: 20 Jun 2017, 18:18
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

Re: a small story for my scanner

Posted: 24 Jun 2017, 18:06
by Konos93a

Re: a small story for my scanner

Posted: 24 Jun 2017, 18:25
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

Re: a small story for my scanner

Posted: 13 Aug 2017, 10:14
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.

Re: a small story for my scanner

Posted: 17 Aug 2017, 16:49
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

Re: a small story for my scanner

Posted: 22 Aug 2017, 14:40
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

Re: a small story for my scanner

Posted: 23 Aug 2017, 16:28
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