Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate
#1
How:

1. Enumerate all the printers available on the current system to select one of them.
2. Enumerate tray programs to click on one of them.
#2
1. beats me...


2. on the "QM Toolbar" there is at item called "Windows, controls, menu".
click that and then choose "Accessible object actions". then choose "Mouse Actions". then choose the action you want. then drag the target recticle downt to the systray, when it outlines the icon release the mouse. it will create all the code for it. click ok and it will add the code to your macro.

however, i had to program in the "Windows" key to make the systray show (i have it set to hidden).
#3
1.
Code:
Copy      Help
Wsh.WshNetwork n._create
Wsh.WshCollection coll=n.EnumPrinterConnections
int i
for i 0 coll.Count 2
,VARIANT vi=i+1 ;;odd items are printer names
,str printername=coll.Item(vi)
,out printername


2.
Code:
Copy      Help
Acc a=acc("Notification Area" "TOOLBAR" "+Shell_TrayWnd" "ToolbarWindow32" "" 0x1001)
a.Navigate("f")
rep
,out a.Name
,a.Navigate("n"); err break
#4
2.
is there another way to get information about tray loaded programs ?
i use bblean as shell, but bblean doesn't offer info about its tray display.
currently i use powerpro to control trayicons.
(it has to be trained in standard xp shell, too)

ppro("trayicon left qm")

Code:
Copy      Help
[Tray Icons]
snagit=32770 5110 SnagItþSnagIt5UI
camtasia=32998 0 Camtasia RecorderþAfx:400000:4040
picker=512 1 øpkColorPickerþThunderRT5Form÷
strokeit=1029 1 StrokeItþStrokeIt
voiceflux=512 4326590 :: Voice Flux Pro ::þThunderRT6FormDC
proxo=2024 1 The Proxomitron - defaultPrxTronCls
roboform=1074 1 øRoboTaskBarIconAfxFrameOrView42s
spampal=1025 1 SpamPalSpamPalWndClass
kx=1024 1 KXDefWindowKXDefClass
qm=1027 1 Quick Macros - actual - [sel_all_copy]QM_Editor
poptray=2048 11902860 øPopTrayTPUtilWindow
actual=49414 0 Actual Title ButtonsATB_CommandCenterHandlerWindow
clcl=33768 1 CLCLCLCLMain
ghost=1224 10001 øGhostIt_GhostIt_Class
virtualcd=32868 1000 Virtual DAEMON Manager V3.46{56CA5D3B-3002-4E7B-90FE-071D8FDF3814}
katmouse=32868 3004 KatMouse_MainWindowPunktKlasse
flashget=1132 153 Default.jcd - FlashGetJetCar Class
azureus=32773 0 øjavawSWT_Window0
soundmax=32769 101 SoundMax4Afx:400000:0
emule=1282 1 (U:0.0 D:0.0) eMule v0.44d#32770
dc++=33010 0 DC++ 0.668DC++
gui4cli=32770 0 Gui4Cli BETA 17j - www.Gui4Cli.comG4C_GUI4CLI
netdrive=32868 1 øŸßÑw#32769÷
netlimiter=49613 202 NetLimiter v1.29AfxFrameOrView70s
printscreen=32778 1001 Gadwin PrintScreen 2.6GadwinPrintScreenClass
skype=1024 1432 øSkypeTPUtilWindow
sam=49640 1 SAMAfx:400000:0
systranserver=49743 1 Invisible Message WindowCTrayIconHandler

3.
how do i make a qm tray toolbar ?
pi
#5
3.

you can right-click the systray icon and edit that menu with all the macs you want to add.


________________

tied for 2nd in number of posts...WOOT!!!
:wink:
#6
i don't use the explorer shell, i have only bblean tray and
powerpro tray support.

from all essential programs is use qm is the most stable one.
it does only crash by trial and error scripting :lol:

a qm traybar solution would be really useful.

***
i also had the idea that qm should run as service,
but thats another planet.


thanks for your response
pi
#7
....service...huh...hmmmmm...

that could be interesting...
the only thing i can come up with is Firefox support (now that i've switched from NS ) :wink:

Oh, and cool toolbar skinning with sliders and animated gif support...
#8
Gintaras,

Could you show an example of how to get the default printer?

I can't get GetDefaultPrinter to work. Could you explain what I am looking for to get things like GetDefaultPrinter to work? I can never figure them out.

Thanks
Jimmy Vig
#9
One way:

Macro Macro7
Code:
Copy      Help
str DefaultPrinter
rget(DefaultPrinter "Device" "Software\Microsoft\Windows NT\CurrentVersion\Windows" HKEY_CURRENT_USER)
DefaultPrinter.gett(DefaultPrinter 0 ",")
out DefaultPrinter


Forum Jump:


Users browsing this thread: 1 Guest(s)