Search found 268 matches
- 27 Aug 2015, 10:33
- Forum: Ask for Help (v1)
- Topic: How to lock a file by AHK - avoiding file deletion
- Replies: 7
- Views: 2403
How to lock a file by AHK - avoiding file deletion
Hi, I've a AHK-script - that runs on our fileserver - which converts JPG's via Irfanview. Those JPG's are stored on a UNC-Share by our network-users and everything works fine .. until one networkuser deletes one ore more of those JPG's which is my script processing in that moment. Then Irfanview sto...
- 19 Aug 2015, 03:12
- Forum: Ask for Help (v1)
- Topic: Download an attachment in an Outlook email (COM?)
- Replies: 12
- Views: 5816
Re: Download an attachment in an Outlook email (COM?)
Hi, here is what I use with Outlook 2010, it works: /* Export all Attachments of a currently opened Outlook-Email to a folder */ #singleinstance force #persistent <^>!x:: ; AltGr-right-x as Hotkey! gosub export return export: ; ###### Exporting of Email in current Outlook-Inspector oOutlook := ComOb...
- 24 Jul 2015, 07:16
- Forum: Ask for Help (v1)
- Topic: Determining power source of the system
- Replies: 4
- Views: 1588
Re: Determining power source of the system
Hi, what I can imagine is to differentiate between # battery powered # AC-Power (which means not battery powered) but I think it is impossible to determine between UPS-Power and AC-Power because without a special input (eg. via serial port) it is impossible to identify that difference. Something abo...
- 23 Jul 2015, 12:34
- Forum: Ask for Help (v1)
- Topic: Determining power source of the system
- Replies: 4
- Views: 1588
Re: Determining power source of the system
Hi,
that should work by using WMI, check "Win32_ComputerSystem" and there "PowerSupplyState"
regards
J.B.
that should work by using WMI, check "Win32_ComputerSystem" and there "PowerSupplyState"
regards
J.B.
- 09 Jul 2015, 16:07
- Forum: Ask for Help (v1)
- Topic: Network Knowledge Print.exe Question!
- Replies: 11
- Views: 3237
Re: Network Knowledge Print.exe Question!
yes i tried it (win 7)
- 09 Jul 2015, 10:18
- Forum: Ask for Help (v1)
- Topic: Network Knowledge Print.exe Question!
- Replies: 11
- Views: 3237
Re: Network Knowledge Print.exe Question!
Hi,
try it with "notepad /p output.txt" instead
regads
J.B.
try it with "notepad /p output.txt" instead
regads
J.B.
- 09 Jul 2015, 09:50
- Forum: Ask for Help (v1)
- Topic: Network Knowledge Print.exe Question!
- Replies: 11
- Views: 3237
Re: Network Knowledge Print.exe Question!
Hi,
make that Printer your default printer (at least for testing purpose), then you dont need to name it in your print.exe command.
Later you could switch your default printer by using AHK, thats not too complicated.
regards
J.B:
make that Printer your default printer (at least for testing purpose), then you dont need to name it in your print.exe command.
Later you could switch your default printer by using AHK, thats not too complicated.
regards
J.B:
- 09 Jul 2015, 07:37
- Forum: Ask for Help (v1)
- Topic: Network Knowledge Print.exe Question!
- Replies: 11
- Views: 3237
Re: Network Knowledge Print.exe Question!
Hi,
for test purpose you could install another (e.g. Freepdf) lets call it a testprinter-driver.
Then open that printer and stop it - there is menue available - see enclosed picture (I've a german os).
regards
J.B.
for test purpose you could install another (e.g. Freepdf) lets call it a testprinter-driver.
Then open that printer and stop it - there is menue available - see enclosed picture (I've a german os).
regards
J.B.
- 09 Jul 2015, 01:15
- Forum: Ask for Help (v1)
- Topic: Network Knowledge Print.exe Question!
- Replies: 11
- Views: 3237
Re: Network Knowledge Print.exe Question!
Hi, quiet easy to test in your environemnt as follows a) write a small AHK-routine which prints a simple job e.g. 100 times b) stop concerning printer queue c) start that routine on 2 different computers in your network almost simultaneously d) count print jobs in your printers queue - manualy or by...
- 09 Jul 2015, 01:06
- Forum: Ask for Help (v1)
- Topic: [Solved] PDFCreator, catching/identifying printjobs
- Replies: 1
- Views: 1135
Re: [Solved] PDFCreator, catching/identifying printjobs
Hi, after some tests and consideration of different possibilities, I found a working sequence as follows a) VBA -> writes name of finale Job (what that final PDF should be named) to a handover.txt b) VBA-> calls AHK-Routine which reads that handover.txt and catches the next new Printjob (those Print...
- 04 Jul 2015, 11:04
- Forum: Ask for Help (v1)
- Topic: [Solved] PDFCreator, catching/identifying printjobs
- Replies: 1
- Views: 1135
[Solved] PDFCreator, catching/identifying printjobs
Hi, I've an application which prints files via pdfcreator (pdfc) printer driver on my server. If those print jobs are of greater size, then pdfc will use longer period of time to process them, inbetween the other/following printjobs are stored in pdfc-printerdriver-spooler (standard windows function...
- 22 Jun 2015, 03:55
- Forum: Ask for Help (v1)
- Topic: How to make a hotkey work only after a particular hotkey has bee pressed?
- Replies: 5
- Views: 1725
Re: How to make a hotkey work only after a particular hotkey has bee pressed?
Hi,
I've that here as well
a) AHK Routine I) is
and
b) AHK Routine test.ahk is
therewith you need to press F12 and then F11, try it.
J.B.
I've that here as well
a) AHK Routine I) is
Code: Select all
F12::
run, test.ahk
return
b) AHK Routine test.ahk is
Code: Select all
F11::
do something
return
J.B.
- 21 Jun 2015, 02:27
- Forum: Ask for Help (v1)
- Topic: Using COM with PDF files
- Replies: 6
- Views: 5486
Re: Using COM with PDF files
the benefit is, as soon as you know how to call GS you can e.g. # use tesseract (OCR) to extract text # join files (PS oder PDF) to one single PDF # extract pages # rotate pages # modifiy PDF-doc properties (including initial/opening view, bookmarks...) and so on, and it is free With the following c...
- 20 Jun 2015, 10:59
- Forum: Ask for Help (v1)
- Topic: Using COM with PDF files
- Replies: 6
- Views: 5486
Re: Using COM with PDF files
Hi,
as I learned to know, everything you would like to do is possibel with Ghostscript (GS) and its available utility programs.
Once you got it, how to deal with GS you will see almost everything in manipulating Postscript and PDF-files is possible, you should give it a try.
regards
J.B.
as I learned to know, everything you would like to do is possibel with Ghostscript (GS) and its available utility programs.
Once you got it, how to deal with GS you will see almost everything in manipulating Postscript and PDF-files is possible, you should give it a try.
regards
J.B.
- 08 Jun 2015, 08:44
- Forum: Ask for Help (v1)
- Topic: printing reports, forms in general with AHK in Win7-environment
- Replies: 0
- Views: 716
printing reports, forms in general with AHK in Win7-environment
Hi, I'm searching a smart solution to printout from AHK in a Windows-Environement. My vision is to code a time-recording app (.accdb-file on a UNC-Share and AHK-Client in a company network), but my main concern is how to print out reports , summaries or what else from that AHK-App ?? There is no Mic...
- 08 Jun 2015, 00:27
- Forum: Ask for Help (v1)
- Topic: Outlook: Display folders
- Replies: 7
- Views: 3561
Re: Outlook: Display folders
Hi
inbetween you got your solution, but there was (tested) code too:
regards
J.B.
inbetween you got your solution, but there was (tested) code too:
Code: Select all
; changing current Active-Explorers Folder to "Posteingang" (which is the word for "inbound" in German)
Outlook.ActiveExplorer.Currentfolder:=namespace.Folders("majoemail").folders("Posteingang")
J.B.
- 07 Jun 2015, 07:51
- Forum: Ask for Help (v1)
- Topic: Outlook: Display folders
- Replies: 7
- Views: 3561
Re: Outlook: Move mails
Hi it took a bit of time, but here is the rest of what you need /* --> asciiflow.com ... to understand that Mapifolder-Namespace-model of Outlook Namespace (all Folders) +---+---+MajoEmail+----------+-+Inbound+-------+-+Sub1 | | | | | +-+Sub2 | +-+Outbound | | | +-+Sub3 | | | +-+Spam/Junk | | +---+O...
- 07 Jun 2015, 04:16
- Forum: Ask for Help (v1)
- Topic: Outlook: Display folders
- Replies: 7
- Views: 3561
Re: Outlook: Move mails
Hi,
I tried that instead of your code above
try it.
regards
J.B.
I tried that instead of your code above
Code: Select all
Outlook := ComObjCreate("Outlook.Application")
namespace := Outlook.GetNamespace("MAPI")
namespace.Logon(profileName)
fld := namespace.GetDefaultFolder(5)
your_folder_path:=fld.folderpath
msgbox, %your_folder_path%
regards
J.B.
- 23 May 2015, 11:08
- Forum: Ask for Help (v1)
- Topic: Outlook attachements
- Replies: 3
- Views: 1448
Re: Outlook attachements
you need to a) save that attachements temporarily on your PC e.g. C:\temp\anything\ - via COM (catch the active Inspector and those attachments), thats not to complicated b) open all those CSV-Files (which are textfiles) either with AHK-commands (filereadline, loop) or with Excel (via COM) and get y...
- 21 May 2015, 10:39
- Forum: Ask for Help (v1)
- Topic: How to run Outlook macro?
- Replies: 4
- Views: 3041
Re: How to run Outlook macro?
Hi, I tried the same serveral times .. its impossible because of the missing function to run macros in Outlook from outside - which Winword, Excel and others have. My solution is to use all those amazing com-capabilities of AHK. With that and with understanding of Outlooks Object Modell almost anyth...