Search found 858 matches

by Epialis
01 Nov 2023, 16:48
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

It's this code that is always putting the 1 and not incrementing. IF Number = ; if this number does not exist IniWrite, 1, %A_ScriptDir%\Data.ini, accounts ; initialize accounts Else ; write accounts new supplemented with the increment IniWrite,%accounts% "`n" ++Number, %A_ScriptDir%\Data.ini, accou...
by Epialis
01 Nov 2023, 16:08
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

something like this:

Code: Select all

[vehicles]
1=car
2-Bike
3=Motorcycle

[car]
key=car

[Bike]
key=Bike

[Motorcycle]
key=Motorcycle
I have the sections working, but can't get the auto increment numbers in the vehicle section up top.
by Epialis
01 Nov 2023, 15:09
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

An unusual way of using ini-files, but if you must have it, then: F1:: IniRead, Folders, %A_ScriptDir%\Data.ini, folders ; read folders IniDelete, %A_ScriptDir%\Data.ini, folders ; and delete it RegExMatch(Folders, "\d*$", Number) ; extract the last number IF Number = ; if this number does not exis...
by Epialis
01 Nov 2023, 13:31
Forum: Ask for Help (v1)
Topic: INI section to top?
Replies: 1
Views: 231

INI section to top?

Any idea how to move a section in an ini file to tne top?
by Epialis
01 Nov 2023, 01:59
Forum: Ask for Help (v1)
Topic: Recalling last number
Replies: 3
Views: 367

Re: Recalling last number

maybe something like this? IniRead, MyVar, %A_ScriptDir%\Data.ini, folders, LastNum MyVar := (MyVar=="ERROR") ? 1 : MyVar f1:: MyVar += 1 IniWrite, % MyVar, %A_ScriptDir%\Data.ini, folders, LastNum return Thank you.... been trying to figure out why it doesn't print out the lines like this: 1 2 3 4 ...
by Epialis
31 Oct 2023, 22:43
Forum: Ask for Help (v1)
Topic: Recalling last number
Replies: 3
Views: 367

Recalling last number

I am putting:

1
2
3
4
5

in my code. Is there a way to make it go to 6 the next time I run the code? Somehow either check the numbers existing, which hae looked into, or storing a value? Thank you!

Code: Select all

f1::

MyVar += 1
IniWrite, A%MyVar%, %A_ScriptDir%\Data.ini, folders

Return
ESC::ExitApp
by Epialis
31 Oct 2023, 20:37
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

okay, now I have this code, but can't figure out how to make it go backwards in an ini file.... f1:: ++number := 0 number IniWrite, %number%, %A_ScriptDir%\Data.ini, folders Return ESC::ExitApp instead of: 5 4 3 2 1 I could use it as 1 2 3 4 5 I've tried many different ways, but can't figiure it out...
by Epialis
31 Oct 2023, 12:19
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

Code: Select all

f1::IniWrite,% ++number := 0 number, %A_ScriptDir%\Data.ini, folders
ESC::ExitApp

This worked... anyway to reverse the order in the ini? U're awesome, thank you so much.
by Epialis
31 Oct 2023, 12:15
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Re: Incrementing Topic is solved

Rohwedder wrote:
31 Oct 2023, 12:12
Hallo,
try:

Code: Select all

number := 0

f1::

number := number + 1

IniWrite, %number%, %A_ScriptDir%\Data.ini, folders

ESC::ExitApp
Only does 1 and nothing else.. no increment
by Epialis
31 Oct 2023, 12:09
Forum: Ask for Help (v1)
Topic: Incrementing Topic is solved
Replies: 11
Views: 901

Incrementing Topic is solved

I have this code but it only goes to 2 and no higher. What is wrong here? f1:: number := 1 number := number + 1 IniWrite, %number%, %A_ScriptDir%\Data.ini, folders ESC::ExitApp I need it to write 1 on line one of Data.ini and then 2 on line 2 and 3 on line 3 and so on. Thanks for any help I've also ...
by Epialis
24 Aug 2023, 13:35
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

If you are seeing a message or error, post a screenshot. it won't let me screenshot, as soon as I push any buttons, it goes away. It's basically a tooltip and it does show username and email and it does paste, but gives ERROR when trying to paste the password. I've tried my own screenshot and windo...
by Epialis
24 Aug 2023, 13:26
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

If you are seeing a message or error, post a screenshot. it won't let me screenshot, as soon as I push any buttons, it goes away. It's basically a tooltip and it does show username and email and it does paste, but gives ERROR when trying to paste the password. I've tried my own screenshot and windo...
by Epialis
24 Aug 2023, 08:40
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

You have indicated neither what the script does, nor what it should do, so I will be forced to guess for both. You have referred to a variable called section . Is it defined? It is a password manager. Should be able to click on appropriate section and have it have the username, email, and "hidden" ...
by Epialis
24 Aug 2023, 07:42
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

Global ini := A_ScriptDir "\passwords.ini" IniRead website, % ini Gui Font, s10 Gui, +AlwaysOnTop Sort website, CL A| Gui Add, DDL , w400 Choose1 vsection, % StrReplace(website, "`n", "|" ) Gui Add, Button, wp vwebopen Default, Open gui, font, bold gui, add, edit, center vwebadd w400 hwndadd1 disab...
by Epialis
24 Aug 2023, 07:03
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

well it all works and pastes but it runs them altogether and password says ERROR. :headwall: :headwall: up all night trying to figure out, and sure so simple.
by Epialis
24 Aug 2023, 01:55
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

YAY, I have that part fixed.... now to work on the password and username thing... where they email, uername, and password show but the password just says password and not shows the actual password. Thank you. You had helped me with this at one time, but shows only the first one Global ini := A_Scrip...
by Epialis
24 Aug 2023, 01:29
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

mikeyww wrote:
24 Aug 2023, 01:18
Explained: viewtopic.php?p=528301#p528301

When you investigated the value of section in your script, what did you find?
msgbox says section := Website

When I click a link it just shows error/ when trying to open Chrome Page

The dropdown works fine.
by Epialis
24 Aug 2023, 01:16
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

There is no need to assume what a value is. You can use your script to identify the value for you. Show it, or investigate it. #Requires AutoHotkey v1.1.33 ;OPTIMIZATIONS START #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 #SingleInstance Force ListLines Off Process,...
by Epialis
24 Aug 2023, 01:13
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Re: Still INI issue

mikeyww wrote:
24 Aug 2023, 01:11
You have referred to a variable called section. Is it defined?
I thought section was the actual [names of sites], so I would assume not? :oops: :oops:
by Epialis
24 Aug 2023, 01:01
Forum: Ask for Help (v1)
Topic: Still INI issue
Replies: 14
Views: 651

Still INI issue

What is wrong with this? I just don't see it. Global ini := A_ScriptDir "\passwords.ini" Gui Submit IniRead website, % ini, % section, Url Run, Chrome.exe "%website%" INI FILE [yahoo] key=yahoo Url=yahoo.com Username=toes Email=toes Password=toewa [ahk] key=ahk Url=autohotkey.com Username=fjdk;lsa E...

Go to advanced search