AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

q about searchURL and var's

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Cereal



Joined: 17 Mar 2007
Posts: 45
Location: San Antonio, TX

PostPosted: Thu Mar 29, 2007 2:53 pm    Post subject: q about searchURL and var's Reply with quote

IM trying to send the user name in %smterm% and its working but for some reason its putting it at the end as well and ideas why?
Code:
If ssUserID = 1
      searchURL = https://support.centurytel.net/supporttools/index.cfm?action=ensemble_lookup&customeruserid=%smterm%&requesttimeout=200
   
Back to top
View user's profile Send private message AIM Address
BoBo
Guest





PostPosted: Thu Mar 29, 2007 3:04 pm    Post subject: Reply with quote

Quote:
its putting it at the end
Of what? The world? Can't see anything like that, even at your sample 'code'. Can you be more specific and/or provide some more code? Thx.
Back to top
Cereal



Joined: 17 Mar 2007
Posts: 45
Location: San Antonio, TX

PostPosted: Thu Mar 29, 2007 3:22 pm    Post subject: Reply with quote

the var is %smterm% which the user puts into a serach field then hits search and what not, brings up ie find and replaces the var but instead of getting
support.centurytel.net/supporttools/index.cfm?action=ensemble_lookup&customeruserid=USERNAME&requesttimeout=200
i get
support.centurytel.net/supporttools/index.cfm?action=ensemble_lookup&customeruserid=USERNAME&requesttimeout=200USERNAME

Code:

{
     If ssUserID = 1
      searchURL = https://support.centurytel.net/supporttools/index.cfm?action=ensemble_lookup&customeruserid=%smterm%&requesttimeout=200
    


         If ssPHONE = 1
         searchURL = http://atom.x25.net/tracker/gobetween.plx?searchby=phone&submit=Search&looky=
}
{
          If ssLNAME = 1
         searchURL = http://atom.x25.net/tracker/gobetween.plx?searchby=lname&submit=Search&looky=
}
{
          If ssTICKET = 1
         searchURL = http://atom.x25.net/tracker/gobetween.plx?searchby=ticket&submit=Search&looky=
}
Back to top
View user's profile Send private message AIM Address
jonny



Joined: 13 Nov 2004
Posts: 2951
Location: Minnesota

PostPosted: Fri Mar 30, 2007 1:32 am    Post subject: Reply with quote

There's nothing there that would cause that problem. There's most likely something else further on in the code that's concatenating it to searchURL.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group