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 

Gui enhancements

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
tank



Joined: 21 Dec 2007
Posts: 676

PostPosted: Mon Dec 24, 2007 3:45 pm    Post subject: Gui enhancements Reply with quote

these are a couple things you find in most programming environments
common dialog boxes
    save file location

    open file

    Print to

    File Search

ability to pass paramiters via command line
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1353

PostPosted: Mon Dec 24, 2007 5:26 pm    Post subject: Reply with quote

I already know how to do all of those apart from print to with ahk. search the forums.
Back to top
View user's profile Send private message
Elevator_Hazard



Joined: 28 Oct 2006
Posts: 304
Location: US

PostPosted: Mon Dec 24, 2007 7:05 pm    Post subject: Reply with quote

Yea, ahk can do all of those. Some aren't internal like the print thing or file search (file search can be done with looping through a file pattern).

Save File Location: FileSelectFile

Open File Location: FileSelectFile

Print: Search the forums, I think there are a few ways its been done.

File Search: This can be done through looping through a file pattern.

Command Line Parameters:

    On other programs: Take a look at the Run command, you could do something like:
    Code:
    Run, %comspec% ping autohotkey.com


    On Your Program: If you wanted to receive command line parameters on your script, just run the .exe or .ahk with w/e params through command line or a shortcut or w/e and inside the script, the variable 0 contains the number of parameters you were given, and the variable 1 contains the first parameter, variable 2 contains the second parameter, and so on.


I hope that helped, happy coding!
_________________
Changed siggy at request of ahklerner Very Happy
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Thu Dec 27, 2007 1:34 pm    Post subject: Reply with quote

CmnDlg module provides all that except Print dialog.
_________________
Back to top
View user's profile Send private message MSN Messenger
tank



Joined: 21 Dec 2007
Posts: 676

PostPosted: Thu Dec 27, 2007 3:20 pm    Post subject: Reply with quote

gracious
@majkinetor
thanks i have seen your posts all over this forum ill try out your suggestion.I am sure it will suffice
will the print dialog ever be supported with this module? or is this not being worked on ay more?
is this something that is your project or if i find a way to add aprint dialog to it i should submit to someone else to add to this????

@Elevator_Hazard
thanks for the comspec . i appreciate it when people such as your self realize when people such as myself just need some guidance
those are good solutions to the problems, but i was actually looking for the windows dialog boxes that CmnDlg was providing access to. i dont want to create these gui screens all over. Plus for the sake of consistency for the average user its best to use commonly seen screens to do common tasks
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List 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