AutoHotkey Community

It is currently May 27th, 2012, 5:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: March 10th, 2010, 5:58 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
http://normandlamoureux.com/k-html/index.html

I want to use this but i can't login as a administrator . is there a way to use?

Autohotkey works work on my PC but K-HTML not


Last edited by jitendravyas on March 15th, 2010, 7:03 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:20 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
Download the source code! 4 files:k-html.ico .ini and .ahk and remplacement.txt. Seems to be plain AHK.

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:22 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
i downloaded source and clicked on autohotkey.exe , but still asking for user rights.

---------------------------
AutoHotkey.ahk
---------------------------
Could not create file, perhaps because the current directory is read-only or has insufficient permissions.
---------------------------
OK
---------------------------


Autohotkey by default add sample file in My documents which is not writable. how to change path my documents to c> my documents to d> khtml


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:40 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
If you have not run a script before, I suggest that you download the AutoHotkey Installer from: http://www.autohotkey.com/download/
and read the tutorial: http://www.autohotkey.com/docs/Tutorial.htm.

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 6:44 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
i'm using AHK perfectly since 6-7 month . but this software not workingoon guest account . i think it beacuse of GUI . how to disable gui functionality and use its script as a simple script.

see scrren what is asking by windows when i double click on exe of K-HTML

Image

[/img]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 7:09 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
http://www.autohotkey.com/forum/viewtop ... 345#241345
its more likely UAC interfering

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Last edited by tank on March 14th, 2010, 7:11 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 7:10 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
What happens when you run the k-html.ahk script (one of the 4 files; see previous post)?

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 7:15 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
this screen

Image

and after clicking on "yes"

this

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 7:59 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
So you see the k-html.ahk file in Explorer, then you double click on it and it tells you that the file does not exist... I am baffled... Any luck with Tank's suggested solution?.
If I understood correctly what Tank describes, none of the files in that folder can be edited and no scripts in that folder will run. What about moving the k-html.ahk and k-html.ico to another folder and double clicking the .ahk from there?

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 8:07 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
BTW, the script runs fine on my system (Vista).

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 8:18 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
Quote:
BTW, the script runs fine on my system (Vista).


Are you in Guest login?

I moved k-html.ahk and k-html.ico to another folder which is writable then getting same old screen again

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 9:35 am 
Offline

Joined: February 27th, 2009, 9:11 am
Posts: 693
Location: Burbank, California
Ok, I created a Guest account and tried to run k-html.ahk w/o admin writes. It did not run! Funny flickering, as if the script repeatedly relaunches itself.
The k-html.ahk script contains the following lines:
Code:
if not A_IsAdmin
{
   DllCall("shell32\ShellExecuteA", uint, 0, str, "RunAs", str, A_AhkPath
      , str, """" . A_ScriptFullPath . """", str, A_WorkingDir, int, 1)
   ExitApp
}

which, according to the help file (http://www.autohotkey.com/docs/Variables.htm#BuiltIn), is to allow the script to run w/o admin privileges...?? I do not know what these few lines do (maybe someone else wish to explain). However, after commenting the lines out, the script seems to run (although I did spend much time with it) :shock:
The following thread discusses the topic and provides alternatives:
http://www.autohotkey.com/forum/viewtop ... llexecutea

_________________
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom" but let's start to get the data...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 9:42 am 
Offline

Joined: March 6th, 2010, 9:26 am
Posts: 15
Location: India
i commented this part .it's working now . great thnaks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 9:45 am 
this should help:

Code:
/*
if not A_IsAdmin
{
   DllCall("shell32\ShellExecuteA", uint, 0, str, "RunAs", str, A_AhkPath
      , str, """" . A_ScriptFullPath . """", str, A_WorkingDir, int, 1)
   ExitApp
}
*/


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], dra, HotkeyStick, mrhobbeys, rbrtryn, XstatyK and 60 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group