Okay, dankeschön ![]()
Beiträge von Aquaplant
-
-
Hallo,
ist es möglich die Schriftfarbe in einer Listbox (GUI) zu ändern? Mir geht es eigentlich nur darum bestimmte Einträge hervorzuheben. Dazu benötige ich aber mindestens zwei verschiedene Aussehen. Anstelle der Farbveränderung könnte es z.B. auch kursiv oder fett sein.
Vielen Dank
Aquaplant -
Richtig, es kann auch @CR oder @LF sein - oder ein noch andereres
-
-
[url='http://translation.autoit.de/onlinehilfe/functions/StringReplace.htm']
[autoit]StringReplace(StringStripCR($sString),@LF, "")
[/autoit]So sollte es gehen - hat Seubo mir gerade geschrieben^^
-
Schade, aber nagut, muss man mit leben
-
Stimmt; Dankeschön

Bleibt nur noch das hier offen:
ShellExecute($FilePath, "", "", "open", @SW_HIDE)
-
Klasse, dass klappt schonmal. Komm ich jetzt auch noch an den Text ran? Beziehungsweise kann ich den noch so splitten?
Hab schon, danke
Zitatwas ist das für ne datei?
Eine PDF
//Edit: Wie kann man denn noch mal prüfen, ob nur Zahlen in einem String sind?
-
Hi Leute,
[autoit]
ich hab einen Text und will den nach jedem Absatz trennen, um die Anzahl der Zeilen zu erhalten. Mein Ansatz:$Zeilen = StringSplit($NeuerText, @CRLF)
[/autoit]
If IsArray($Zeilen) = 0 Then
$Zeilen = StringSplit($NeuerText, @LF)
If IsArray($Zeilen) = 0 Then
$Zeilen = StringSplit($NeuerText, @CR)
EndIf
EndIf
Leider kommt immer nur für $Zeilen[0] eins(1) raus. Gibt es noch eine andere Möglichkeit einen Absatz zu erkennen, oder den Text so einzulesen, dass ausgegeben wird, wie der Absatz "heißt" (z.B. @cr)
Vielen Dank für eure Hilfe
Aquaplant//EDIT: Nebenbei, wieso klappt das hier denn nicht:?
[autoit]ShellExecute($FilePath, "", "", "open", @SW_HIDE)
[/autoit] -
Manuell kannst du sie mit "Res Hack" rausholen. Lad dir dazu einfach das Programm runter und öffne die dll. Den Rest findest du denke ich alleine.
-
Bei mir wird der Dateipfad nicht unter "DateiPfad1" sondern "DateiPfadExe" eingetragen. Dadurch hat er keinen Pfad den er ausführen kann. Aber sonst wüsste ich auch nicht genau; manche deiner Schritte sind für mich nicht ganz verständlich.
Schau dir mal mein Script an, was ich damals geschrieben hatte. Das hat eigentlich die selbe Idee wie dein Skript, nur dass man einfach den Text auf dem Desktop eingibt und dann das Programm gestartet wirdSpoiler anzeigen
[autoit]#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
[/autoit] [autoit][/autoit] [autoit]
#AutoIt3Wrapper_Icon=Autostarter.ico
#AutoIt3Wrapper_Compression=4
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Misc.au3>
#RequireAdmin
Opt("TrayMenuMode", 1)
Global $Pfad, $title, $Text, $Command, $TrayExit, $tray, $TrayTip, $Start, $Update, $TrayIcon, $Befehle, $Settings, $XP, $7
$TrayExit = TrayCreateItem("Exit")
$Pfad = @ScriptDir & "\Orders.ini"
If FileExists(@ScriptDir & "\Settings.ini") = 0 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\Settings.ini", @ScriptDir & "\Settings.ini")
EndIf
_Settings()
_Befehle()
If FileExists(@WindowsDir & "\Media\Windows XP-Ping.wav") = 0 And $XP = 1 Then
FileInstall("D:\WINDOWS\Media\Windows XP-Ping.wav", @WindowsDir & "\Media\Windows XP-Ping.wav")
EndIf
If FileExists(@WindowsDir & "\Media\Windows Ding.wav") = 0 And $7 = 1 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\Media win 7\Windows Ding.wav", @WindowsDir & "\Media\Windows Ding.wav")
EndIf
$Start = TimerInit()
While 1
If $TrayIcon = 1 Then
Opt("TrayIconHide", 0)
EndIf
If $Update <> -1 Then ;=== Settings updaten
If TimerDiff($Start) >= $Update Then
_Settings()
_Befehle()
$Start = TimerInit()
EndIf
EndIf
$tray = TrayGetMsg() ;=== Beenden
If $tray = $TrayExit Then
If $XP = 1 Then
FileInstall("D:\WINDOWS\Media\Windows XP-Ping.wav", @WindowsDir & "\Media\Windows XP-Ping.wav")
EndIf
If $7 = 1 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\Media win 7\Windows Ding.wav", @WindowsDir & "\Media\Windows Ding.wav")
EndIf
Exit
EndIf
$title = WinGetTitle("") ;=== Files installieren
If $title <> "Program Manager" And $title <> "" Then
$Text = ""
If $XP = 1 Then
FileInstall("D:\WINDOWS\Media\Windows XP-Ping.wav", @WindowsDir & "\Media\Windows XP-Ping.wav")
EndIf
If $7 = 1 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\Media win 7\Windows Ding.wav", @WindowsDir & "\Media\Windows Ding.wav")
EndIf
EndIf
If WinActive("Program Manager") Then ;=== MAIN
If $TrayTip = 1 And $TrayIcon = 0 And $Text <> "" Then
Opt("TrayIconHide", 0)
EndIf
If $TrayTip = 1 Then
TrayTip("Order", $Text, 4)
EndIf
If FileExists(@WindowsDir & "\Media\Windows XP-Ping.wav") = 1 And $XP = 1 Then
FileDelete(@WindowsDir & "\Media\Windows XP-Ping.wav")
EndIf
If FileExists(@WindowsDir & "\Media\Windows XP-Ping.wav") = 1 And $7 = 1 Then
FileDelete(@WindowsDir & "\Media\Windows Ding.wav")
EndIf
#Region Tasten
#Region normale Tasten
If _IsPressed("E2") Then
While _IsPressed("E2")
Sleep(2)
WEnd
$Text = $Text & "<"
EndIf
If _IsPressed("BB") Then
While _IsPressed("BB")
Sleep(2)
WEnd
$Text = $Text & "+"
EndIf
If _IsPressed("DC") Then
While _IsPressed("DC")
Sleep(2)
WEnd
$Text = $Text & "^"
EndIf
If _IsPressed("BF") Then
While _IsPressed("BF")
Sleep(2)
WEnd
$Text = $Text & "#"
EndIf
If _IsPressed("DE") Then
While _IsPressed("DE")
Sleep(2)
WEnd
$Text = $Text & "ä"
EndIf
If _IsPressed("C0") Then
While _IsPressed("C0")
Sleep(2)
WEnd
$Text = $Text & "ö"
EndIf
If _IsPressed("BA") Then
While _IsPressed("BA")
Sleep(2)
WEnd
$Text = $Text & "ü"
EndIf
If _IsPressed("BC") Then
While _IsPressed("BC")
Sleep(2)
WEnd
$Text = $Text & ","
EndIf
If _IsPressed("BD") Then
While _IsPressed("BD")
Sleep(2)
WEnd
$Text = $Text & "-"
EndIf
If _IsPressed("BE") Then
While _IsPressed("BE")
Sleep(2)
WEnd
$Text = $Text & "."
EndIf
If _IsPressed("DB") Then
While _IsPressed("DB")
Sleep(2)
WEnd
$Text = $Text & "ß"
EndIf
If _IsPressed(20) Then
While _IsPressed(20)
Sleep(2)
WEnd
$Text = $Text & " "
EndIf
If _IsPressed(30) Then
While _IsPressed(30)
Sleep(2)
WEnd
$Text = $Text & "0"
EndIf
If _IsPressed(31) Then
While _IsPressed(31)
Sleep(2)
WEnd
$Text = $Text & "1"
EndIf
If _IsPressed(32) Then
While _IsPressed(32)
Sleep(2)
WEnd
$Text = $Text & "2"
EndIf
If _IsPressed(33) Then
While _IsPressed(33)
Sleep(2)
WEnd
$Text = $Text & "3"
EndIf
If _IsPressed(34) Then
While _IsPressed(34)
Sleep(2)
WEnd
$Text = $Text & "4"
EndIf
If _IsPressed(35) Then
While _IsPressed(35)
Sleep(2)
WEnd
$Text = $Text & "5"
EndIf
If _IsPressed(36) Then
While _IsPressed(36)
Sleep(2)
WEnd
$Text = $Text & "6"
EndIf
If _IsPressed(37) Then
While _IsPressed(37)
Sleep(2)
WEnd
$Text = $Text & "7"
EndIf
If _IsPressed(38) Then
While _IsPressed(38)
Sleep(2)
WEnd
$Text = $Text & "8"
EndIf
If _IsPressed(39) Then
While _IsPressed(39)
Sleep(2)
WEnd
$Text = $Text & "9"
EndIf
If _IsPressed(41) Then
While _IsPressed(41)
Sleep(2)
WEnd
$Text = $Text & "a"
EndIf
If _IsPressed(42) Then
While _IsPressed(42)
Sleep(2)
WEnd
$Text = $Text & "b"
EndIf
If _IsPressed(43) Then
While _IsPressed(43)
Sleep(2)
WEnd
$Text = $Text & "c"
EndIf
If _IsPressed(44) Then
While _IsPressed(44)
Sleep(2)
WEnd
$Text = $Text & "d"
EndIf
If _IsPressed(45) Then
While _IsPressed(45)
Sleep(2)
WEnd
$Text = $Text & "e"
EndIf
If _IsPressed(46) Then
While _IsPressed(46)
Sleep(2)
WEnd
$Text = $Text & "f"
EndIf
If _IsPressed(47) Then
While _IsPressed(47)
Sleep(2)
WEnd
$Text = $Text & "g"
EndIf
If _IsPressed(48) Then
While _IsPressed(48)
Sleep(2)
WEnd
$Text = $Text & "h"
EndIf
If _IsPressed(49) Then
While _IsPressed(49)
Sleep(2)
WEnd
$Text = $Text & "i"
EndIf
If _IsPressed("4A") Then
While _IsPressed("4A")
Sleep(2)
WEnd
$Text = $Text & "j"
EndIf
If _IsPressed("4B") Then
While _IsPressed("4B")
Sleep(2)
WEnd
$Text = $Text & "k"
EndIf
If _IsPressed("4C") Then
While _IsPressed("4C")
Sleep(2)
WEnd
$Text = $Text & "l"
EndIf
If _IsPressed("4D") Then
While _IsPressed("4D")
Sleep(2)
WEnd
$Text = $Text & "m"
EndIf
If _IsPressed("4E") Then
While _IsPressed("4E")
Sleep(2)
WEnd
$Text = $Text & "n"
EndIf
If _IsPressed("4F") Then
While _IsPressed("4F")
Sleep(2)
WEnd
$Text = $Text & "o"
EndIf
If _IsPressed(50) Then
While _IsPressed(50)
Sleep(2)
WEnd
$Text = $Text & "p"
EndIf
If _IsPressed(51) Then
While _IsPressed(51)
Sleep(2)
WEnd
$Text = $Text & "q"
EndIf
If _IsPressed(52) Then
While _IsPressed(52)
Sleep(2)
WEnd
$Text = $Text & "r"
EndIf
If _IsPressed(53) Then
While _IsPressed(53)
Sleep(2)
WEnd
$Text = $Text & "s"
EndIf
If _IsPressed(54) Then
While _IsPressed(54)
Sleep(2)
WEnd
$Text = $Text & "t"
EndIf
If _IsPressed(55) Then
While _IsPressed(55)
Sleep(2)
WEnd
$Text = $Text & "u"
EndIf
If _IsPressed(56) Then
While _IsPressed(56)
Sleep(2)
WEnd
$Text = $Text & "v"
EndIf
If _IsPressed(57) Then
While _IsPressed(57)
Sleep(2)
WEnd
$Text = $Text & "w"
EndIf
If _IsPressed(58) Then
While _IsPressed(58)
Sleep(2)
WEnd
$Text = $Text & "x"
EndIf
If _IsPressed(59) Then
While _IsPressed(59)
Sleep(2)
WEnd
$Text = $Text & "y"
EndIf
If _IsPressed("5A") Then
While _IsPressed("5A")
Sleep(2)
WEnd
$Text = $Text & "z"
EndIf
#EndRegion normale Tasten
#Region Num Tasten
If _IsPressed(60) Then
While _IsPressed(60)
Sleep(2)
WEnd
_Num0()
EndIf
If _IsPressed(61) Then
While _IsPressed(61)
Sleep(2)
WEnd
_Num1()
EndIf
If _IsPressed(62) Then
While _IsPressed(62)
Sleep(2)
WEnd
_Num2()
EndIf
If _IsPressed(63) Then
While _IsPressed(63)
Sleep(2)
WEnd
_Num3()
EndIf
If _IsPressed(64) Then
While _IsPressed(64)
Sleep(2)
WEnd
_Num4()
EndIf
If _IsPressed(65) Then
While _IsPressed(65)
Sleep(2)
WEnd
_Num5()
EndIf
If _IsPressed(66) Then
While _IsPressed(66)
Sleep(2)
WEnd
_Num6()
EndIf
If _IsPressed(67) Then
While _IsPressed(67)
Sleep(2)
WEnd
_Num7()
EndIf
If _IsPressed(68) Then
While _IsPressed(68)
Sleep(2)
WEnd
_Num8()
EndIf
If _IsPressed(69) Then
While _IsPressed(69)
Sleep(2)
WEnd
_Num9()
EndIf
#EndRegion Num Tasten
#Region F Tasten
HotKeySet("{F1}", "_Reset")
HotKeySet("{F2}", "_F2")
HotKeySet("{F3}", "_F3")
HotKeySet("{F4}", "_F4")
HotKeySet("{F5}", "_F5")
HotKeySet("{F6}", "_F6")
HotKeySet("{F7}", "_F7")
HotKeySet("{F8}", "_F8")
HotKeySet("{F9}", "_F9")
HotKeySet("{F10}", "_F10")
HotKeySet("{F11}", "_F11")
HotKeySet("{F12}", "_F12")
;~ If _IsPressed(71) Then
;~ While _IsPressed(71)
;~ Sleep(2)
;~ WEnd
;~ _F2()
;~ EndIf
;~ If _IsPressed(72) Then
;~ While _IsPressed(72)
;~ Sleep(2)
;~ WEnd
;~ _F3()
;~ EndIf
;~ If _IsPressed(73) Then
;~ While _IsPressed(73)
;~ Sleep(2)
;~ WEnd
;~ _F4()
;~ EndIf
;~ If _IsPressed(74) Then
;~ While _IsPressed(74)
;~ Sleep(2)
;~ WEnd
;~ _F5()
;~ EndIf
;~ If _IsPressed(75) Then
;~ While _IsPressed(75)
;~ Sleep(2)
;~ WEnd
;~ _F6()
;~ EndIf
;~ If _IsPressed(76) Then
;~ While _IsPressed(76)
;~ Sleep(2)
;~ WEnd
;~ _F7()
;~ EndIf
;~ If _IsPressed(77) Then
;~ While _IsPressed(77)
;~ Sleep(2)
;~ WEnd
;~ _F8()
;~ EndIf
;~ If _IsPressed(78) Then
;~ While _IsPressed(78)
;~ Sleep(2)
;~ WEnd
;~ _F9()
;~ EndIf
;~ If _IsPressed(79) Then
;~ While _IsPressed(79)
;~ Sleep(2)
;~ WEnd
;~ _F10()
;~ EndIf
;~ If _IsPressed("7A") Then
;~ While _IsPressed("7A")
;~ Sleep(2)
;~ WEnd
;~ _F11()
;~ EndIf
;~ If _IsPressed("7B") Then
;~ While _IsPressed("7B")
;~ Sleep(2)
;~ WEnd
;~ _F12()
;~ EndIf
#EndRegion F Tasten
#EndRegion Tasten
For $i = 1 To $Befehle[0] ;=== Ausführen
If $Befehle[$i] = $Text Then
$IniPfad = IniRead($Pfad, $Befehle[$i], "Path", "")
ShellExecute($IniPfad)
$Text = ""
EndIf
Next
Else ;=== Hotkeys wieder freigeben
HotKeySet("{F1}")
HotKeySet("{F2}")
HotKeySet("{F3}")
HotKeySet("{F4}")
HotKeySet("{F5}")
HotKeySet("{F6}")
HotKeySet("{F7}")
HotKeySet("{F8}")
HotKeySet("{F9}")
HotKeySet("{F10}")
HotKeySet("{F11}")
HotKeySet("{F12}")
Sleep(150) ;=== Ressource
If $TrayIcon = 0 Then
Opt("TrayIconHide", 1)
EndIf
EndIf
WEndFunc _Befehle() ;=== Befehle auslesen
[/autoit] [autoit][/autoit] [autoit]
$Befehle = IniReadSectionNames($Pfad)
If @error Then
MsgBox(48, "Attention!", 'No "Orders.ini" was found in the installed directory; Program was shut down.')
Exit
EndIf
EndFunc ;==>_BefehleFunc _Settings() ;=== Settings auslesen
[/autoit] [autoit][/autoit] [autoit]
If FileExists(@ScriptDir & "\Settings.ini") = 1 Then
$Settings = IniReadSection(@ScriptDir & "\Settings.ini", "Settings")
If $Settings[1][1] = 0 Then
$TrayIcon = 0
Opt("TrayIconHide", 1)
Else
$TrayIcon = 1
EndIf
If $Settings[2][1] = 1 Then
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Autostarter", "REG_SZ", @ScriptFullPath)
Else
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Autostarter")
EndIf
If $Settings[3][1] = 1 Then
If FileExists(@ScriptDir & "\ExampelOrders.ini") = 0 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\ExampelOrders.ini", @ScriptDir & "\ExampelOrders.ini")
EndIf
EndIf
If $Settings[4][1] = 1 Then
$TrayTip = 1
Else
$TrayTip = 0
EndIf
$Update = $Settings[5][1]
If @error Then
MsgBox(64, "Attention!", "No Updatetime set!")
Else
If $Update = 0 Then
$Update = -1
Else
$Update = $Update * 1000
EndIf
EndIf
If $Settings[6][1] = 1 And FileExists(@ScriptDir & "\README.txt") = 0 Then
FileInstall("D:\Dokumente und Einstellungen\Fabian\Desktop\README.txt", @ScriptDir & "\README.txt")
EndIf
If $Settings[7][1] = "XP" Then
$XP = 1
EndIf
If $Settings[7][1] = "7" Then
$7 = 1
EndIf
EndIf
EndFunc ;==>_SettingsFunc _Reset()
[/autoit] [autoit][/autoit] [autoit]
$Text = ""
EndFunc ;==>_Reset
;== Num
Func _Num0()
$Command = '"Num0"'
_starten()
EndFunc ;==>_Num0
Func _Num1()
$Command = '"Num1"'
_starten()
EndFunc ;==>_Num1
Func _Num2()
$Command = '"Num2"'
_starten()
EndFunc ;==>_Num2
Func _Num3()
$Command = '"Num3"'
_starten()
EndFunc ;==>_Num3
Func _Num4()
$Command = '"Num4"'
_starten()
EndFunc ;==>_Num4
Func _Num5()
$Command = '"Num5"'
_starten()
EndFunc ;==>_Num5
Func _Num6()
$Command = '"Num6"'
_starten()
EndFunc ;==>_Num6
Func _Num7()
$Command = '"Num7"'
_starten()
EndFunc ;==>_Num7
Func _Num8()
$Command = '"Num8"'
_starten()
EndFunc ;==>_Num8
Func _Num9()
$Command = '"Num9"'
_starten()
EndFunc ;==>_Num9
;== F
Func _F2()
$Command = '"F2"'
_starten()
EndFunc ;==>_F2
Func _F3()
$Command = '"F3"'
_starten()
EndFunc ;==>_F3
Func _F4()
$Command = '"F4"'
_starten()
EndFunc ;==>_F4
Func _F5()
$Command = '"F5"'
_starten()
EndFunc ;==>_F5
Func _F6()
$Command = '"F6"'
_starten()
EndFunc ;==>_F6
Func _F7()
$Command = '"F7"'
_starten()
EndFunc ;==>_F7
Func _F8()
$Command = '"F8"'
_starten()
EndFunc ;==>_F8
Func _F9()
$Command = '"F9"'
_starten()
EndFunc ;==>_F9
Func _F10()
$Command = '"F10"'
_starten()
EndFunc ;==>_F10
Func _F11()
$Command = '"F11"'
_starten()
EndFunc ;==>_F11
Func _F12()
$Command = '"F12"'
_starten()
EndFunc ;==>_F12Func _starten() ;=== Schnellstarttasten starten
[/autoit]
For $i = 1 To $Befehle[0]
If $Befehle[$i] = $Command Then
$IniPfad = IniRead($Pfad, $Befehle[$i], "Path", "")
ShellExecute($IniPfad)
$Text = ""
EndIf
Next
EndFunc ;==>_startenBeispiel:
Spoiler anzeigen
[VLC]
Path=C:\Program files\VLC media player\vlc.exe --> To start Vlc-Player by tipping vlc on the Dektop
ATTENTION: Numblock Numbers are extra, if you write numbers (e.g. cod4) dont use them!
["Num5"]
Path=www.google.com --> Press Numblocknumber 5 to visit google.com with your default web browser
To use F2-F12 also write them in "" (e.g. "F2")
[Num1]
Path=C:\Program files\ --> To open the Program files directory by tipping num1 (NOT Numblock 1!!!)You can use all letters, all Numblock numbers and F2-F12.
If you press F1 or change to another Window the storage will be cleaned and ready for a new order.
AS a path you can also use weblinks, images, music files, videos, and much more
Here are some "extra" orders to call some general things:
Administrative Tools "::{D20EA4E1-3957-11d2-A40B-0C5020524153}"
Briefcase "::{85BBD920-42A0-1069-A2E4-08002B30309D}"
Control Panel "::{21EC2020-3AEA-1069-A2DD-08002b30309d}"
Fonts "::{D20EA4E1-3957-11d2-A40B-0C5020524152}"
History "::{FF393560-C2A7-11CF-BFF4-444553540000}"
Inbox "::{00020D75-0000-0000-C000-000000000046}"
Microsoft Network "::{00028B00-0000-0000-C000-000000000046}"
My Computer "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
My Documents "::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
My Network Places "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
Network Computers "::{1f4de370-d627-11d1-ba4f-00a0c91eedba}"
Network Connections "::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
Printers and Faxes "::{2227A280-3AEA-1069-A2DE-08002B30309D}"
Programs Folder "::{7be9d83c-a729-4d97-b5a7-1b7313c39e0a}"
Recycle Bin "::{645FF040-5081-101B-9F08-00AA002F954E}"
Scanners and Cameras "::{E211B736-43FD-11D1-9EFB-0000F8757FCD}"
Scheduled Tasks "::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"
Start Menu Folder "::{48e7caab-b918-4e58-a94d-505519c795dc}"
Temporary Internet Files "::{7BD29E00-76C1-11CF-9DD0-00A0C9034933}"
Web Folders "::{BDEADF00-C265-11d0-BCED-00A0C90AB50F}"Damit kannst du dann auch z.B. Links öffnen lassen, weil es nicht mit Run, sondern Shellexecute läuft.
Viele Grüße Aquaplant//EDIT:
Achja, das Readme:Spoiler anzeigen
\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>This is Version 1.15[Alpha]<
/\/\/\/\/\/\/\/\/\/\/\/\/\/\Before you can use this program you have to create "Orders.ini" in the directory, where the program usually
is running. How do you structure this file please look up in the "ExampleOrders.ini", which is already created
in this directory.
====================================================================================================================
There is also a file called "Settings.ini". In this you can configurate some things:
TrayIcon=1 ;shows the program icon in your taskbar (generally at the bottom right) 0=disable
StartWithWindows=1 ;starts the program automatically with Windows 0=disable
InstallExampleINI=1 ;to install the "ExampleOrders.ini" if you wanna delete this file you have to set 0 too
TrayTip=1 ;this shows a tray tip with the text you already wrote to your desktop
Updatetime(seconds)=300 ;in this case: every 5 minutes the running program checks if there are new orders & settings
If you set 0 sec there will be NO update
InstallREADME=1 ;look @ InstallExampleINI
Windows=XP ;you can set "XP", "Vista", "7" or "other"
====================================================================================================================
By disabling the tray icon but activating the tray tip, the tray icon will be shown for the time you are tipping.If you made a mistake by writing an order press F1 and start again (this clears the memory).
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IMPORTANT:
The program is for Windows XP, I'm sure that it will do its job with Vista and Win7 as well but I couldn't test it
on this operating system. There might are some trouble!
I don't take any responsible for using this program or damge that may cause!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Und die Settings.ini sieht so aus:Spoiler anzeigen
[Settings]
TrayIcon=1
StartWithWindows=1
InstallExampleINI=0
TrayTip=1
Updatetime(seconds)=150
InstallREADME=0
Windows=XP -
Ja danke hatte es jetzt auch selbst hinbekommen mit Shellexecute; ich hing irgendwie bei Fileopen :pinch:
-
Irgendwie stecke ich grad fest ... Wie kann ich die PDF Datei öffnen um Str+a zu drücken?
-
Hey danke, hat geklappt

Wieso geht das denn nicht mit Global? Ich hatte sogar vorher einmal das Array "zerstört", indem ich es mit einem String deklariert hatte -
Hallo,
ich habe folgendes:
[autoit]$aNKo2 = StringSplit($NKo2, " ")
[/autoit]
If $aNKo2[0] <> 3 Then
Global $aNKo2[4]
$aNko2[0] = 0
$aNko2[1] = Random(0, 99)
$aNKo2[2] = Random(0, 99)
$aNKo2[3] = Random(0, 999)
EndIf
Falls das erste Array nicht aus 3 Elementen besteht soll es neu gemacht werden. Egal wie ich es jetzt drehe oder wende kommt der Fehler:
==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:
$aNKo2[2] = Random(0, 99)
^ ERRORKann mir einer helfen?
Dankeschön
Aquaplant -
Danke, dann werd ich das wohl mit dem Clipboard machen, das Fenster kann ich ja dann unsichtbar öffnen.
Vielen Dank
Aquaplant -
Hi @ all,
ich habe mehrere Tabellen in einem PDF Dokument die ich gerne automatisch in Excel schreiben würde. Ich weiß nur nicht wie ich sie aus dem PFD Dokument herausbekomme? Kann man das irgendwie einlesen, dass man die Wörter erhält?
Leider kann ich die Datei nicht anhängen, da sie vertrauliche Informationen enthält, aber vielleicht hat jemand ja zufällig ein Beispiel zur Hand.Viele Grüße
Aquaplant -
-
-
Ich hab es bei mir damals mit "|" ersetzt. Das Zeichen verwendet so gut wie keiner und man kann nachher den Text mit Stringsplit wieder zusammenfügen.
Mit Stringreplace (seh ich jetzt zum ersten Mal^^) ist es natürlich noch eine viel edlere Lösung, da man sich die For-Schleife erspart.