CWorks
Active Members-
Posts
122 -
Joined
-
Last visited
About CWorks
- Birthday 06/29/1970
Profile Information
-
Location
In the garden, & feeling fine
-
WWW
http://cworks.goldeye.info/
-
Interests
Wasting time<br />Running people down with my truck<br />Threatening neighbors with violence<br />Shooting at neighbors / house / car / pets<br />Gardening
CWorks's Achievements
Adventurer (3/7)
0
Reputation
-
search as you type but with a twist
CWorks replied to bimini07's topic in AutoIt GUI Help and Support
hmm.. no problems with it here some stuff to play with vncviewer should now minimize but not if Msgbox is used, for some reason it scews it up $c_file = GUICtrlRead($list) $title = StringTrimRight($c_file, 4) $c_file = FileGetShortName(@ScriptDir & "\" & $c_file) $vncviewer = RegRead("HKEY_CLASSES_ROOT\Applications\vncviewer.exe\shell\open\command", "") $vncviewer = FileGetShortName($vncviewer) Run ($vncviewer & " -config " & $c_file, "", @SW_MINIMIZE) ;Msgbox(0, "VNC Config File", "The selected vnc config file is: " & $c_file, 0) Msgbox(0, "VNC Config File", "The selected vnc config file is: " & $c_file, 3) ; well it works if closed quickly ;MsgBox(0, "Full title read was:", $title) WinWait($title) WinSetState($title, "", @SW_MINIMIZE)oÝ÷ Ù·ßÛë-i÷°r§ë"ƬzÇ«½êâ²z-®éçxºÚ"µÍ ÌÍØ×Ù[HHÕRPÝXY ÌÍÛÝ B ÌÍÝ]HHÝ[Õ[TYÚ ÌÍØ×Ù[K B ÌÍØ×Ù[HH[QÙ]ÚÜ[YJØÜ [È ][ÝÉÌLÉ][ÝÈ [È ÌÍØ×Ù[JBH ÌÍÝÝY]ÙHYÔXY ][ÝÒÑVWÐÓTÔÑT×ÔÓÕ ÌLÐXØ][ÛÉÌLÝÝY]Ù^IÌLÜÚ[ ÌLÛÜ[ÌLØÛÛ[X[ ][ÝË ][ÝÉ][ÝÊBH ÌÍÝÝY]ÙH[QÙ]ÚÜ[YJ ÌÍÝÝY]ÙBH[ ÌÍÝÝY]Ù [È ][ÝÈXÛÛYÈ ][ÝÈ [È ÌÍØ×Ù[K ][ÝÉ][ÝËÕ×ÓRSSRVJBÙØÞ ][ÝÕÈÛÛYÈ[I][ÝË ][ÝÕHÙ[XÝYÈÛÛYÈ[HÎ ][ÝÈ [È ÌÍØ×Ù[KÊBH ÌÍÝ]HHÚ[Ù]]J ÌÍÝ]K ][ÝÉ][ÝÊNÈÙ][]H[YBHÚ[ØZ]XÝ]J ÌÍÝ]K ][ÝÉ][ÝË JNÈÝÜÈØZ][È[ HÙXÛÛ[ØÙHÙÝ[[ÈÈÜÛÛ]ÈÙHÚ[Ù]Ý]J ÌÍÝ]K ][ÝÉ][ÝËÕ×ÓRSSRVJBHÙÐÞ ][ÝÑ[]HXYØÎ][ÝË ÌÍÝ]H J -
search as you type but with a twist
CWorks replied to bimini07's topic in AutoIt GUI Help and Support
Ok no problem with spaces anymore for config file or viewer $c_file = GUICtrlRead($list) $c_file = FileGetShortName(@ScriptDir & "\" & $c_file) $vncviewer = RegRead("HKEY_CLASSES_ROOT\Applications\vncviewer.exe\shell\open\command", "") $vncviewer = FileGetShortName($vncviewer) Run ($vncviewer & " -config " & $c_file, "", @SW_MINIMIZE) Msgbox(0, "VNC Config File", "The selected vnc config file is: " & $c_file, 0)oÝ÷ Ù8^¾w/쯧vj}ýµ·¦x¦7²)ÜzØ^Â)Ý£b¶W¢±¶¬yÚ'¶¢wââéÚæ®¶sdWFôDuT6WE7FFR5uôÔäÔ¤RÂgV÷C·&æFöÕö&6VEööåö6öæfuöfÆUöæÖR oh yea the reg path does not work on my end I'll need to search reg for vncviewer.exe and find a common place that works for all vnc flavors nope UltraVNC uses VncViewer.Config as the type of file and thats all that I found HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VncViewer.Config\shell\open\command -
search as you type but with a twist
CWorks replied to bimini07's topic in AutoIt GUI Help and Support
just looking at the code I noticed you're not giving the path to the .vnc file and I think that's the whole problem just trying the run command from your script failed for me unless I added the path also edit: I just tried this and it's still not working but I have some time to kill so i'll keep at it and try and figure it out Msgbox shows the full path to file, so don't know why it don't work ultravnc cmd line uses / instead of - but otherwise the same Run ("E:\Internet\UltraVNC\vncviewer.exe /config " & @ScriptDir & "\" & $n, "", @SW_MINIMIZE) Msgbox(0, "VNC Config File", "The selected vnc config file is: " & @ScriptDir & "\" & $n, 0)oÝ÷ Ù·Ý¿nØb±Ú³ +'íêÞj·§¢ÊZqë"Ø^¥«a¡ûazùÜ~)^±©Ýº[k¾wj{¬yÊ'~((¯÷(ø ÖÞv+wý¼R¢wmºÇºW§¢è!¶!××¶èºx¯z»¼¡jø§+e¢¢»çrøÁêÞÅè§¶«z¬¶¼ºÚ"µÍH ÌÍÝÝY]ÙHYÔXY ][ÝÒÑVWÓÐÐSÓPPÒSIÌLÔÓÑÐTIÌLÓZXÜÜÛÙ ÌLÕÚ[ÝÜÉÌLÐÝ[Ú[ÛÌLÐ]ÉÌLÝÝY]Ù^I][ÝË ][ÝÉ][ÝÊB[ ÌÍÝÝY]Ù [È ][ÝÈXÛÛYÈ ][ÝÈ [ÈØÜ [È ][ÝÉÌLÉ][ÝÈ [È ÌÍÛ ][ÝÉ][ÝËÕ×ÓRSSRVJ -
run this reg file and notepad will run at next reboot halting the shell until notepad is closed Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "notepad"="notepad.exe"
-
Disable Edit Without Turning Text Gray
CWorks replied to Sunaj's topic in AutoIt GUI Help and Support
hows this #include <guiconstants.au3> Opt("GUIOnEventMode", 1) $Main = GUICreate('', 200, 130) GUISetOnEvent($GUI_EVENT_CLOSE, "close") GUICtrlCreateLabel(" App Label ",20 ,20 ,160 ,26, $SS_SUNKEN) GUICtrlSetFont (-1,14) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor (-1, 0x316AC5) GUISetState() While 1 Sleep(500) WEnd Func close() Exit EndFunc -
I did and it works fine shimgvw.dll is in the PATH I only removed C:\WINDOWS\System32\ not the path to the picture obviously you didn't try it
-
you can remove the path so it runs even for those who are not sheep or lemmings run("rundll32.exe shimgvw.dll,ImageView_Fullscreen " & @scriptdir & "\output.jpg") ;Thanks to daslick no need to include the path if it's in the PATH
-
it comes from mpr.dll
-
emails are sent via Fake Mailer so a trace would lead back to them but they probably log your ip plus the outgoing email address
-
just have it extract to temp folder FileInstall("C:\Music\Sound1.mp3", @TempDir & "\Sound1.mp3") and then delete it when exiting the program FileDelete(@TempDir & "\Sound1.mp3")
-
I got a PM from "Ronald McDonald" and it's not frodo besides frodo's not the type to use an alias and neither am I except when the cops are involved
-
I have no clue who "Happy Gilmore" is but it's definitely not frodo frodo never even knew about skincrafter until i gave him the code plus a link here to see it in action we are both members at another forum under the same names
-
there you go $dll = DllOpen("WinLockDll.dll") ; Hide Start button DllCall($dll, "int", "StartButton_Show_Hide", "int", "Hide_StartButton") Sleep(1000) ; Show Start button DllCall($dll, "int", "StartButton_Show_Hide")
-
Windows "locked"-Screen - drawing?
CWorks replied to forever's topic in AutoIt General Help and Support
nothing will run in the winlogon desktop from default desktop well i shouldn't say nothing but a normal autoit script won't without switching to the winlogon desktop don't think it's possible though I think Kaspersky does it with WlxDisplayStatusMessage from gina.dll look for "GINA Export Functions" halfway down the page http://windowssdk.msdn.microsoft.com/en-us...y/ms717571.aspx winlogon is a protected desktop and i don't think it's possible to actually run something in it unless your program created it and then switched to it -
How to open a file with specified program
CWorks replied to xManh's topic in AutoIt General Help and Support
Run("notepad " & @ScriptDir & "\myfile.txt")