AutoHotkey Community

It is currently May 26th, 2012, 11:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 18th, 2009, 7:21 pm 
Offline

Joined: May 31st, 2008, 3:22 pm
Posts: 47
Code:
F1::
ControlGetText, 1Ed, Edit1, A ;Get Path of Active Window Explorer
IniWrite, %1Ed%, %A_ScriptDir%\CapMate.ini, History, path ; here problem
return

F2:: ; Read History ( but only one
IniRead, path, %A_ScriptDir%\CapMate.ini, History, path
MsgBox %path%
return


need add string, not replace. Then F2 press and show all Hisotry paths

will be great show history in systray for next click and browse them


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 7:35 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Code:
F1::
ControlGetText, Ed, Edit1, A ;Get Path of Active Window Explorer
IniRead, _path, %A_ScriptDir%\CapMate.ini, History, path, %A_Space%
Ed := Ed "``n" _path
IniWrite, %Ed%, %A_ScriptDir%\CapMate.ini, History, path ; here problem
Return

F2:: ; Read History ( but only one
IniRead, _path, %A_ScriptDir%\CapMate.ini, History, path
Transform, _path, DeRef, %_path%
MsgBox, % _path
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 10:54 pm 
Offline

Joined: May 31st, 2008, 3:22 pm
Posts: 47
Thanks for help, but i guess my bad eng play bad jokes,


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 11:00 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Which part of my code is a bad joke?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 11:46 pm 
Offline

Joined: May 31st, 2008, 3:22 pm
Posts: 47
my stupidity, i guess im not correct make topic name

i guess my problem in Loop func

that in CapMate.ini
Code:
[History]
191109,00-51-46=G:\1prog\Graph\!Screen Capture\`Console\Capturemation
191109,00-51-48=F:\1Prg\Helpfile\Mp3DirectCut
191109,00-52-43=G:\1prog\Aud\!Ed\Sound forge 10.0.368
191109,00-52-44=F:\Program Files\Sonic Foundry\Sound Forge 6.0\FileIO Plug-Ins
191109,00-52-51=F:\1Prg\Rsrc\XNResourceEditor3
191109,00-52-53=G:\1prog\Vid\`Ed\VirtulaDub ext



i make that i Add FormatTime and now String Add not Replace, that good.

Code:
F1::
FormatTime, 3DnT,, ddMMyy,HH-mm-sss
ControlGetText, 1Ed, Edit1, A ;Get Path of Active Window Explorer
IniWrite, %1Ed%, %A_ScriptDir%\CapMate.ini, History, %3DnT%
return

F2:: ; Read History
IniRead, path, %A_ScriptDir%\CapMate.ini, History, path
MsgBox %path%
return


now i try go all keys of [History] to SysTray menu. sorry for waste Ur & forum time.


that Just Example
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Leef_me, Maestr0, Pulover, rbrtryn, XstatyK and 56 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group