a small story for my scanner
Moderator: peterZ
-
- Posts: 200
- 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
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)
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)
-
- Posts: 200
- 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
---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
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
-
- Posts: 200
- 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
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
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
- 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
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.
-
- Posts: 200
- 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
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
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
-
- Posts: 200
- 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
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
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