| |
|
|
GDL | Hi Profaner
again small thing,with great Auswikung
Nutze this program to Mikrocontrolerprogramierung.there the begot View source Atmel Assembler is,is it necessary,the any Lines from of my application correctly übernommen go.an Fehlersuche in ASM code without debugger nervt jedesmal.
now to that trouble: Since I The Lines at loading of/ one File particular evaluate must,have I the following zusammengebastelt:
WhileNot @Eof(#1) Input #1,worth$ InsertString editor&,worth$ sleep 20 otherwise becomes Return verschluckt @SendKey(editor&,13) Return Send Sprungmarken detect
One install of/ one Loop ,as well as one raise the sleepwertes helps nothing,it go always some Return verschluckt. without sleep go any Lines aneinandergefügt.
The latest Possibility would The File as .txt complete einzulesen and then The Lines auszuwerten.want me but ifs possible is a complete Neuprogr.this Programmteiles save.
too if his suggestion with settimer waitinput killtimer is not.
my Modelleisenbahn power me yet to that Windowsprogramierer.Hätt so did i never virtual.
with friendly greet Georg |
|
|
| |
|
|
|
| helps it too nothing if You instead of only
SendKey(editor&,13)
too yet
SendKey(editor&,13) SendKey(editor&,10)
or only
SendKey(editor&,10)
write?
For which eigendlich the Sendkey in the Context with the Listbox? is the a Fremdanwendung which there gesteuert becomes?
salvo, iF |
|
|
| |
|
|
|
GDL | Hi If
Ne,have no Listbox.editor& is the lever of Richedit. there the Richedit with Prfellow created watts is insertstring one Richeditbefehl under Prfellow.
Try your suggestion now from.
Georg |
|
|
| |
|
|
|
| Ah understand - then Try still at times whom insertstring the chr$(10) oda 13 directly anzuhängen instead of by Global.
salvo, iF |
|
|
| |
|
|
|
GDL | Hi If
habss ausprobiert.
Global(editor&,10) gleiches Result How described
Global(..,13) Global(...,10)
selbiges,only with additional Leerzeilen
with Global(..10) or 13 zusätzlicher schleife or REM and sleep 1000
ca.20 - 30 Lines normal eingefügt and then again gossip a Hintendrann then 20 -30 ............
or same to Belieben everything together and even once everything correctly.. really integrally jolly.
with friendly greet Georg |
|
|
| |
|
|
|
| As I said Try still time integrally without Sendkey
InsertString editor&,worth$+chr$(10)
should still eigendlich too weg.
salvo, iF |
|
|
| |
|
|
|
GDL | Hi If,
my attempt and your new suggestion überschnitten itself timewise. but one append of chr$(13) or chr$(10) remaining without reaction.
always I,with my unkonventionellen Style.
Übrigens watts our weiße glitter today by a satten Temperaturanstieg to a Surflandschaft on disengaged Felde compiliert.
Georg |
|
|
| |
|
|
|
GDL | Hi
habs complete differently(without Global) now resolved.On normal Profandialoge goes Global though correctly..
Georg |
|
|
| |
|
|
|
| as further alternative had I there yet The API kb_event anzubieten... |
|
|
| |
|
|
|
GDL | Hi Andreas
come with the API not at all zurecht.Kannste one small example Send. learn The API only through Examples and its rumprobier-en.thanks.
in the Dateigenerator are your Examples,particularly The with the mouse, umfunktioniert with installed.wars but simply no reasonable manual for Dateigenerator on The legs.be not umsonst krankheitsbedingt Berufsunfähig.Stoße always on my Leistungsgrenzen.will be but dranbleiben,help me from of my isolation a little bit auszubrechen.
with friendly greet Georg |
|
|
| |
|
|
|
| Hello Georg...
no trouble: CompileMarkSeparationkbd_event schickt eine Tastatureingabe an das Control/Fenster, das den Eingabefocus hat
DEF @keybd_event(4)!"User32","keybd_event"
WINDOWSTYLE 31
Windowtitle "WordPad steuern"
Window 0,0-640,440
Declare WordPadHandle&
@WINEXEC("Write.exe",3)
While WordPadHandle&=0
Sleep 1000
LET WordPadHandle&=@FINDWINDOW("Dokument - WordPad")
Wend
@keybd_event($12,0,0,0) $12=Scancode von Taste ALT (springt ins Menü)
@keybd_event(@ord("D"),0,0,0) Taste D drücken
@keybd_event(@ord("D"),0,2,0) Taste D loslassen
@keybd_event(@ord("F"),0,0,0) Taste F drücken
@keybd_event(@ord("F"),0,2,0) Taste F loslassen
@keybd_event($12,0,2,0) Taste ALT loslassen
@SENDSTRING(@GETACTIVEWINDOW(),$WINPATH+"WIN.INI")
@keybd_event($0D,0,0,0) $12=Scancode von Taste RETURN
@keybd_event($0D,0,2,0) Taste RETURN loslassen
$01 Linke Maustaste VK_LBUTTON
$02 Rechte Maustaste VK_RBUTTON
$03 Strg-Unterbrechung VK_CANCEL
$04 Mittlere Maustaste VK_MBUTTON
$08 BackSpace VK_BACK
$09 Tab-Taste VK_TAB
$0C Entfernen VK_CLEAR
$0D Return VK_RETURN
$10 Shift VK_SHIFT
$11 Strg VK_CONTROL
$12 Alt / Menü VK_MENU
$13 Pause VK_PAUSE
$14 CapsLock VK_CAPITAL
$1B Esc VK_ESCAPE
$20 Space VK_SPACE
$21 BildHoch VK_PRIOR
$22 BildRunter VK_NEXT
$23 Ende VK_END
$24 Pos1 VK_HOME
$25 Links VK_LEFT
$26 Hoch VK_UP
$27 Rechts VK_RIGHT
$28 Runter VK_DOWN
$29 Select VK_SELECT
$2A Druck VK_PRINT
$2B Execute VK_EXECUTE
$2C Druck VK_SNAPSHOT
$2D Einfg VK_INSERT
$2E Entf VK_DELETE
$2F Hilfe VK_HELP
$30 Taste 0 VK_0
$31 Taste 1 VK_1
$32 Taste 2 VK_2
$33 Taste 3 VK_3
$34 Taste 4 VK_4
$35 Taste 5 VK_5
$36 Taste 6 VK_6
$37 Taste 7 VK_7
$38 Taste 8 VK_8
$39 Taste 9 VK_9
$41 Taste A VK_A
$42 Taste B VK_B
$43 Taste C VK_C
$44 Taste D VK_D
$45 Taste E VK_E
$46 Taste F VK_F
$47 Taste G VK_G
$48 Taste H VK_H
$49 Taste I VK_I
$4A Taste J VK_J
$4B Taste K VK_K
$4C Taste L VK_L
$4D Taste M VK_M
$4E Taste N VK_N
$4F Taste O VK_O
$50 Taste P VK_P
$51 Taste Q VK_Q
$52 Taste R VK_R
$53 Taste S VK_S
$54 Taste T VK_T
$55 Taste U VK_U
$56 Taste V VK_V
$57 Taste W VK_W
$58 Taste X VK_X
$59 Taste Y VK_Y
$5A Taste Z VK_Z
$5B VK_LWIN
$5C VK_RWIN
$5D VK_APPS
$60 Num Tastenblock 0 VK_NUMPAD0
$61 Num Tastenblock 1 VK_NUMPAD1
$62 Num Tastenblock 2 VK_NUMPAD2
$63 Num Tastenblock 3 VK_NUMPAD3
$64 Num Tastenblock 4 VK_NUMPAD4
$65 Num Tastenblock 5 VK_NUMPAD5
$66 Num Tastenblock 6 VK_NUMPAD6
$67 Num Tastenblock 7 VK_NUMPAD7
$68 Num Tastenblock 8 VK_NUMPAD8
$69 Num Tastenblock 9 VK_NUMPAD9
$6A Multiplikationstaste (*) VK_MULTIPLY
$6B Additionstaste (+) VK_ADD
$6C Separatortaste VK_SEPARATOR
$6D Subtraktionstaste (-) VK_SUBTRACT
$6E Dezimaltaste (,) VK_DECIMAL
$6F Divisionstaste (/) VK_DIVIDE
$70 F1 VK_F1
$71 F2 VK_F2
$72 F3 VK_F3
$73 F4 VK_F4
$74 F5 VK_F5
$75 F6 VK_F6
$76 F7 VK_F7
$77 F8 VK_F8
$78 F9 VK_F9
$79 F10 VK_F10
$7A F11 VK_F11
$7B F12 VK_F12
$7C F13 VK_F13
$7D F14 VK_F14
$7E F15 VK_F15
$7F F16 VK_F16
$80 F17 VK_F17
$81 F18 VK_F18
$82 F19 VK_F19
$83 F20 VK_F20
$84 F21 VK_F21
ass=s3> $85 F22 VK_F22
$86 F23 VK_F23
$87 F24 VK_F24
$90 Numlocktaste VK_NUMLOCK
$91 Rollentaste VK_SCROLL
the Control, on that you whom Tastendruck Send want, must whom Eingabefocus having - means before evtl. with SetFocus enable... |
|
|
| |
|
|
|
GDL | Hi Andreas,
thanks.How through Geisterhand becomes The Win.ini in Wordpad loaded. goes same in my API Anwendugssammlung.gigant net,that You me same The Tastenbelegung included have.
Georg |
|
|
| |
|
|