Jump to content

Recommended Posts

Posted (edited)

when i simple try to run this

 
#include <ff.au3>

_FFStart("www.autoitscript.com")

 I saved the fille as ff.au3 not FF.au3)

than i get this error

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\joesoef pc\Desktop\autoit\firefox.au3" /UserParams    
+>08:45:06 Starting AutoIt3Wrapper v.2.1.4.4 SciTE v.3.3.7.0 ;  Keyboard:00020409  OS:WIN_81/  CPU:X64 OS:X64    Environment(Language:0413  Keyboard:00020409  OS:WIN_81/  CPU:X64 OS:X64)
>Running AU3Check (3.3.10.2)  from:C:\Program Files (x86)\AutoIt3
+>08:45:06 AU3Check ended.rc:0
>Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\joesoef pc\Desktop\autoit\firefox.au3"    
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
__FFStartProcess ==> General Error: Error reading registry entry for FireFox.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe
Error from RegRead: 1
_FFConnect: OS: WIN_81 WIN32_NT 9600 
_FFConnect: AutoIt: 3.3.10.2
_FFConnect: FF.au3: 0.6.0.1b-10
_FFConnect: IP: 127.0.0.1
_FFConnect: Port:   4242
_FFConnect: Delay:  2ms

and nothing happens

Edited by Arclite86
Posted

apparently the newer versions of Firefox write the registry "Current Version" different than expected by the UDF. as you can see there is an extra " (en-US)" string:

post-47848-0-21597600-1392294853_thumb.p

you better consult the dedicated UDF thread here:

'?do=embed' frameborder='0' data-embedContent>>

 

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

WinPose - simultaneous fluent move and resize

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

Magic Math - a math puzzle

Demos:

Title Bar Menu - click the window title to pop-up a menu

 

Posted

apparently the newer versions of Firefox write the registry "Current Version" different than expected by the UDF. as you can see there is an extra " (en-US)" string:

attachicon.gifff-au3-reg.png

you better consult the dedicated UDF thread here:

'?do=embed' frameborder='0' data-embedContent>>

I installed the AddOn MozRepl

and added the new firefox UDF 

but is still getting the same message

btw im using firefox version:27.0.1 

I dont know if that can be the problem?

Posted

what i did is follow the script into the error and check the registry keys. you can do the same on your system. the error pretty much says it all, check your registry where it states.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

WinPose - simultaneous fluent move and resize

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

Magic Math - a math puzzle

Demos:

Title Bar Menu - click the window title to pop-up a menu

 

Posted

what i did is follow the script into the error and check the registry keys. you can do the same on your system. the error pretty much says it all, check your registry where it states.

I am in the exact same map as you show in the image, could you tell me what i need to do now? i am very new with this all 

Posted

it seems to be an issue with the UDF itself. the UDF creator should be made aware of it. meanwhile you can modify the relevant section yourself in the UDF - i think everyone will be happy, and you'll get to learn how to debug a code :-)

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

WinPose - simultaneous fluent move and resize

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

Magic Math - a math puzzle

Demos:

Title Bar Menu - click the window title to pop-up a menu

 

Posted

it seems to be an issue with the UDF itself. the UDF creator should be made aware of it. meanwhile you can modify the relevant section yourself in the UDF - i think everyone will be happy, and you'll get to learn how to debug a code :-)

i already send the creator a message but it could take a long time before he will see it

could somebody help me please with debugging the udf file, i have no idea now to do this  

  • 1 year later...
Posted

Rất đơn giản . bạn hãy tìm tới dòng chữ : 

Local $ sFFExe = RegRead ($ sHKLM & "" & RegRead ($ sHKLM, "CurrentVersion") & "\ Main", "PathToExe")

Hãy thay thế ở dấu "" thành "\" .

Local $ sFFExe = RegRead ($ sHKLM & "\" & RegRead ($ sHKLM, "CurrentVersion") & "\ Main", "PathToExe")

 

 

https://autoit.de/index.php/Thread/46062-FFStartProcess-General-Error-Error-reading-registry-entry-for-FireFox/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...