| View previous topic :: View next topic |
| Author |
Message |
tank
Joined: 21 Dec 2007 Posts: 676
|
Posted: Mon Dec 24, 2007 3:45 pm Post subject: Gui enhancements |
|
|
these are a couple things you find in most programming environments
common dialog boxes
ability to pass paramiters via command line _________________ Read this
Com
Automate IE7 with Tabs |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1353
|
Posted: Mon Dec 24, 2007 5:26 pm Post subject: |
|
|
| I already know how to do all of those apart from print to with ahk. search the forums. |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 304 Location: US
|
Posted: Mon Dec 24, 2007 7:05 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Thu Dec 27, 2007 1:34 pm Post subject: |
|
|
CmnDlg module provides all that except Print dialog. _________________
 |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 676
|
Posted: Thu Dec 27, 2007 3:20 pm Post subject: |
|
|
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 |
|
 |
|