(CS3 JS) script runs differently from Scripts Panel vs. ESTK2
First things first: INDD CS3 / Javascript
I have a strange thing happening and am wondering if y'all have run into this as well. I have a fairly simple script (primarily just find/change queries). It works like a charm when running it from ESTK2; however, when running it from the scripts panel within INDD, it skips two of the find/change queries inexplicably. 90% of the script works the same, but there are two sections of the script that seem to just not fire.
And yes, I have made double-sure that I am running the same script and that the one I am running from ESTK2 and from INDD are the exact same, saved versions.
Is there a fundamental difference between running from the scripts panel and firing from ESTK2? I ran both on the same template, then undid each step-by-step, and it appears that both times the script ran the queries in the same order; however, when it hit a certain spot in the script, one version (the one fired from ESTK2) shows where the text was deleted, and the other looks like it did nothing.
Is this something that any of you have run across as well? If necessary, I can post the code; however, I figured at this point, I would just ask the general theoretical question of why there might be a difference.
Thanks!
Matt Hollowell
Thanks for the response Kasyan and Peter. I was beginning to feel like that lone person afflicted by some rare scripting illness. I am going to try and solve this later today. I am thinking maybe I need to target INDD with a statement or define an application specific variable or something to ensure that the script "knows" what it is supposed to be doing when run from the scripts panel. I am still confounded why it would run differently, and all I can think is that when it is run from ESTK2, it understands something inherently that needs to be specifically defined when run from the scripts panel.
The other strange thing is that 90% of the script works as expected; it's just two specific find/change arguments that seem to get skipped.
If I can figure out what is going on, I will post here, in case someone in the future runs across a similar problem.
Matt
Similar Messages
-
When I test my animation it runs differently from when I drag the timline
When I test my animation it runs differently from when I drag
the timline.
I have a mask with text under it and I reveal the text from
left to right with a rectangular mask. I then squish and then
desquish the test. In the movie it does none of this.Select the text field on the stage and in the properties
panel at the bottom of the screen you will see a small drop down
menu which will be displaying either static, input or dynamic. Just
change it to static OR if you NEED to use dynamic text then you
need to embed yopur font so select the text field and select embed
from the properties panel, then select the oprion you need from
there.
Hope this helps
Thanks Alan -
Script runs differently from ESTK and Scripts panel
Recently I was reported about a problem with one of my scripts, that packages ID documents: a guy wrote me that when he runs it from ESTK, script works fine, but when run from Scripts panel — creates empty folders, does nothing more but generates an error (there's an error handler in the script that logs errors into a text file):
Error: Invalid value for parameter 'versionComments' of event 'packageForPrint'. Expected String, but received TRUE.
It's strange, because I don't use this optional parameter in the script.
BTW, on my computers it works ok, both in ID and ESTK.
Does anybody encountered this problem? Any ideas on why this happens?
KasyanHe probably has his scriptPreferences version set to 5. To make your script foolproof, you should probably set the scriptPreferences yourself (and restore them when you are don to be nice...)
BTW, kAppVersion = parseFloat(app.version) is a more readable form for getting the version number...
Harbs -
Reference to control different from reference panel- controls[]
Hi, I get references to all my objects on front panel from the properties panle->controls[]. In my program I use an Event case and the reference to the contol passed from the Event Case is different fom the reference obtained by panel->controls[]. I need this to be the same since I want to use this reference to search for match in ref array from panel->controls[] get the array index of thet control
Do you have tabs\arrays\clusters?
The references from controls in those (and possibly other structures) are not returned when you use the Controls[] property.
You have to go over all the references and if any of them is one of these structures you need to cast it to its specific class and extract its Controls[] property to get to the controls in it. This needs to be done recursively until there are no more structures.
I seem to remember seeing a VI somewhere that did this (maybe OpenG?), but I can't seem to find it. Maybe someone else knows.
Try to take over the world! -
App running differently from N95 to 5800 Xpress
I downloaded the trapster app since i had it on my N95, to my 5800 Xpress, problem is the GPS (the blue circle that indicates where i'm located) keeps disappearing, and the sound files from the app only play half way, then abruptly stop, however it still works perfectly on my N95, is there something I need to update on the 5800 ? I just got it.
The problem is that the app isn't optimised for the 5800xm. Many S60v3 apps will work on the 5800xm but not all will run perfectly.
Contact the makers of the app and ask them if they have a newer version thats fully compatible with S60v5 phones like the 5800xm. -
VBScript Runs Correctly From Command Prompt, But Not From SQL Server Agent Job
I'm trying to run this script on my local machine to do some post-batch cleanup and it doesn't run correctly from the scheduled job (or when I invoke the job).
Here's the script in question:
Option Explicit
Const filePath = "C:\Documents and Settings\jmunn\My Documents\Visual Studio 2008\Logs\"
Const holdDays = 6
main
Sub Main()
ClearArchive
End Sub
Sub ClearArchive()
Dim fso 'As Scripting.FileSystemObject
Dim fld 'As Scripting.Folder
Dim f 'As Scripting.File
Dim delLogName, delLogOut, delCtr
Set fso = CreateObject("Scripting.FileSystemObject")
Set fld = fso.GetFolder(filePath)
delLogName = filePath & "Nightly Backup - Backup Logs Deleted" & ".txt"
Set delLogOut = fso.CreateTextFile(delLogName, True)
delLogOut.WriteLine(delLogName)
delLogOut.WriteLine("")
delLogOut.WriteLine("-- The following log files were deleted on " & DateValue(Now()) & " at " & TimeValue(Now()))
delLogOut.WriteLine("")
delCtr = 0
For Each f In fld.Files
If Left(f.Name, 48) = "Nightly Backup - SQL Server Databases_Subplan_1_" And Right(LCase(f.Name), 4) = ".txt" Then
If DateDiff("d", f.DateCreated, Date()) > holdDays Then
delLogOut.WriteLine(f.Name)
fso.DeleteFile f, True
delCtr = delCtr + 1
End If
End If
Next
If delCtr = 0 Then
delLogOut.WriteLine("No log files were deleted this run...")
End If
Set fld = Nothing
Set fso = Nothing
delLogOut.Close
End Sub
If I put the script in its own file and run it from the command prompt, it runs just fine. If the script runs from the SQL Server Agent job, the for-loop will delete the files correctly, but the filenames
do not get written to the deletion log file and the counter does not get incremented, so according to the job log, nothing was deleted. Why does the script run differently from each invocation? It can't be a permission thing, the service that logs in has full
access to the directory and the files do get deleted. Any ideas out there?
Between this and other outstanding issues, I'm quickly losing faith in SQL Server. >=o(
Thanks in advance for your thoughts!
John
Version Info:
Microsoft SQL Server Management Studio 10.0.2531.0
Microsoft Analysis Services Client Tools 10.0.1600.22
Microsoft Data Access Components (MDAC) 3.85.1132
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 8.0.6001.18702
Microsoft .NET Framework 2.0.50727.3603
Operating System 5.1.2600
"A bus station is where a bus stops. A train station is where a train stops. On my desk I have a workstation..."Hi
jrmunn
i am trying to execute VB script to refresh my excel files.. using Vbscript file through SQL Agent job step.
i have copied VBscript in a file with the extension RefreshExcel.vbs kept in C:\RefreshExcel.vbs
Below is the script used inside the file (RefreshExcel.vbs)
//---Script code-----------------------------------------------------------------
Dim objXL, objWB
Dim FileLocation, FileName
On Error Resume Next
'lgnConn = 1
FileLocation = "F:\Reports\Reports"
Set objXL = CreateObject("Excel.Application")
objXL.DisplayAlerts = False
FileName = "ReportFile1.xlsx"
'MsgBox (FileLocation & "/" & FileName)
Set objWB = objXL.Workbooks.Open(FileLocation & "/" & FileName)
objWB.EnableConnections
objXL.CalculateUntilAsyncQueriesDone
objWB.RefreshAll
objXL.CalculateUntilAsyncQueriesDone
objWB.RefreshAll
objXL.CalculateUntilAsyncQueriesDone
objWB.Save
objWB.Close
Set objWS = Nothing
Set objWB = Nothing
objXL.Quit
Set objXL = Nothing
'MsgBox ("Refresh Completed")
---------------------------------------------------------------------------------------------------//Script complete
Now when i am trying to call this script file in SQL agent job step (as you mentioned )
as Type -cmdExec(OperatingSystem)
cscript "C:\RefreshExcel.vbs"
Issue: job step executed succesfully ,,but without performing any refresh on the excel. So i am not understandig what is going wrong. the same script file work when i am calling it through a batch file (window scheuler task). But it doesnt support
to run the file "when user is not logged in"
that is why i want to refresh my excel file through sql agent ,which can be scheduled to any time and cab be run as SQL agent credentials.
Can you please help me on this ...i have tried all the option but nothing working .. found hope by seeing your solution.
Thanks in advance.
Please help me. :-( -
Applescript duplicate command runs different as an Application than from Script Editor
Hi,
When I run my script from the Script Editor it copies (duplicates) only the new files from one folder to the other one, as desired. That is, when the file already exists in the destination folder, it just skips to the next one until they are all done.
However, if I save that very same script as an Application and run it, Finder throws up a dialog box for each item telling me that it already exists and asks if I'd like to Keep Both, Stop or Replace the file.
I can't figure out why it would run differently as a Script in Script Editor, to how it would run as an Application? Can somebody please tell me where I'm going wrong? Or perhaps there has been a change in the way Finder and Applescript operate the Duplicate command in Yosemite?
Interestingly, this problem has only started occurring since I updated to Yosemite. Before that, on Mavericks, I didn't have this problem! And I've also just tried the same thing on my other MacBook Pro that's running Mavericks and it works as intended.
Thanks so much!I think the replacing parameter may be broken. The first time I run this:
tell application "Finder"
make new folder at desktop with properties {name:"newf"} with replacing
end tell
I get a new folder. The second and subsequent times, I get this:
Unless I'm completely misunderstanding how to use the replacing parameter... -
Works in ExtendScript and not in Script Panel [JS, CS3]
I've adapted the FindChangeByList script to work with a particular page.
The trouble is a couple of text boxes need to be removed entirely.
So I've included the lines:-
var myDoc = app.activeDocument;
var myPageItems = myDoc.allPageItems;
for(var i=myPageItems.length-1;i>=0;i--)
if(myPageItems[i].constructor.name.toString()=="TextFrame")
if (myPageItems[i].contents == "WIN £50"||myPageItems[i].contents == "WIN £100") {
myPageItems[i].select();
myPageItems[i].remove();
... then the script gets down to doing the changes prescribed by the list
myObject = app.documents.item(0);
myFindChangeByList(myObject);
When I run the script in ExtendScript the boxes vanish as intended.
But when I run it from the InDesign scripts panel, the text frames stay where they are and their contents get changed along with the contents of the other text frames.
I've alt clicked the script in the scripts panel to make sure I've got the right script. It's one of those head-scratchy-am-I-going-dafter affairs.After testing the box deletion part in the scripts panel and thus checking that it wasn't the culprit, I saved the box deleter script and the specialised FindChangeFromList script in the InDesign Scripts folder (so they don't appear in the Scripts Panel) and wrote an Applescript which does two "do scripts". When run from the scripts panel this script does the job. Inelegant, I know, but ours is not to reason why, ours is to get it working.
-
RE: Running Escript from a UNIX script
Hi Doug,
Yu can try the following within escript:
(using execcmd to generate an escript script and include to execute the
generated escript)
1) startup escript from a ksh
2) get to the installedPartition level
3) setOutFile yourOutFile
4) showag
5) setOutFile
6) execcmd " yourAwkGrepScript.ksh yourOutFile "
7) include yourGeneratedEscript
yourAwkGrepScript.ksh analyses yourOutFile and finds
the ActivePartition level subagent with the hex number as part of that
subagent name
then generates a new escript script with a fixed name yourGeneratedEscript
I hope this idea will help you to solve your problem.
Evert Nooijen.
-----Original Message-----
From: [email protected]
[SMTP:[email protected]]
Sent: 27 January 1999 15:25
To: [email protected]
Subject: Running Escript from a UNIX script
I'm running a Korn Shell script that uses Escript to navigate down through
an applications sub agents to get to the LoadBalancingRouter agent. Now I
also need to get to the CommMgr agent in the same fashion. The problem I'm
having is that once I get to the InstalledPartition level , I need to get
to the ActivePartition level which requires the hex number as part of the
subagent name. I've figured out a way to get the subagent name using awk &
grep, but haven't been able to do it while I'm in escript. Basically I
need to find the subagent for the installed partition & pass that name to
the findsubagent command. Escript doesn't seem to understand grep or awk??
Does anyone have any ideas or have you done something like this before??
Doug Scurr
HealthPartners
8100 34th Avenue South
Minneapolis, MN 55440-1309
(612)883-7317
<[email protected]>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Escript is pretty dumb, in that it doesn't have any
looping or conditional expressions itself. I drive
escript from a korn shell script also.
Basically, I make two passes when doing things with
escript in cases like this. One pass I send the
commands to get the necessary info out of escript,
and redirect to a file.
Second pass, I awk/grep/whatever the info out of
the temporary file and use it to build another
set of escript commands to do the real work.
[email protected]
Unix Systems Administrator
Sentai Advanced Research Corp.
(780)423-3113 ext 42
-----Original Message-----
From: [email protected]
<[email protected]>
To: [email protected] <[email protected]>
Date: Wednesday, January 27, 1999 8:35 AM
Subject: Running Escript from a UNIX script
I'm running a Korn Shell script that uses Escript to navigate down through
an applications sub agents to get to the LoadBalancingRouter agent. Now I
also need to get to the CommMgr agent in the same fashion. The problem I'm
having is that once I get to the InstalledPartition level , I need to getto
the ActivePartition level which requires the hex number as part of the
subagent name. I've figured out a way to get the subagent name using awk &
grep, but haven't been able to do it while I'm in escript. Basically I need
to find the subagent for the installed partition & pass that name to the
findsubagent command. Escript doesn't seem to understand grep or awk??
Does anyone have any ideas or have you done something like this before??
Doug Scurr
HealthPartners
8100 34th Avenue South
Minneapolis, MN 55440-1309
(612)883-7317
[email protected] <[email protected]>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Packagemaker: need to run applescript from postflight script
Does anybody makes packages using Packagemaker? I need to run applescript from postflight shell script. Generally, when we need to run applescript or any application from shell script we write:
#!/bin/sh
open /Path/to/applscrpt.app
But what to do if all scripts (shell, app's) placed in MyPackage.pkg/Contents/Resources? What path I need to specify? This way:
#!/bin/sh
open ./Contents/Resources/applscrpt.app
doesn't work...The $1 argument that gets passed to your postflight script by the Installer should contain the full path to the package that's currently being installed. So something like this should work...
#!/bin/sh
open "$1/Contents/Resources/applscrpt.app"
Here is some additional info about args and environment variables available to your scripts.
Steve -
Running Escript from a UNIX script
I'm running a Korn Shell script that uses Escript to navigate down through
an applications sub agents to get to the LoadBalancingRouter agent. Now I
also need to get to the CommMgr agent in the same fashion. The problem I'm
having is that once I get to the InstalledPartition level , I need to get to
the ActivePartition level which requires the hex number as part of the
subagent name. I've figured out a way to get the subagent name using awk &
grep, but haven't been able to do it while I'm in escript. Basically I need
to find the subagent for the installed partition & pass that name to the
findsubagent command. Escript doesn't seem to understand grep or awk??
Does anyone have any ideas or have you done something like this before??
Doug Scurr
HealthPartners
8100 34th Avenue South
Minneapolis, MN 55440-1309
(612)883-7317
[email protected] <[email protected]>Escript is pretty dumb, in that it doesn't have any
looping or conditional expressions itself. I drive
escript from a korn shell script also.
Basically, I make two passes when doing things with
escript in cases like this. One pass I send the
commands to get the necessary info out of escript,
and redirect to a file.
Second pass, I awk/grep/whatever the info out of
the temporary file and use it to build another
set of escript commands to do the real work.
[email protected]
Unix Systems Administrator
Sentai Advanced Research Corp.
(780)423-3113 ext 42
-----Original Message-----
From: [email protected]
<[email protected]>
To: [email protected] <[email protected]>
Date: Wednesday, January 27, 1999 8:35 AM
Subject: Running Escript from a UNIX script
I'm running a Korn Shell script that uses Escript to navigate down through
an applications sub agents to get to the LoadBalancingRouter agent. Now I
also need to get to the CommMgr agent in the same fashion. The problem I'm
having is that once I get to the InstalledPartition level , I need to getto
the ActivePartition level which requires the hex number as part of the
subagent name. I've figured out a way to get the subagent name using awk &
grep, but haven't been able to do it while I'm in escript. Basically I need
to find the subagent for the installed partition & pass that name to the
findsubagent command. Escript doesn't seem to understand grep or awk??
Does anyone have any ideas or have you done something like this before??
Doug Scurr
HealthPartners
8100 34th Avenue South
Minneapolis, MN 55440-1309
(612)883-7317
[email protected] <[email protected]>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Running LV application from remote panel which measures FP through different LAN
My LabVIEW application is running in a PC and it takes measurements from the FieldPoint modules which are connected via the FP-1601 network module.
I want to view and execute the application from another PC using remote panel option. The master PC has two LAN connections, one seperate connection for the FieldPoint module and the second one to connect with other PCs.
But the application returns error while initializing the FP modules when executed from remote panel.
Will the application be able to communicate and take measurements from the FieldPoint module in this case? Please explain.
Thanks for the help and awaiting earlier response.
Thank you,
RajeswariIn principle this I believe this is a TCP/IP routing issue.
If your fieldpoint unit is connected to one card lets say
Card 01 Host 10.0.0.1 255.255.255.0 ---- Fieldpoint 10.0.0.2 255.255.255.0
Card 02 Host 168.95.0.1 255.255.0.0 ---- Lan 168.95.x.x 255.255.0.0
The routing in the host takes care of which card is used for which network segment.
My guess is that you have not seperated the network segments as shown above.
Is this correct ? -
CS4, script files are not showing in script panel
I dont ever use scripts but I did have one i downloaded to use for CS3. Its been a while but I thought I just dropped it into the Scripts folder and it would show up in the scripts panel in InDesign. I just put that same script in my new CS4 scripts folder and its not showing up. I even restarted ID to make sure and it still doesnt. Is there something im forgetting?
CS4 has a slightly different model.
In the Scripts folder, there is a folder called "Scripts Panel". For scripts to show within the Scripts panel in InDesign, place your scripts within this internal folder. -
Errors when trying to INSERT Dreamweaver CS3 ASP scripts into MySql
Greetings everyone,
I am hoping that someone can shed some light on an issue I have not been able to solve in the last few days. I have a website that I had built using Ultradev, then MX then CS3, using the default ASP scripts in dreamweaver and an odbc connection to an Access Database. Everything had been working fine for the last couple of years until recently where more people were visiting my site which resulted in the slowness because i was using access. I decided to move to a MySql database and that is when I ran into issues. I was able to solve most everything accept for one issue I am having. I was hoping it would be an easy transition by changing the ODBC connections but it has not been that easy. Any page I have with an INSERT command using the default Dreamweaver CS3 ASP script results in an error. Now I can query and delete and search with no problem...it is just the INSERT that is giving me issues. Here is just a general insertion script that CS3 does by default....
<%
If (CStr(Request("MM_insert")) = "form1")Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_adsdata_STRING
MM_editCmd.CommandText = "INSERT INTO commenthot (yeshot, userhot) VALUES (?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 2, 3, Request.Form("yeshotf")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 3, 30, Request.Form("useridf")) ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
End If
End If
%>
When I click to submit...the error i run into is...
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' mel)' at line 1
/fr/members/sexyoupasvote.asp, line 28
....Line 28 is the MM_editCmd.Execute. I notice if I put a single quotes around the ? next the the VALUE like this ('?', '?')...it does go through and the ? shows up in both fields as the data.
....If i put a single back quote around the column names like this (`yeshot`, `userhot`) VALUES (?, ?) I get this error and nothing gets inserted into the MySql.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' mel)' at line 1
/fr/members/sexyoupasvote.asp, line 28
...by seeing 'mel)' show up, I know it is at least passing the data to that field.
....when I do (`yeshot`, `userhot`) VALUES ('?', '?')...
it goes through and inserts ? ...instead of the real data I want to use...in this case ...the number 1 and Mel.
...if I do (yeshot, userhot) VALUES (?, '?')...
I get this error...
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
/fr/members/sexyoupasvote.asp, line 28
....any idea what to modify to make it insert the corect data? Has anyone experienced this? If I can get this fixed with just this page I can probablly fix the other pages that have teh same issue. Is there a special setting on the MySql that I should know about to allow data to be inserted? Any help would GREATLY appreciated!
Thank you!Thanks for your reply!
When it was in Access...the datatype was Text. I used a 3rd party software to convert Assess directly to my hosting MySql server. When I logged in to see the table in MySql, it is set to Varchar(3) for yeshot and Varchar(30) for userhot. There is also an extra field I used for the KEY called commentID which is set to int(11) and it is autonumbered. Under the Collation i have utf8_general_ci set on the yeshot and userhot field. Null is No on both and the Default is set to None and all 3 fields.
I have a form I am collecting that data from which is:
<% If (langname.Fields.Item("langname").Value)="FR" Then
response.write("OUI!")
else
response.write("YES!")
End if %>
<input name="yeshotf" type="radio" id="yeshotf" value="1" checked>
<span class="style10">
<input name="submit" type="submit" id="submit" value="VOTE!">
</span> -
<input name="yeshotf" type="radio" id="yeshotf" value="2">
<% If (langname.Fields.Item("langname").Value)="FR" Then
response.write("NON!")
else
response.write("NO!")
End if %>
<input name="useridf" type="hidden" id="useridf" value="<%=(hotornot.Fields.Item("membername").Value)%>">
<input type="hidden" name="MM_insert" value="form1">
<input type="hidden" name="hdwfail" id="hdwfail" value="sexyoupasvote.asp?langname=<%=(langname.Fields.Item("langname").Value)%>&membernam e=<%=(hotornot.Fields.Item("membername").Value)%>&hdwmsg=invalid">
</form>
....the form has 2 radio button and 1 hidden field where I collect the username. The radio value should either be a 1 or a 2 depending on the selection by the user. I also have a captha on the form but that does not seem the cause any problem since I am not collecting any data from it. Does this help? I left the yeshot field as Text but I can change that to Numeric data... again thanks for your assistance in helping me try to figure this out.
...The message I am getting now is:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]Unknown column 'Babe1' in 'field list'
/fr/members/sexyoupasvote.asp, line 28
....with this setting:
<%
If (CStr(Request("MM_insert")) = "form1") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_adsdata_STRING
MM_editCmd.CommandText = "INSERT INTO dsnrenms.commenthot (yeshot, userhot) VALUES (?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 3, Request.Form("yeshotf")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 30, Request.Form("useridf")) ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
End If
End If
%> -
Script Panel - Work in progress
Hi All,
Working on a Script Panel to make scripts simpler to run in illustrator.
This is a work in progress...
Looking for some people to help test and make suggestions.
at the moment this is a Windows only program... Sorry Mac users
and right now it is still an AHK file.
so I'm looking for people who already use AHK (AutoHotKey)
both files need to be saved in the same directory. would be best if they had their own folder.
Settings file needs to be manually updated at this point and will need the path to your desired script folder and the path to your illustrator updated for it to work.
once AHK file is running it will scan the script folder for scripts.
will also scan sub folders but only 1 deep, this way groups of scripts can be organized.
Window will appear center screen, just drag the panel to where you want it.
so far you can mouse click any script to run it.
it is also tied to the "Tilde" or "Back Tick" / "~" or "`" no shift needed.
This will make the window active and allow you keyboard access to the scripts. ie. "Tilde 24 Enter" will run script 24
I have plans for settings window so any variable such as paths, font etc. can be set from the program.
And also will make the sub folders collapsible for simpler viewing.
Can't wait for thoughts and suggestions.
http://qwertyfly.com/files/Script%20Menu/Bridgetalk is working.
now I'm having version issues. its running the script in CC, not CC2014.
tried:
bt.target = "illustrator"; //hoping this would use current active
bt.target = "illustrator-18"; //seen this used for CS versions but not CC+
bt.target = "illustrator-18.0"; //seen this used for CS versions but not CC+
bt.target = "illustrator-18.1.1"; //as displayed by alert(app.version);
bt.target = "illustrator-18.064"; //as shown in ESTK target application
Also a little worried about the bridgetalk loading the whole script to a variable.
is this going to increase resources? (maybe not but not sure how to check)
Maybe you are looking for
-
How can I transfer purchases from my iPod Touch to my computer?
How can you transfer things you have purchased using your iPod Touch into the iTunes on your computer?
-
[SSRS] Abnormal behavior for parameter usage in checking case within query of dataset
Details : Following error is displayed when I preview a report (SUR_EXPLORER-NG.rdl) in Microsoft Visual Studio: "An error occurred during local report processing. An error has occurred during local report processing. Cannot set the command text for
-
I have recently continued to have an "Error: 16" code when trying to load any of my Adobe CS5.5 Master Collection suite. Every time I try to use any of the applications within the Master collection and then the Adobe Application (installation softwar
-
Cannot create .pdf from web pages X Pro
Hmmm. I missing a trick here. Acrobat X Pro. Windows 7 64x. Create web pages from Chrome So I log into my New York Review of Books account as a Subscriber. I locate an article that is marked ' locked ', subscribers only - I view it as one entire pag
-
Max HD for Netra T1 AC/DC200?
I'm trying to find out the largest hard drive the Netra T1 AC/DC 200 will support. All the documentation I come across only lists the "official" sizes. I believe the connector is an 80-pin SCA. Thanks. Edited by: 838558 on Feb 21, 2011 3:55 PM Edited