Search found 253 matches

by Peter2
25 Feb 2016, 15:54
Forum: Ask For Help
Topic: "FileMoveDir" with Admin-Rights
Replies: 4
Views: 1295

"FileMoveDir" with Admin-Rights

I use "FileMoveDir" to rename a folder. Sometimes I got an error message, and as I tried to rename it with Explorer, I got the wellknown message "You need Admin-Rights to rename this folder. Do you want to continue? Continue / Skip / Cancel" Continue did the job, without asking for username and pass...
by Peter2
24 Feb 2016, 12:30
Forum: Ask For Help
Topic: Fit controls to resized /maximized window
Replies: 3
Views: 793

Re: Fit controls to resized /maximized window

Thanks - looks interesting.

But this says: there is no build-in feature in AHK, right?
by Peter2
24 Feb 2016, 11:19
Forum: Ask For Help
Topic: Fit controls to resized /maximized window
Replies: 3
Views: 793

Fit controls to resized /maximized window

It seems that I missed the basic feature to dynamically fit the size of controls to the increased size of the windows. If I increase the GUI-window, the controls should follow the size (in another language I can defined the right border of control depended on the right border of windows). If I maxim...
by Peter2
21 Feb 2016, 14:40
Forum: Ask For Help
Topic: Simple 2D-Point graph / diagram?
Replies: 5
Views: 1140

Re: Simple 2D-Point graph / diagram?

Yes, I know - thanks. I meant "90% of my work is already done ...
by Peter2
21 Feb 2016, 13:45
Forum: Ask For Help
Topic: Simple 2D-Point graph / diagram?
Replies: 5
Views: 1140

Re: Simple 2D-Point graph / diagram?

Thanks, looks interesting - 90% already done?
by Peter2
21 Feb 2016, 12:10
Forum: Ask For Help
Topic: Simple 2D-Point graph / diagram?
Replies: 5
Views: 1140

Simple 2D-Point graph / diagram?

Here is a screenshot of a simple graph: http://t7.pixhost.org/thumbs/67/31586547_zwischenablage-1.jpg X and y values, from 1 - 10, no decimals, minimal graph annotations - only values, only simple points, no legend.. I found some (too) powerful graph functions here; does someone knows a simple, (nea...
by Peter2
20 Feb 2016, 13:32
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

Perfect. Thanks.
I hope other beginners will benefit too from this detailed thread.
by Peter2
19 Feb 2016, 18:13
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

I mentioned the "ListView_2.ahk" from the help file.
It does not use Gui, new, and this is why is can handle the menu thread without Gui, .... Default ...
Right?
by Peter2
19 Feb 2016, 09:02
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

I replaced

Code: Select all

Gui, new,+HwndBundleList,Bundle Switcher
with
Gui, new,,Bundle Switcher
and thought that without a special name it would be the "default-GUI"
by Peter2
19 Feb 2016, 05:16
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

just me wrote:It must be done within the menu labels:...
:thumbup: Thanks a lot!

BTW: I tried also to remove the "name definition" and thought that the GUI will be "Default", but it did not work either - only with your code.
by Peter2
19 Feb 2016, 03:47
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

just me

thanks. I tried now to
a) add Gui, %BundleList%:Default in different placers and
b) removed the name of the GUI

but nothing changed. Is it possible that you modify my code above that it is working (or tell me exactly where I have to change what?).

Thanks in advance
by Peter2
18 Feb 2016, 18:08
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

So, here is the core of the code. It creates a listview, fills it with two lines and does something with double-click. With the context-menu (right-click) I want to extract the value of the clicked line - but I get nothing. Certainly I missed as usual a dot or a comma or something else ... #SingleIn...
by Peter2
18 Feb 2016, 17:04
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

Re: LV_GetNext(0, "F") returns always 0

I have only one GUI with one List, but a) there is a loop which refreshes it sometimes (but the problem is before the refresh) b) I gave the GUI a name Gui, new,+HwndBundleList,Bundle Switcher Gui, Add, ListView, r20 w580 vMyListView gMyListView Grid, Icon|Name|Status|Description|Path|Picture Someth...
by Peter2
18 Feb 2016, 16:08
Forum: Ask For Help
Topic: LV_GetNext(0, "F") returns always 0
Replies: 14
Views: 2084

LV_GetNext(0, "F") returns always 0

I used the code "ListView_2.ahk" from helpfile to create a listview with doubleclick and context-menu. The list works, doubleclick too, and right-click shows the context-menu and invokes the sub-routine. The only problem is LV_GetNext(0, "F") returns always 0 Before I upload the code (where I broke ...
by Peter2
18 Feb 2016, 11:52
Forum: Ask For Help
Topic: Simple text extraction ....
Replies: 4
Views: 760

Re: Simple text extraction ....

In any AHK expression two quotes within a string yields a literal quote. https://autohotkey.com/docs/commands/_EscapeChar.htm#Remarks ... Thanks. I looked at the help of RegExMatch, where I could find no info about double quotes ...This is what I meant about using Instr / SubStr... It will take tim...
by Peter2
18 Feb 2016, 04:47
Forum: Ask For Help
Topic: (transient glitch) Private Messages on this board?
Replies: 2
Views: 614

Re: Private Messages on this board?

I just sent you a PM, and I can see it in the Outbox. My old messages are displayed in "Inbox" and in "Sent Messages".
by Peter2
18 Feb 2016, 02:55
Forum: Ask For Help
Topic: Loop, files and (Back)slashes
Replies: 2
Views: 506

Re: Loop, files and (Back)slashes

Thanks for your help.
So it can be said that "Loop, Files" handles the path in another way than "A_LoopFileDir"?
by Peter2
18 Feb 2016, 02:50
Forum: Ask For Help
Topic: Simple text extraction ....
Replies: 4
Views: 760

Re: Simple text extraction ....

It is (in large part) clear now - as usual after an explanation here in the forum :bravo: But I don't understand the searching of quotes: search for 'abc' -->> parameter "abc" search for 'Name="Inspector"' -->> parameter "Name=""Inspector""" It seems that the doubled quotes "" are not an "escaping",...
by Peter2
17 Feb 2016, 19:57
Forum: Ask For Help
Topic: Simple text extraction ....
Replies: 4
Views: 760

Simple text extraction ....

I'm lost in a simple text extraction between RegExMatch and Match-objects, but I'm sure it can be done with 2 lines. Thanks for help in Advance. I have simple strings, line by line, created with Fileread ProductType="Application" Name="Inspector" AppVersion="1.0.0" Description="Debugging tools" Prod...
by Peter2
17 Feb 2016, 19:03
Forum: Ask For Help
Topic: Loop, files and (Back)slashes
Replies: 2
Views: 506

Loop, files and (Back)slashes

I made a mistake with (back)slashes, and I'm curious why I get the results I got. I defined a folder, using slashes instead of backslashes: ziel1 := A_AppData . "/Autodesk/ApplicationPlugins/" In this folders, there are the subfolders "A.bundle", "B.bundle_paused" and "C" Then I looped the folder, t...

Go to advanced search