-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCCF.ahk
920 lines (773 loc) · 17.5 KB
/
CCF.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
/*
HEADER: CCF.ahk
This file is the main file for the framework. It includes all the other files and has some more nice additions. However, it's not strictly required to include it. You might also only include the files you need.
Remarks:
If you include this, make sure to set the #Include working directory properly before:
(start code)
#include %A_ScriptDir%\CCF ; set working dir for #includes
#include CCF.ahk ; include this file
(end code)
*/
/*
class: _CCF_Error_Handler_
the base class that includes error handling
*/
#include _CCF_Error_Handler_.ahk
/*
class: CCFramework
the main class
*/
#include CCFramework.ahk
/*
class: Unknown
the base class for all other CCF interface classes
*/
#include Unknown\Unknown.ahk
/*
class: StructBase
a base class for all structure classes
*/
#include Structure Classes\StructBase.ahk
/*
class: CustomDestinationList
a class for managing custom jump lists in Windows7
*/
#include CustomDestinationList\CustomDestinationList.ahk
/*
class: KDC
a constant class containing system-defined jump list categories
*/
#include Constant Classes\KDC.ahk
/*
class: FILE_ATTRIBUTE
a constant class representing file attributes
*/
#include Constant Classes\FILE_ATTRIBUTE.ahk
/*
class: SFGAO
a constant class containing attributes that can be retrieved on a file or folder
*/
#include Constant Classes\SFGAO.ahk
/*
class: SW
a constant class containing flags specifying the show-behaviour of a window
*/
#include Constant Classes\SW.ahk
/*
class: CF
a constant class containing clipboard formats
*/
#include Constant Classes\CF.ahk
/*
class: CLR
a constant class containing special values for COLORREF variables
*/
#include Constant Classes\CLR.ahk
/*
class: DVASPECT
a constant class containing flags used to the desired data r view aspect
*/
#include Constant Classes\DVASPECT.ahk
/*
class: VARENUM
a constant class specifying the type of a variable
*/
#include Constant Classes\VARENUM.ahk
/*
class: FILETIME
a structure class representing the number of 100-nanosecond-intervals since 1601
*/
#Include Structure Classes\FILETIME.ahk
/*
class: POINT
a structure class holding the x- and y-coordinate for a point
*/
#Include Structure Classes\POINT.ahk
/*
class: RECT
a structure class describing a rectangle
*/
#Include Structure Classes\RECT.ahk
/*
class: SIZE
a structure class specifying the size of a rectangle
*/
#Include Structure Classes\SIZE.ahk
/*
class: SYSTEMTIME
a structure class specifying date and time
*/
#Include Structure Classes\SYSTEMTIME.ahk
/*
group: RichEdit management
*/
/*
class: RichEditOLE
class for managing a RichEdit control
*/
#include RichEditOLE\RichEditOLE.ahk
/*
class: RECO
a constant class containing RichEdit clipboard operations
*/
#include Constant Classes\RECO.ahk
/*
class: REO
a constant class containing flags that control a REOBJECT structure
*/
#include Constant Classes\REO.ahk
/*
class: CHARRANGE
a structure class describing a range of characters in the RichEdit control
*/
#Include Structure Classes\CHARRANGE.ahk
/*
class: REOBJECT
a structure class describing an object in a RichEdit control
*/
#Include Structure Classes\REOBJECT.ahk
/*
class: SAFEARRAYBOUND
a structure class describing a COM SafeArray
*/
#Include Structure Classes\SAFEARRAYBOUND.ahk
/*
group: Images
*/
/*
class: ImageList
a class for managing image lists
*/
#include ImageList\ImageList.ahk
/*
class: ImageList2
provides more methods for image lists
*/
#include ImageList2\ImageList2.ahk
/*
class: Picture
a class for managing a picture
*/
#include Picture\Picture.ahk
/*
class: IMAGEINFO
a structure class containing information about an image in an image list
*/
#Include Structure Classes\IMAGEINFO.ahk
/*
class: IMAGELISTDRAWPARAMS
a structure class containing information about an image list draw operation
*/
#Include Structure Classes\IMAGELISTDRAWPARAMS.ahk
/*
class: IMAGELISTSTATS
a structure class containing information about an image list statistics
*/
#Include Structure Classes\IMAGELISTSTATS.ahk
/*
class: PICTDESC
a structure class describing a picture object
*/
#Include Structure Classes\PICTDESC.ahk
/*
class: IDC
a constant class containing system-defined cursors
*/
#include Constant Classes\IDC.ahk
/*
class: IDI
a constant class containing system-defined icons
*/
#include Constant Classes\IDI.ahk
/*
class: OBM
a constant class containing system-defined bitmaps
*/
#include Constant Classes\OBM.ahk
/*
class: ILC
a constant class containing image list creation flags
*/
#include Constant Classes\ILC.ahk
/*
class: ILCF
a constant class containing image list copy flags
*/
#include Constant Classes\ILCF.ahk
/*
class: ILD
a constant class containing image list draw flags
*/
#include Constant Classes\ILD.ahk
/*
class: ILDI
a constant class containing flags for discarding images from an image list
*/
#include Constant Classes\ILDI.ahk
/*
class: ILFIP
a constant class containing flags for setting an image as "current" in an image list
*/
#include Constant Classes\ILFIP.ahk
/*
class: ILGOS
a constant class containing flags for retrieving an image's size
*/
#include Constant Classes\ILGOS.ahk
/*
class: ILIF
a constant class containing constants indicating an image's quality
*/
#include Constant Classes\ILIF.ahk
/*
class: ILR
a constant class containing flags specifying how to apply a mask to an image
*/
#include Constant Classes\ILR.ahk
/*
class: ILS
a constant class containing image list state flags
*/
#include Constant Classes\ILS.ahk
/*
class: PICTUREATTRIBUTES
a constant class containing picture attributes
*/
#include Constant Classes\PICTUREATTRIBUTES.ahk
/*
class: PICTYPE
a constant class indicating the type of a picture
*/
#include Constant Classes\PICTYPE.ahk
/*
group: Audio
*/
/*
class: MMDeviceEnumerator
a class for enumerating devices
*/
#include MMDeviceEnumerator\MMDeviceEnumerator.ahk
/*
class: MMDeviceCollection
represents a collection of devices
*/
#include MMDeviceCollection\MMDeviceCollection.ahk
/*
class: MMDevice
represents an audio device
*/
#include MMDevice\MMDevice.ahk
/*
class: DEVICE_STATE
a constant class indicating the current state of an audio device
*/
#include Constant Classes\DEVICE_STATE.ahk
/*
class: EDataFlow
a constant class indicating the direction in which audio data flows
*/
#include Constant Classes\EDataFlow.ahk
/*
class: ERole
a constant class indicating the role the system has assigned to an audio device
*/
#include Constant Classes\ERole.ahk
/*
group: collections
*/
/*
class: ObjectArray
represents an extensible array of IUnknown-derived instances
*/
#include ObjectArray\ObjectArray.ahk
/*
class: ObjectCollection
provides more methods for IUnknown-derived instance arrays
*/
#include ObjectCollection\ObjectCollection.ahk
/*
group: progress dialogs
*/
/*
class: OperationsProgressDialog
a class for displaying standard system progress dialogs (copy, move, upload, ...)
*/
#include OperationsProgressDialog\OperationsProgressDialog.ahk
/*
class: ProgressDialog
a class for displaying a customized progress dialog
*/
#include ProgressDialog\ProgressDialog.ahk
/*
class: PDOPSTATUS
a constant class containing operation progress dialog's status flags
*/
#include Constant Classes\PDOPSTATUS.ahk
/*
class: PDTIMER
a constant class containing progress dialog timer flags
*/
#include Constant Classes\PDTIMER.ahk
/*
class: PMODE
a constant class containing progress dialog modes
*/
#include Constant Classes\PMODE.ahk
/*
class: PROGDLG
a constant class containing progress dialog flags
*/
#include Constant Classes\PROGDLG.ahk
/*
class: SPACTION
a constant class a progress dialog action
*/
#include Constant Classes\SPACTION.ahk
/*
group: persistent storage
*/
/*
class: Persist
a base class for classes that provide the CLSID of an object that can be stored persistently in the system
*/
#include Persist\Persist.ahk
/*
class: PersistFile
represents a file to be stored on disk
*/
#include PersistFile\PersistFile.ahk
/*
group: property system
*/
/*
class: PropertyStore
manages property values
*/
#include PropertyStore\PropertyStore.ahk
/*
class: PropertyStoreCache
manages property values and states
*/
#include PropertyStoreCache\PropertyStoreCache.ahk
/*
class: PSC
a constant class containing property state flags
*/
#include Constant Classes\PSC.ahk
/*
class: PROPERTYKEY
a structure class identifying a property
*/
#Include Structure Classes\PROPERTYKEY.ahk
/*
group: streams
*/
/*
class: SequentialStream
base class for stream classes
*/
#include SequentialStream\SequentialStream.ahk
/*
class: Stream
a class for managing a stream
*/
#include Stream\Stream.ahk
/*
class: Storage
represents a storage, aka "filesystem in a file"
*/
#include Storage\Storage.ahk
/*
class: EnumSTATSTG
enumerates storage or stream descriptions
*/
#include EnumSTATSTG\EnumSTATSTG.ahk
/*
class: LOCKTYPE
a constant class containing flags that indicate the type of locking requested for a range of bytes
*/
#include Constant Classes\LOCKTYPE.ahk
/*
class: STATFLAG
a constant class controlling a STATSTG structure
*/
#include Constant Classes\STATFLAG.ahk
/*
class: STGC
a constant class containing storage / stream commit flags
*/
#include Constant Classes\STGC.ahk
/*
class: STGM
a constant class specifying storage modes
*/
#include Constant Classes\STGM.ahk
/*
class: STGMOVE
a constant class containing storage move flags
*/
#include Constant Classes\STGMOVE.ahk
/*
class: STGTY
a constant class specifying a storage type
*/
#include Constant Classes\STGTY.ahk
/*
class: STREAM_SEEK
a constant class used to calculate the new seek-pointer location in a stream
*/
#include Constant Classes\STREAM_SEEK.ahk
/*
class: STATSTG
a structure class holdign statistics about a Stream or Storage
*/
#Include Structure Classes\STATSTG.ahk
/*
group: shell
*/
/*
class: ShellItem
represents an "Shell item", such as a file
*/
#include ShellItem\ShellItem.ahk
/*
class: EnumShellItems
enumerates a collection of IShellItems
*/
#include EnumShellItems\EnumShellItems.ahk
/*
class: ShellLinkW
manages shell links (*.lnk files) (Unicode version)
*/
#include ShellLinkW\ShellLinkW.ahk
/*
class: ShellLinkA
manages shell links (*.lnk files) (ANSI version)
*/
#include ShellLinkA\ShellLinkA.ahk
/*
typedef: ShellLink
defines "ShellLink" as the encoding-specific version
Remarks:
- In v2, this is always ShellLinkW
*/
global ShellLink := ShellLinkW
/*
class: KNOWNFOLDERID
a constant class representing GUIDs (constants) that identify standard folders registered with the system as Known Folders.
*/
#include Constant Classes\KNOWNFOLDERID.ahk
/*
class: SICHINT
a constant class containing ShellItem compare flags
*/
#include Constant Classes\SICHINT.ahk
/*
class: SIGDN
a constant class containing ShellItem display name flags
*/
#include Constant Classes\SIGDN.ahk
/*
class: SLGP
a constant class containing path retrieval flags
*/
#include Constant Classes\SLGP.ahk
/*
class: SLR
a constant class containing flags on how to find a ShellLink's target
*/
#include Constant Classes\SLR.ahk
/*
class: WIN32_FIND_DATA
a structure class containing information about a file found by an API
*/
#Include Structure Classes\WIN32_FIND_DATA.ahk
/*
group: Taskbar
*/
/*
class: TaskbarList
manages some taskbar properties
*/
#include TaskbarList\TaskbarList.ahk
/*
class: TaskbarList2
provides a method for marking a window as full-screen for the shell
*/
#include TaskbarList2\TaskbarList2.ahk
/*
class: TaskbarList3
provides more methods for managing taskbar properties (Win7 features)
*/
#include TaskbarList3\TaskbarList3.ahk
/*
class: TaskbarList4
provides even more methods for the taskbar
*/
#include TaskbarList4\TaskbarList4.ahk
/*
class: STPFLAG
a constant class specifying taskbar tab properties
*/
#include Constant Classes\STPFLAG.ahk
/*
class: TBPFLAG
a constant clas specifying taskbar progress flags
*/
#include Constant Classes\TBPFLAG.ahk
/*
class: THUMBBUTTONFLAGS
a constant class specifying flags for a taskbar thumbnail toolbar button
*/
#include Constant Classes\THUMBBUTTONFLAGS.ahk
/*
class: THUMBBUTTONMASK
a constant class containing flags htat indicate the valid parts of a THUMNNUTTON structure
*/
#include Constant Classes\THUMBBUTTONMASK.ahk
/*
class: THUMBBUTTON
a structure class describing a taskbar thumbnail toolbar button
*/
#Include Structure Classes\THUMBBUTTON.ahk
/*
group: type information
*/
/*
class: Dispatch
implements the IDispatch interface and provides its dynamic-call functionality
*/
#include Dispatch\Dispatch.ahk
/*
class: ProvideClassInfo
provides type information interfaces for a class
*/
#include ProvideClassInfo\ProvideClassInfo.ahk
/*
class: TypeComp
provides type functionality for compilers
*/
#include TypeComp\TypeComp.ahk
/*
class: TypeInfo
provides detailed information on a type
*/
#include TypeInfo\TypeInfo.ahk
/*
class: TypeInfo2
provides even more information on a type
*/
#include TypeInfo2\TypeInfo2.ahk
/*
class: TypeLib
provides functionality for loading type information from a library
*/
#include TypeLib\TypeLib.ahk
/*
class: TypeLib2
provides even more functionality for type libraries
*/
#include TypeLib2\TypeLib2.ahk
/*
class: CALLCONV
a constant class identifying the calling convention used by a member function
*/
#include Constant Classes\CALLCONV.ahk
/*
class: CLSCTX
a constant class indicating execution context
*/
#include Constant Classes\CLSCTX.ahk
/*
class: DESCKIND
a constant class specifying the kind of a type description
*/
#include Constant Classes\DESCKIND.ahk
/*
class: DISPATCHF
a constant class containing invoke flags
*/
#include Constant Classes\DISPATCHF.ahk
/*
class: DISPID
a constant class containing special values used to identify methods, properties etc.
*/
#include Constant Classes\DISPID.ahk
/*
class: MEMBERID
a constant class containing more special values for members
*/
#include Constant Classes\MEMBERID.ahk
/*
class: FUNCFLAG
a constant class containing function attrributes
*/
#include Constant Classes\FUNCFLAG.ahk
/*
class: FUNCKIND
a constant class indicating the kind of a function
*/
#include Constant Classes\FUNCKIND.ahk
/*
class: IDLFLAG
a constant class containing parameter flags
*/
#include Constant Classes\IDLFLAG.ahk
/*
class: IMPLTYPEFLAG
a constant class specifying implementation type flags
*/
#include Constant Classes\IMPLTYPEFLAG.ahk
/*
class: INVOKEKIND
a constant class that specifies the way a function is invoked
*/
#include Constant Classes\INVOKEKIND.ahk
/*
class: LIBFLAGS
a constant class containing type library flags
*/
#include Constant Classes\LIBFLAGS.ahk
/*
class: PARAMFLAGS
a constant class containing parameter flags
*/
#include Constant Classes\PARAMFLAG.ahk
/*
class: REGKIND
a constant class that controls how a type is registered
*/
#include Constant Classes\REGKIND.ahk
/*
class: SYSKIND
a constant class identifying a target operating system
*/
#include Constant Classes\SYSKIND.ahk
/*
class: TYPEFLAG
a constant class holding type flags
*/
#include Constant Classes\TYPEFLAG.ahk
/*
class: TYPEKIND
a constant class specifying the kind of a type
*/
#include Constant Classes\TYPEKIND.ahk
/*
class: VARFLAG
a constant class containing variable flags
*/
#include Constant Classes\VARFLAG.ahk
/*
class: VARKIND
a constant class specifying a variable's kind
*/
#include Constant Classes\VARKIND.ahk
/*
class: ARRAYDESC
a structure class describing an array
*/
#include Structure Classes\ARRAYDESC.ahk
/*
class: CUSTDATA
a structure class representing custom data
*/
#Include Structure Classes\CUSTDATA.ahk
/*
class: CUSTDATAITEM
a structure class representing a custom data item
*/
#Include Structure Classes\CUSTDATAITEM.ahk
/*
class: DISPPARAMS
a structure class containing arguments passed to a method or property
*/
#Include Structure Classes\DISPPARAMS.ahk
/*
class: ELEMDESC
a structure class containing data for a variable, function or function parameter
*/
#Include Structure Classes\ELEMDESC.ahk
/*
class: EXCEPINFO
a structure class containing data about an exception
*/
#Include Structure Classes\EXCEPINFO.ahk
/*
class: FUNCDESC
a structure class describing a function
*/
#Include Structure Classes\FUNCDESC.ahk
/*
class: IDLDESC
a structure class used for transferring s structure element, parameter or return value
*/
#Include Structure Classes\IDLDESC.ahk
/*
class: INTERFACEDATA
a structure class that describes an interface
*/
#Include Structure Classes\INTERFACEDATA.ahk
/*
class: METHODDATA
a structure class describing a method
*/
#Include Structure Classes\METHODDATA.ahk
/*
class: PARAMDATA
a structure class describing a parameter
*/
#Include Structure Classes\PARAMDATA.ahk
/*
class: PARAMDESC
a structure class used for transferring a parameter
*/
#Include Structure Classes\PARAMDESC.ahk
/*
class: PARAMDESCEX
a structure class containing information about a parameter default value
*/
#Include Structure Classes\PARAMDESCEX.ahk
/*
class: TLIBATTR
a structure class containing information about a type library
*/
#Include Structure Classes\TLIBATTR.ahk
/*
class: TYPEATTR
a structure class containing information about a type
*/
#Include Structure Classes\TYPEATTR.ahk
/*
class: TYPEDESC
a structure class describing a type
*/
#Include Structure Classes\TYPEDESC.ahk
/*
class: VARDESC
a structure class describing a variable
*/
#Include Structure Classes\VARDESC.ahk
/*
group: UIAutomation
*/
/*
class: UIAutomationCondition
base interface for conditions
*/
#Include UIAutomationCondition\UIAutomationCondition.ahk
/*
class: UIAutomationNotCondition
represents the negative of another condition
*/
#Include UIAutomationNotCondition\UIAutomationNotCondition.ahk
/*
class: UIAutomationBoolCondition
represents a condition that can either be true or false
*/
#Include UIAutomationBoolCondition\UIAutomationBoolCondition.ahk
/*
class: UIAutomationElementArray
represents an array of UIAutomation elements
*/
#include UIAutomationElementArray\UIAutomationElementArray.ahk