AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to select folder in tree in allinone installation soft ?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
awannaknow



Joined: 14 Jun 2009
Posts: 34

PostPosted: Sat Oct 24, 2009 5:33 pm    Post subject: How to select folder in tree in allinone installation soft ? Reply with quote

Hi,








I searched before posting, but was unable to find something I can use or sometimes even understand ...
Embarassed
May be it's even possible not to have the windows pops up on the desk during config, it may be done hidden ?
Any directions I'll be glad to ha! have ! ! !
I improved a little bit since my last post, and found a lot of things, it's so interesting , unfortunately time is the one constraint ...
Rolling Eyes
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Oct 24, 2009 6:38 pm    Post subject: Reply with quote

check help file for ControlSetText, it might work
Back to top
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Sat Oct 24, 2009 7:04 pm    Post subject: Reply with quote

Try this to access a specific item in a Treeview.
Read the documentation on this link for how to do it.
http://www.autohotkey.com/forum/viewtopic.php?t=12381
_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
awannaknow



Joined: 14 Jun 2009
Posts: 34

PostPosted: Sun Oct 25, 2009 11:21 am    Post subject: FeedBack Reply with quote

Thanks to Guest and txquestor,
I did try txquestor solution first as I didn't understood the relation with my problem with Guest solution.
But could'nt manage txquestor solution: yet, I'm not at the right level to grasp it.
I found the solution myself and when back to give feedback I found that Guest gave it to me !
Wink
Althought the editbox is grayed out sending something like :
ControlSetText, Edit2, E:\Mes images, Enregistrer, Enregistrez l'image numérisée dans un dossier spécifique.
Did change the default path to E:\Mes images
Thank you for your help I need to dig on txquestor solution as I had an error message when running RTV.ahk (with RemoteBuf.ahk in the same directory, and start to "Read the documentation on this link for how to do it.") :
#Include file "RemoteBuf.ahk" cannot be opened.
Back to top
View user's profile Send private message
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Sun Oct 25, 2009 5:26 pm    Post subject: Reply with quote

The command you can use for the RemoteBuf solution is TV_Selectitem

The #include error is because you need to put the path of the file.
Example:

Code:

#include %A_SCRIPTDIR%\RemoteBuf.ahk  ; Autohotkey Built-in Variables for script directory or working directory
; OR
#include \A_ProgramFiles\Autohotkey\lib\RemoteBuf.ahk  ; Autohotkey LIB folder for repeated use or script Libraries like COM.ahk
; OR
#include \your path\RemoteBuf.ahk  ; path of your choice


Let me know how you do with the RemoteBuf solution if you pursue it.

Have Fun Laughing
_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
awannaknow



Joined: 14 Jun 2009
Posts: 34

PostPosted: Mon Oct 26, 2009 8:12 am    Post subject: Reply with quote

Hi, txquestor

I got this error :


Tried to find the problem, but can't.
Embarassed
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 882
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Mon Oct 26, 2009 1:25 pm    Post subject: Reply with quote

Too few parameters passed to function.
_________________
Antonio França
aka MasterFocus aka Tunis
+ My AHK stuff: ~MasterFocus
+ AHK @ irc.freenode.net: #ahk
Contact: PM only !
Back to top
View user's profile Send private message
awannaknow



Joined: 14 Jun 2009
Posts: 34

PostPosted: Mon Oct 26, 2009 5:39 pm    Post subject: Reply with quote

MasterFocus wrote:
Too few parameters passed to function.



Boa tarde (aqui e muito tarde) Antonio !
Razz
Yes, I read it too, but don't know what to do with this information !
Rolling Eyes
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3854
Location: Bremen, Germany

PostPosted: Mon Oct 26, 2009 6:50 pm    Post subject: Reply with quote

Hi awannaknow,

There might be two solutions that are easier to accomplish:

Have you tried to give the software the path on installation?
That might be easier then changing the path later.

You might as well take a look at config/ini files or the registry. If the software stores the path there, just change it when the software isn't running.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
awannaknow



Joined: 14 Jun 2009
Posts: 34

PostPosted: Mon Oct 26, 2009 10:16 pm    Post subject: Reply with quote

Hi toralf,
I searched, 2 days ago, to localize a file or registry but nothing.
After reading your post, I installed installwatch , to search once more, to find differences before and after:
Nothing too.
It might be inside some program files like a dll or something.
I would have been glad to make your solution work too.
Maybe I need to learn more.
But it's ok, it work with Guest suggestion :
Quote:
Guest Posted: Sat Oct 24, 2009 9:38 pm Post subject:

check help file for ControlSetText, it might work

I just wanted to learn and dig on txquestor solution.
It seems that trees are not easy to manage.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group